#include <mmsbuttonwidgetclass.h>
Public Member Functions | |
MMSButtonWidgetClass () | |
Constructor of class MMSButtonWidgetClass. | |
void | unsetAll () |
Mark all attributes as not set. | |
void | setClassName (string className) |
Set the name of the theme class. | |
string | getClassName () |
Get the name of the theme class. | |
Public Attributes | |
MMSWidgetClass | widgetClass |
stores base widget attributes | |
Private Member Functions | |
void | setAttributesFromTAFF (MMSTaffFile *tafff, string *prefix=NULL, string *path=NULL, bool reset_paths=false) |
Read and set all attributes from the given TAFF buffer. | |
Private Attributes | |
string | className |
name of the theme class | |
Friends | |
class | MMSThemeManager |
class | MMSDialogManager |
This class is the base for the MMSButtonWidget class. With this data store you have access to all changeable widget attributes. It is also one of the base classes for MMSThemeManager and MMSDialogManager which are main features of the MMSGUI.
Definition at line 67 of file mmsbuttonwidgetclass.h.
MMSButtonWidgetClass::MMSButtonWidgetClass | ( | ) |
void MMSButtonWidgetClass::setAttributesFromTAFF | ( | MMSTaffFile * | tafff, | |
string * | prefix = NULL , |
|||
string * | path = NULL , |
|||
bool | reset_paths = false | |||
) | [private] |
Read and set all attributes from the given TAFF buffer.
tafff | pointer to the TAFF buffer | |
prefix | optional, prefix to all attribute names (<prefix><attrname>=<attrvalue>) | |
path | optional, path needed for empty path values from the TAFF buffer | |
reset_paths | optional, should reset all path attributes? |
Definition at line 53 of file mmsbuttonwidgetclass.cpp.
void MMSButtonWidgetClass::unsetAll | ( | ) |
void MMSButtonWidgetClass::setClassName | ( | string | className | ) |
Set the name of the theme class.
className | name of the class |
Definition at line 65 of file mmsbuttonwidgetclass.cpp.
string MMSButtonWidgetClass::getClassName | ( | ) |
Get the name of the theme class.
Definition at line 69 of file mmsbuttonwidgetclass.cpp.
friend class MMSThemeManager [friend] |
Definition at line 105 of file mmsbuttonwidgetclass.h.
friend class MMSDialogManager [friend] |
Definition at line 106 of file mmsbuttonwidgetclass.h.
string MMSButtonWidgetClass::className [private] |