#include <mmsarrowwidgetclass.h>
Public Member Functions | |
MMSArrowWidgetClass () | |
Constructor of class MMSArrowWidgetClass. | |
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 | isColor () |
Check if the color is set. This color will be used for the unselected arrow. | |
void | setColor (MMSFBColor color) |
Set the color which is used to draw the unselected arrow. | |
void | unsetColor () |
Mark the color as not set. | |
MMSFBColor | getColor () |
Get the color which is used to draw the unselected arrow. | |
bool | isSelColor () |
Check if the color is set. This color will be used for the selected arrow. | |
void | setSelColor (MMSFBColor selcolor) |
Set the color which is used to draw the selected arrow. | |
void | unsetSelColor () |
Mark the color as not set. | |
MMSFBColor | getSelColor () |
Get the color which is used to draw the selected arrow. | |
bool | isDirection () |
Check if the direction is set. | |
void | setDirection (MMSDIRECTION direction) |
Set the direction of the arrow. | |
void | unsetDirection () |
Mark the direction as not set. | |
MMSDIRECTION | getDirection () |
Get the current direction of the arrow. | |
bool | isCheckSelected () |
Check if the checkselected is set. | |
void | setCheckSelected (bool checkselected) |
Set the checkselected flag. | |
void | unsetCheckSelected () |
Mark the checkselected flag as not set. | |
bool | getCheckSelected () |
Get the checkselected flag. | |
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 | iscolor |
is color set? | |
MMSFBColor | color |
color if the arrow is not selected | |
bool | isselcolor |
is selcolor set? | |
MMSFBColor | selcolor |
color if the arrow is selected | |
bool | isdirection |
is direction set? | |
MMSDIRECTION | direction |
direction of the arrow | |
bool | ischeckselected |
is checkselected set? | |
bool | checkselected |
if true the input event will only be submitted if widget is in selected state | |
Friends | |
class | MMSThemeManager |
class | MMSDialogManager |
This class is the base for the MMSArrowWidget 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 97 of file mmsarrowwidgetclass.h.
MMSArrowWidgetClass::MMSArrowWidgetClass | ( | ) |
void MMSArrowWidgetClass::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 58 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::unsetAll | ( | ) |
void MMSArrowWidgetClass::setClassName | ( | string | className | ) |
Set the name of the theme class.
className | name of the class |
Definition at line 227 of file mmsarrowwidgetclass.cpp.
string MMSArrowWidgetClass::getClassName | ( | ) |
Get the name of the theme class.
Definition at line 231 of file mmsarrowwidgetclass.cpp.
bool MMSArrowWidgetClass::isColor | ( | ) |
Check if the color is set. This color will be used for the unselected arrow.
Definition at line 235 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::setColor | ( | MMSFBColor | color | ) |
Set the color which is used to draw the unselected arrow.
color | color for unselected arrow |
Definition at line 239 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::unsetColor | ( | ) |
MMSFBColor MMSArrowWidgetClass::getColor | ( | ) |
Get the color which is used to draw the unselected arrow.
Definition at line 248 of file mmsarrowwidgetclass.cpp.
bool MMSArrowWidgetClass::isSelColor | ( | ) |
Check if the color is set. This color will be used for the selected arrow.
Definition at line 252 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::setSelColor | ( | MMSFBColor | selcolor | ) |
Set the color which is used to draw the selected arrow.
selcolor | color for selected arrow |
Definition at line 256 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::unsetSelColor | ( | ) |
MMSFBColor MMSArrowWidgetClass::getSelColor | ( | ) |
Get the color which is used to draw the selected arrow.
Definition at line 265 of file mmsarrowwidgetclass.cpp.
bool MMSArrowWidgetClass::isDirection | ( | ) |
Check if the direction is set.
Definition at line 269 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::setDirection | ( | MMSDIRECTION | direction | ) |
Set the direction of the arrow.
direction | direction, see definition of MMSDIRECTION |
Definition at line 273 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::unsetDirection | ( | ) |
MMSDIRECTION MMSArrowWidgetClass::getDirection | ( | ) |
Get the current direction of the arrow.
Definition at line 282 of file mmsarrowwidgetclass.cpp.
bool MMSArrowWidgetClass::isCheckSelected | ( | ) |
Check if the checkselected is set.
Definition at line 286 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::setCheckSelected | ( | bool | checkselected | ) |
Set the checkselected flag.
checkselected | if true the input event will only be submitted if widget is in selected state |
Definition at line 290 of file mmsarrowwidgetclass.cpp.
void MMSArrowWidgetClass::unsetCheckSelected | ( | ) |
bool MMSArrowWidgetClass::getCheckSelected | ( | ) |
Get the checkselected flag.
Definition at line 299 of file mmsarrowwidgetclass.cpp.
friend class MMSThemeManager [friend] |
Definition at line 243 of file mmsarrowwidgetclass.h.
friend class MMSDialogManager [friend] |
Definition at line 244 of file mmsarrowwidgetclass.h.
string MMSArrowWidgetClass::className [private] |
bool MMSArrowWidgetClass::iscolor [private] |
MMSFBColor MMSArrowWidgetClass::color [private] |
bool MMSArrowWidgetClass::isselcolor [private] |
MMSFBColor MMSArrowWidgetClass::selcolor [private] |
bool MMSArrowWidgetClass::isdirection [private] |
MMSDIRECTION MMSArrowWidgetClass::direction [private] |
bool MMSArrowWidgetClass::ischeckselected [private] |
bool MMSArrowWidgetClass::checkselected [private] |
if true the input event will only be submitted if widget is in selected state
Definition at line 124 of file mmsarrowwidgetclass.h.