Fraxinus
16.5.0-fx-rc8
An IGT application
|
Represents one collection of strings. More...
#include <cxStringListProperty.h>
Public Member Functions | |
virtual QString | getDisplayName () const |
name of data entity. Used for display to user. More... | |
virtual QString | getUid () const |
virtual QVariant | getValueAsVariant () const |
virtual void | setValueFromVariant (QVariant val) |
virtual bool | setValue (const QStringList &value) |
set the data value. More... | |
virtual QStringList | getValue () const |
get the data value. More... | |
virtual QString | getHelp () const |
return a descriptive help string for the data, used for example as a tool tip. More... | |
virtual void | setHelp (QString val) |
virtual QStringList | getValueRange () const |
virtual void | setValueRange (QStringList range) |
range that values can be selected from More... | |
virtual QString | convertInternal2Display (QString internal) |
conversion from internal value to display value More... | |
virtual void | setDisplayNames (std::map< QString, QString > names) |
virtual std::map< QString, QString > | getDisplayNames () const |
virtual void | setDisplayName (QString val) |
Public Member Functions inherited from cx::Property | |
Property () | |
virtual | ~Property () |
virtual bool | getEnabled () const |
Get the enabled/disabled state of the Property. More... | |
virtual bool | getAdvanced () const |
Get the advanced flag of the adapter. More... | |
virtual QString | getGroup () const |
Flag the adapter as part of a group. More... | |
Static Public Member Functions | |
static StringListPropertyPtr | initialize (const QString &uid, QString name, QString help, QStringList value, QStringList range, QDomNode root=QDomNode()) |
Static Public Member Functions inherited from cx::Property | |
static PropertyPtr | findProperty (std::vector< PropertyPtr > properties, QString id) |
Additional Inherited Members | |
Public Slots inherited from cx::Property | |
virtual bool | setEnabled (bool enabled) |
Set the enabled/disabled state of the Property. More... | |
virtual bool | setAdvanced (bool advanced) |
Set the advanced flag of the adapter. More... | |
virtual bool | setGroup (QString name) |
Flag the adapter as part of a group. More... | |
Signals inherited from cx::Property | |
void | changed () |
emit when the underlying data value is changed: The user interface will be updated. More... | |
Protected Attributes inherited from cx::Property | |
bool | mEnabled |
bool | mAdvanced |
QString | mGroup |
Represents one collection of strings.
The collection can be selected from a range. The data can be stored within a xml document.
Definition at line 56 of file cxStringListProperty.h.
|
virtual |
conversion from internal value to display value
If a mapping from internal name to display name has been set, use it. Otherwise return the input.
Definition at line 133 of file cxStringListProperty.cpp.
|
virtual |
name of data entity. Used for display to user.
Implements cx::Property.
Definition at line 64 of file cxStringListProperty.cpp.
|
inlinevirtual |
Definition at line 77 of file cxStringListProperty.h.
|
virtual |
return a descriptive help string for the data, used for example as a tool tip.
Definition at line 74 of file cxStringListProperty.cpp.
|
virtual |
Implements cx::Property.
Definition at line 69 of file cxStringListProperty.cpp.
|
virtual |
get the data value.
Definition at line 99 of file cxStringListProperty.cpp.
|
virtual |
Implements cx::Property.
Definition at line 88 of file cxStringListProperty.cpp.
|
virtual |
Definition at line 119 of file cxStringListProperty.cpp.
|
static |
Definition at line 46 of file cxStringListProperty.cpp.
|
virtual |
Definition at line 58 of file cxStringListProperty.cpp.
|
virtual |
Definition at line 140 of file cxStringListProperty.cpp.
|
virtual |
Definition at line 79 of file cxStringListProperty.cpp.
|
virtual |
set the data value.
Definition at line 104 of file cxStringListProperty.cpp.
|
virtual |
Implements cx::Property.
Definition at line 93 of file cxStringListProperty.cpp.
|
virtual |
range that values can be selected from
Definition at line 124 of file cxStringListProperty.cpp.