![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <dynamic_font_size_push_button.h>
Public Member Functions | |
| DynamicFontSizePushButton (QWidget *parent=NULL) | |
| void | setTextColor (QColor color) |
| QColor | getTextColor () |
| void | setTextAndColor (const QString &text, QColor color=QColor::Invalid) |
| QSize | minimumSizeHint () const |
| QSize | sizeHint () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) |
Private Attributes | |
| QColor | textColor |
|
explicit |
| QColor DynamicFontSizePushButton::getTextColor | ( | ) |
| QSize DynamicFontSizePushButton::minimumSizeHint | ( | ) | const |
|
protected |
| void DynamicFontSizePushButton::setTextAndColor | ( | const QString & | text, |
| QColor | color = QColor::Invalid ) |
| void DynamicFontSizePushButton::setTextColor | ( | QColor | color | ) |
| QSize DynamicFontSizePushButton::sizeHint | ( | ) | const |
|
private |