![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <phases_toolbar.h>
Public Slots | |
| void | setActivePhase (int phase) |
| void | triggerPhaseAction (int phase) |
Signals | |
| void | sendGameCommand (const ::google::protobuf::Message &command, int playerId) |
Public Member Functions | |
| PhasesToolbar (QGraphicsItem *parent=nullptr) | |
| QRectF | boundingRect () const override |
| void | retranslateUi () |
| void | setHeight (double _height) |
| double | getWidth () const |
| int | phaseCount () const |
| QString | getLongPhaseName (int phase) const |
Protected Member Functions | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override |
Private Slots | |
| void | phaseButtonClicked () |
| void | actNextTurn () |
| void | actUntapAll () |
| void | actDrawCard () |
Private Member Functions | |
| void | rearrangeButtons () |
Private Attributes | |
| QList< PhaseButton * > | buttonList |
| PhaseButton * | nextTurnButton |
| double | width |
| double | height |
| double | ySpacing |
| double | symbolSize |
Static Private Attributes | |
| static const int | buttonCount = 12 |
| static const int | spaceCount = 6 |
| static const double | marginSize = 3 |
|
explicit |
|
privateslot |
|
privateslot |
|
privateslot |
|
nodiscardoverride |
|
nodiscard |
|
inlinenodiscard |
|
overrideprotected |
|
privateslot |
|
inlinenodiscard |
|
private |
| void PhasesToolbar::retranslateUi | ( | ) |
|
signal |
|
slot |
| void PhasesToolbar::setHeight | ( | double | _height | ) |
|
slot |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |