#include <GUIDice.h>
Public Slots | |
bool | SetDice (uint32, uint32) |
SetDice. | |
Public Member Functions | |
CGUIDice (QWidget *pParent=NULL, const int8 *name=NULL, bool bVertical=false) | |
CGUIDice. | |
virtual | ~CGUIDice () |
~CGUIDice | |
void | GetDice (uint32 &die1, uint32 &die2) const |
GetDice. | |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *) |
resizeEvent | |
void | contentsMousePressEvent (QMouseEvent *event) |
contentsMousePressEvent |
Description: Represents a pair of dice that can be horizontally or vertically orientated
Limitations:
|
CGUIDice. Description: Class constructor
|
|
~CGUIDice Description: Class deconstructor Limitations: NONE |
|
contentsMousePressEvent Description: Called when the the mouse is clicked on the canvas. Emits the dice clicked signal if one of the die were clicked.
|
|
GetDice. Description: Returns the values of the dice
|
|
resizeEvent Description: Called when the window is resized. Resizes the dice.
|
|
SetDice. Description: Sets the dice
|