#include <mmscanvaswidgetclass.h>
Public Member Functions | |
MMSCanvasWidgetClass () | |
Constructor of class MMSCanvasWidgetClass. | |
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. | |
bool | isAttributes () |
Check if the attributes string that is handed to the derived class is set. | |
void | setAttributes (string attributes) |
Set the attributes string that is handed to the derived class. | |
void | unsetAttributes () |
Mark the attributes string that is handed to the derived class as not set. | |
string | getAttributes () |
Get the attributes string that is handed to the derived 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 | |
string | attributes |
generic attributes | |
bool | isattributes |
generic attributes are set | |
Friends | |
class | MMSThemeManager |
class | MMSDialogManager |
This class is the base for the MMSCanvasWidget 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 75 of file mmscanvaswidgetclass.h.
MMSCanvasWidgetClass::MMSCanvasWidgetClass | ( | ) |
void MMSCanvasWidgetClass::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 55 of file mmscanvaswidgetclass.cpp.
void MMSCanvasWidgetClass::unsetAll | ( | ) |
void MMSCanvasWidgetClass::setClassName | ( | string | className | ) |
Set the name of the theme class.
className | name of the class |
Definition at line 70 of file mmscanvaswidgetclass.cpp.
string MMSCanvasWidgetClass::getClassName | ( | ) |
Get the name of the theme class.
Definition at line 74 of file mmscanvaswidgetclass.cpp.
bool MMSCanvasWidgetClass::isAttributes | ( | ) |
Check if the attributes string that is handed to the derived class is set.
Definition at line 78 of file mmscanvaswidgetclass.cpp.
void MMSCanvasWidgetClass::setAttributes | ( | string | attributes | ) |
Set the attributes string that is handed to the derived class.
imagepath_p | path to pressed unselected image |
Definition at line 82 of file mmscanvaswidgetclass.cpp.
void MMSCanvasWidgetClass::unsetAttributes | ( | ) |
Mark the attributes string that is handed to the derived class as not set.
Definition at line 87 of file mmscanvaswidgetclass.cpp.
string MMSCanvasWidgetClass::getAttributes | ( | ) |
Get the attributes string that is handed to the derived class.
Definition at line 92 of file mmscanvaswidgetclass.cpp.
friend class MMSThemeManager [friend] |
Definition at line 140 of file mmscanvaswidgetclass.h.
friend class MMSDialogManager [friend] |
Definition at line 141 of file mmscanvaswidgetclass.h.
string MMSCanvasWidgetClass::className [private] |
string MMSCanvasWidgetClass::attributes [private] |
bool MMSCanvasWidgetClass::isattributes [private] |