#pragma once #include "widgets/basewidget.hpp" #include #include 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