mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 10:23:02 -07:00
Make HomeWidget buttons private
This commit is contained in:
parent
6929757095
commit
89ef10c862
1 changed files with 9 additions and 8 deletions
|
|
@ -26,14 +26,6 @@ public:
|
||||||
HomeWidget(QWidget *parent, TabSupervisor *tabSupervisor);
|
HomeWidget(QWidget *parent, TabSupervisor *tabSupervisor);
|
||||||
void updateRandomCard();
|
void updateRandomCard();
|
||||||
QPair<QColor, QColor> extractDominantColors(const QPixmap &pixmap);
|
QPair<QColor, QColor> extractDominantColors(const QPixmap &pixmap);
|
||||||
HomeStyledButton *connectButton;
|
|
||||||
HomeStyledButton *visualDeckEditorButton;
|
|
||||||
HomeStyledButton *visualDeckStorageButton;
|
|
||||||
HomeStyledButton *visualDatabaseDisplayButton;
|
|
||||||
HomeStyledButton *edhrecButton;
|
|
||||||
HomeStyledButton *archidektButton;
|
|
||||||
HomeStyledButton *replaybutton;
|
|
||||||
HomeStyledButton *exitButton;
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void paintEvent(QPaintEvent *event) override;
|
void paintEvent(QPaintEvent *event) override;
|
||||||
|
|
@ -57,6 +49,15 @@ private:
|
||||||
QPixmap overlay;
|
QPixmap overlay;
|
||||||
QPair<QColor, QColor> gradientColors;
|
QPair<QColor, QColor> gradientColors;
|
||||||
|
|
||||||
|
HomeStyledButton *connectButton;
|
||||||
|
HomeStyledButton *visualDeckEditorButton;
|
||||||
|
HomeStyledButton *visualDeckStorageButton;
|
||||||
|
HomeStyledButton *visualDatabaseDisplayButton;
|
||||||
|
HomeStyledButton *edhrecButton;
|
||||||
|
HomeStyledButton *archidektButton;
|
||||||
|
HomeStyledButton *replaybutton;
|
||||||
|
HomeStyledButton *exitButton;
|
||||||
|
|
||||||
void setRandomCard(ExactCard &newCard);
|
void setRandomCard(ExactCard &newCard);
|
||||||
void loadBackgroundSourceDeck();
|
void loadBackgroundSourceDeck();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue