mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 23:12:14 -07:00
Background and buttons and styles.
This commit is contained in:
parent
aa5a6222fd
commit
7bed1dc908
5 changed files with 173 additions and 33 deletions
|
|
@ -17,6 +17,7 @@ public:
|
|||
QGroupBox *createUpdatesButtonGroup(const QString &title);
|
||||
QGroupBox *createNavigationButtonGroup(const QString &title);
|
||||
QGroupBox *createPlayButtonGroup(const QString &title);
|
||||
QPair<QColor, QColor> extractDominantColors(const QPixmap &pixmap);
|
||||
|
||||
public slots:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
|
@ -26,6 +27,7 @@ private:
|
|||
TabSupervisor *tabSupervisor;
|
||||
QPixmap background;
|
||||
QPixmap overlay;
|
||||
QPair<QColor, QColor> gradientColors;
|
||||
};
|
||||
|
||||
#endif // HOME_WIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue