mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
22 lines
421 B
C++
22 lines
421 B
C++
#ifndef NOTEBOOKPAGEDROPPREVIEW_H
|
|
#define NOTEBOOKPAGEDROPPREVIEW_H
|
|
|
|
#include <QPropertyAnimation>
|
|
#include <QWidget>
|
|
|
|
class NotebookPageDropPreview : public QWidget
|
|
{
|
|
public:
|
|
NotebookPageDropPreview(QWidget *parent);
|
|
|
|
void setBounds(const QRect &rect);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *);
|
|
|
|
QPropertyAnimation positionAnimation;
|
|
QRect desiredGeometry;
|
|
};
|
|
|
|
#endif // NOTEBOOKPAGEDROPPREVIEW_H
|