![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <dynamic_font_size_label.h>
Signals | |
| void | clicked () |
Public Member Functions | |
| DynamicFontSizeLabel (QWidget *parent=NULL, Qt::WindowFlags f=Qt::WindowFlags()) | |
| ~DynamicFontSizeLabel () | |
| void | setTextColor (QColor color) |
| QColor | getTextColor () |
| void | setTextAndColor (const QString &text, QColor color=QColor::Invalid) |
| QSize | minimumSizeHint () const |
| QSize | sizeHint () const |
Static Public Member Functions | |
| static float | getWidgetMaximumFontSize (QWidget *widget, const QString &text) |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) |
| void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
| QColor | textColor |
|
explicit |
|
inline |
|
signal |
| QColor DynamicFontSizeLabel::getTextColor | ( | ) |
|
static |
| QSize DynamicFontSizeLabel::minimumSizeHint | ( | ) | const |
|
protected |
|
protected |
| void DynamicFontSizeLabel::setTextAndColor | ( | const QString & | text, |
| QColor | color = QColor::Invalid ) |
| void DynamicFontSizeLabel::setTextColor | ( | QColor | color | ) |
| QSize DynamicFontSizeLabel::sizeHint | ( | ) | const |
|
protected |