![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <home_styled_button.h>
Public Slots | |
| void | paintEvent (QPaintEvent *event) override |
Public Member Functions | |
| HomeStyledButton (const QString &text, QPair< QColor, QColor > gradientColors, QWidget *parent=nullptr) | |
| void | updateStylesheet (const QPair< QColor, QColor > &colors) |
| QString | generateButtonStylesheet (const QPair< QColor, QColor > &colors) |
Private Attributes | |
| QPair< QColor, QColor > | gradientColors |
| HomeStyledButton::HomeStyledButton | ( | const QString & | text, |
| QPair< QColor, QColor > | gradientColors, | ||
| QWidget * | parent = nullptr ) |
| QString HomeStyledButton::generateButtonStylesheet | ( | const QPair< QColor, QColor > & | colors | ) |
|
overrideslot |
| void HomeStyledButton::updateStylesheet | ( | const QPair< QColor, QColor > & | colors | ) |
|
private |