![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <compact_push_button.h>
Public Member Functions | |
| CompactPushButton (QWidget *parent=nullptr) | |
| void | setButtonText (const QString &text) |
| void | setButtonIcon (const QIcon &icon) |
| void | setCompact (bool enabled) |
| int | expandedWidth () const |
| int | compactWidth () const |
Private Member Functions | |
| void | updateGeometryState () |
Private Attributes | |
| QString | fullText |
| bool | compact = false |
|
explicit |
| int CompactPushButton::compactWidth | ( | ) | const |
| int CompactPushButton::expandedWidth | ( | ) | const |
| void CompactPushButton::setButtonIcon | ( | const QIcon & | icon | ) |
| void CompactPushButton::setButtonText | ( | const QString & | text | ) |
| void CompactPushButton::setCompact | ( | bool | enabled | ) |
|
private |
|
private |
|
private |