mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
20 lines
409 B
C++
20 lines
409 B
C++
#ifndef COMICS_VIEW_TRANSITION_H
|
|
#define COMICS_VIEW_TRANSITION_H
|
|
|
|
#include <QtWidgets>
|
|
|
|
class ComicsViewTransition : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ComicsViewTransition(const QString &backgroundColor, QWidget *parent = nullptr);
|
|
QSize sizeHint();
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *);
|
|
QColor backgroundColor;
|
|
QPainter painter;
|
|
};
|
|
|
|
#endif // COMICS_VIEW_TRANSITION_H
|