granatier
#include <infosidebar.h>
Public Slots | |
virtual void | updateGraphics (qreal svgScaleFactor) |
Public Member Functions | |
InfoSidebar (Game *p_game, GameScene *p_scene) | |
virtual | ~InfoSidebar () |
QRectF | rect () |
void | reset () |
void | themeChanged () |
Detailed Description
This class represents the game sidebar with game information about the player.
Definition at line 53 of file infosidebar.h.
Constructor & Destructor Documentation
Creates a new InfoSidebar instance.
- Parameters
-
p_game the game instance p_renderer the renderer instance p_scene the gamescene instance
Definition at line 32 of file infosidebar.cpp.
|
virtual |
Deletes the InfoSidebar instance.
Definition at line 181 of file infosidebar.cpp.
Member Function Documentation
QRectF InfoSidebar::rect | ( | ) |
Returns the background rect of the infoSidebar.
Definition at line 278 of file infosidebar.cpp.
void InfoSidebar::reset | ( | ) |
Resets the player states.
Definition at line 266 of file infosidebar.cpp.
void InfoSidebar::themeChanged | ( | ) |
Handles theme changes.
Definition at line 283 of file infosidebar.cpp.
|
virtualslot |
Updates the graphics after a resize.
- Parameters
-
svgScaleFactor the scaling factor between svg and rendered pixmap
Definition at line 434 of file infosidebar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.