mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
29 lines
561 B
C++
29 lines
561 B
C++
#pragma once
|
|
|
|
#include "widgets/basewidget.hpp"
|
|
|
|
#include <QPropertyAnimation>
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
namespace widgets {
|
|
|
|
class NotebookPageDropPreview : public BaseWidget
|
|
{
|
|
public:
|
|
NotebookPageDropPreview(BaseWidget *parent);
|
|
|
|
void setBounds(const QRect &rect);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *) override;
|
|
void hideEvent(QHideEvent *) override;
|
|
|
|
// QPropertyAnimation positionAnimation;
|
|
// QRect desiredGeometry;
|
|
// bool animate = false;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|