mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 23:15:14 -04:00
Inject ComicsViewTransition background color as a string.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
730436c3e9
commit
53fcc52dd6
@ -7,11 +7,13 @@ class ComicsViewTransition : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ComicsViewTransition(QWidget *parent = nullptr);
|
||||
explicit ComicsViewTransition(const QString& backgroundColor, QWidget *parent = nullptr);
|
||||
QSize sizeHint();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *) override;
|
||||
void paintEvent(QPaintEvent *);
|
||||
QColor backgroundColor;
|
||||
QPainter painter;
|
||||
};
|
||||
|
||||
#endif // COMICS_VIEW_TRANSITION_H
|
||||
|
Reference in New Issue
Block a user