mirror-chatterino2/notebookpagedroppreview.h

22 lines
421 B
C
Raw Normal View History

2017-01-01 02:30:42 +01:00
#ifndef NOTEBOOKPAGEDROPPREVIEW_H
#define NOTEBOOKPAGEDROPPREVIEW_H
#include <QPropertyAnimation>
2017-01-01 02:30:42 +01:00
#include <QWidget>
class NotebookPageDropPreview : public QWidget
{
public:
NotebookPageDropPreview(QWidget *parent);
void setBounds(const QRect &rect);
2017-01-01 02:30:42 +01:00
protected:
void paintEvent(QPaintEvent *);
2017-01-18 04:33:30 +01:00
QPropertyAnimation positionAnimation;
QRect desiredGeometry;
2017-01-01 02:30:42 +01:00
};
2017-01-11 18:52:09 +01:00
#endif // NOTEBOOKPAGEDROPPREVIEW_H