#include <mmsinputwidgetclass.h>
Public Member Functions | |
MMSInputWidgetClass () | |
Constructor of class MMSInputWidgetClass. | |
virtual | ~MMSInputWidgetClass () |
Destructor of class MMSInputWidgetClass. | |
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 | isCursorState () |
Check if the cursor state is set. | |
void | setCursorState (MMSSTATE cursor_state) |
Set the cursor state. | |
void | unsetCursorState () |
Mark the cursor state as not set. | |
MMSSTATE | getCursorState () |
Get the current cursor state. | |
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 | |
bool | iscursor_state |
is cursor state set? | |
MMSSTATE | cursor_state |
requested cursor state | |
Friends | |
class | MMSThemeManager |
class | MMSDialogManager |
This class is the base for the MMSInputWidget class and is derived from MMSTextBaseClass which is the base for all widgets with text output. 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 82 of file mmsinputwidgetclass.h.
MMSInputWidgetClass::MMSInputWidgetClass | ( | ) |
MMSInputWidgetClass::~MMSInputWidgetClass | ( | ) | [virtual] |
void MMSInputWidgetClass::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 60 of file mmsinputwidgetclass.cpp.
void MMSInputWidgetClass::unsetAll | ( | ) | [virtual] |
Mark all attributes as not set.
Reimplemented from MMSTextBaseClass.
Definition at line 54 of file mmsinputwidgetclass.cpp.
void MMSInputWidgetClass::setClassName | ( | string | className | ) |
Set the name of the theme class.
classname | name of the class |
Definition at line 148 of file mmsinputwidgetclass.cpp.
string MMSInputWidgetClass::getClassName | ( | ) |
Get the name of the theme class.
Definition at line 152 of file mmsinputwidgetclass.cpp.
bool MMSInputWidgetClass::isCursorState | ( | ) |
void MMSInputWidgetClass::setCursorState | ( | MMSSTATE | cursor_state | ) |
Set the cursor state.
cursor_state | state: true, false, auto |
Definition at line 160 of file mmsinputwidgetclass.cpp.
void MMSInputWidgetClass::unsetCursorState | ( | ) |
MMSSTATE MMSInputWidgetClass::getCursorState | ( | ) |
Get the current cursor state.
Definition at line 169 of file mmsinputwidgetclass.cpp.
friend class MMSThemeManager [friend] |
friend class MMSDialogManager [friend] |
string MMSInputWidgetClass::className [private] |
bool MMSInputWidgetClass::iscursor_state [private] |
MMSSTATE MMSInputWidgetClass::cursor_state [private] |