MMSButtonWidgetClass Class Reference

A data access class for the button widget. More...

#include <mmsbuttonwidgetclass.h>

List of all members.

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


class MMSThemeManager
class MMSDialogManager

Detailed Description

A data access class for the button widget.

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.

This class will be internally used by class MMSButtonWidget.
Jens Schneider

Definition at line 67 of file mmsbuttonwidgetclass.h.

Constructor & Destructor Documentation

MMSButtonWidgetClass::MMSButtonWidgetClass (  ) 

Constructor of class MMSButtonWidgetClass.

Definition at line 45 of file mmsbuttonwidgetclass.cpp.

Member Function Documentation

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 (  ) 

Mark all attributes as not set.

Definition at line 49 of file mmsbuttonwidgetclass.cpp.

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.

name of the class

Definition at line 69 of file mmsbuttonwidgetclass.cpp.

Friends And Related Function Documentation

friend class MMSThemeManager [friend]

Definition at line 105 of file mmsbuttonwidgetclass.h.

friend class MMSDialogManager [friend]

Definition at line 106 of file mmsbuttonwidgetclass.h.

Member Data Documentation

name of the theme class

Definition at line 70 of file mmsbuttonwidgetclass.h.

stores base widget attributes

Definition at line 84 of file mmsbuttonwidgetclass.h.

The documentation for this class was generated from the following files: