mirror-chatterino2/notebookpagedroppreview.cpp

17 lines
350 B
C++
Raw Normal View History

2017-01-01 02:30:42 +01:00
#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);
}