![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <hand_counter.h>
Public Types | |
| enum | { Type = typeOther } |
Public Slots | |
| void | updateNumber () |
Signals | |
| void | showContextMenu (const QPoint &screenPos) |
Public Member Functions | |
| int | type () const override |
| HandCounter (QGraphicsItem *parent=nullptr) | |
| ~HandCounter () override | |
| QRectF | boundingRect () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| Public Member Functions inherited from AbstractGraphicsItem | |
| AbstractGraphicsItem (QGraphicsItem *parent=nullptr) | |
Protected Member Functions | |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| Protected Member Functions inherited from AbstractGraphicsItem | |
| void | paintNumberEllipse (int number, int radius, const QColor &color, int position, int count, QPainter *painter) |
Private Attributes | |
| int | number |
|
explicit |
|
override |
|
override |
|
overrideprotected |
|
override |
|
signal |
|
inlineoverride |
|
slot |
|
private |