mirror-chatterino2/notebookpagedroppreview.h

22 lines
425 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 *);
QPropertyAnimation m_positionAnimation;
QRect m_desiredGeometry;
2017-01-01 02:30:42 +01:00
};
2017-01-11 18:52:09 +01:00
#endif // NOTEBOOKPAGEDROPPREVIEW_H