#include <player_target.h>
|
| | PlayerCounter (Player *_player, int _id, const QString &_name, int _value, QGraphicsItem *parent=nullptr) |
| QRectF | boundingRect () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| | AbstractCounter (Player *_player, int _id, const QString &_name, bool _shownInCounterArea, int _value, bool _useNameForShortcut=false, QGraphicsItem *parent=nullptr) |
| | ~AbstractCounter () override |
| void | retranslateUi () |
| void | setValue (int _value) |
| void | setShortcutsActive () |
| void | setShortcutsInactive () |
| void | delCounter () |
| QMenu * | getMenu () const |
| int | getId () const |
| QString | getName () const |
| bool | getShownInCounterArea () const |
| int | getValue () const |
◆ PlayerCounter()
| PlayerCounter::PlayerCounter |
( |
Player * | _player, |
|
|
int | _id, |
|
|
const QString & | _name, |
|
|
int | _value, |
|
|
QGraphicsItem * | parent = nullptr ) |
◆ boundingRect()
| QRectF PlayerCounter::boundingRect |
( |
| ) |
const |
|
override |
◆ paint()
| void PlayerCounter::paint |
( |
QPainter * | painter, |
|
|
const QStyleOptionGraphicsItem * | option, |
|
|
QWidget * | widget ) |
|
override |
The documentation for this class was generated from the following files: