#include <scoresprite.h>
Inheritance diagram for ScoreSprite:
Public Member Functions | |
| ScoreSprite (QString id, ThemeManager *theme, int advancePeriod, int no, QGraphicsScene *scene) | |
| Constructor for the score sprite. | |
| ~ScoreSprite () | |
| Destructor. | |
| virtual void | advance (int phase) |
| Standard QGI advance function. | |
| virtual int | type () const |
| Retrieve the type of QGI. | |
| virtual void | changeTheme () |
| Main theme change function. | |
| void | setPlayerName (QString s) |
| Store the player name. | |
| void | setPoints (int points) |
| Store the amounts of points for a player. | |
| void | setScore (int score) |
| Store the score for a player. | |
| void | setGames (int won, int all) |
| Store the amounts of games. | |
| void | setInput (int device) |
| Store input device for a player. | |
| void | setTrump (int suite) |
| Store trump icon for a player. | |
Definition at line 38 of file scoresprite.h.
|
||||||||||||||||||||||||
|
Constructor for the score sprite.
Definition at line 38 of file scoresprite.cpp. References PixmapSprite::PixmapSprite(), and ThemeManager::updateTheme(). Here is the call graph for this function: |
|
|
Destructor.
Definition at line 63 of file scoresprite.cpp. |
|
|
Standard QGI advance function.
Reimplemented from PixmapSprite. Definition at line 142 of file scoresprite.cpp. References PixmapSprite::advance(). Here is the call graph for this function: |
|
|
Main theme change function. On call of this the item needs to redraw and resize. Reimplemented from PixmapSprite. Definition at line 77 of file scoresprite.cpp. References PixmapSprite::changeTheme(), ThemeManager::config(), PixmapSprite::setFrame(), and Themable::thememanager(). Here is the call graph for this function: |
|
||||||||||||
|
Store the amounts of games.
Definition at line 176 of file scoresprite.cpp. Referenced by DisplayTwo::updatePlayer(). |
|
|
Store input device for a player.
Definition at line 185 of file scoresprite.cpp. References PixmapSprite::setFrame(). Referenced by DisplayTwo::updatePlayer(). Here is the call graph for this function: |
|
|
Store the player name.
Definition at line 150 of file scoresprite.cpp. Referenced by DisplayTwo::updatePlayer(). |
|
|
Store the amounts of points for a player.
Definition at line 158 of file scoresprite.cpp. Referenced by DisplayTwo::updatePlayer(). |
|
|
Store the score for a player.
Definition at line 167 of file scoresprite.cpp. Referenced by DisplayTwo::updatePlayer(). |
|
|
Store trump icon for a player.
Definition at line 195 of file scoresprite.cpp. References PixmapSprite::setFrame(). Referenced by DisplayTwo::updatePlayer(). Here is the call graph for this function: |
|
|
Retrieve the type of QGI. This item is UserType+10
Reimplemented from PixmapSprite. Definition at line 63 of file scoresprite.h. |
1.4.6