mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
17 lines
350 B
C++
17 lines
350 B
C++
|
#include "notebookpagedroppreview.h"
|
||
|
#include "QPainter"
|
||
|
#include "colorscheme.h"
|
||
|
|
||
|
NotebookPageDropPreview::NotebookPageDropPreview(QWidget *parent = 0)
|
||
|
: QWidget(parent)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void NotebookPageDropPreview::paintEvent(QPaintEvent *)
|
||
|
{
|
||
|
QPainter painter(this);
|
||
|
|
||
|
painter.fillRect(rect(), ColorScheme::getInstance().DropPreviewBackground);
|
||
|
}
|