![]() |
CustusX
22.09
An IGT application
|
#include <cxSpacePropertyBase.h>
Public Member Functions | |
SpacePropertyBase () | |
virtual | ~SpacePropertyBase () |
virtual QString | getDisplayName () const =0 |
name of data entity. Used for display to user. More... | |
virtual QVariant | getValueAsVariant () const |
virtual void | setValueFromVariant (QVariant val) |
virtual QString | getUid () const |
virtual bool | setValue (const Space &value)=0 |
set the data value. More... | |
virtual Space | getValue () const =0 |
get the data value. More... | |
virtual bool | isReadOnly () const |
virtual bool | getAllowOnlyValuesInRange () const |
virtual QString | getHelp () const |
return a descriptive help string for the data, used for example as a tool tip. More... | |
virtual std::vector< Space > | getValueRange () const |
virtual QString | convertInternal2Display (Space internal) |
range of value. Use if data is constrained to a set. More... | |
virtual QString | convertRefObjectInternal2Display (QString internal) |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
void | changed () |
emit when the underlying data value is changed: The user interface will be updated. More... | |
![]() | |
static PropertyPtr | findProperty (std::vector< PropertyPtr > properties, QString id) |
![]() | |
bool | mEnabled |
bool | mAdvanced |
QString | mGroup |
Definition at line 30 of file cxSpacePropertyBase.h.
|
inline |
Definition at line 34 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Definition at line 35 of file cxSpacePropertyBase.h.
|
inlinevirtual |
range of value. Use if data is constrained to a set.
conversion from internal value to display value
Definition at line 72 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Reimplemented in cx::SpaceProperty.
Definition at line 76 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Reimplemented in cx::SpaceProperty.
Definition at line 62 of file cxSpacePropertyBase.h.
|
pure virtual |
name of data entity. Used for display to user.
Implements cx::Property.
Implemented in cx::SpaceProperty.
|
inlinevirtual |
return a descriptive help string for the data, used for example as a tool tip.
Reimplemented in cx::SpaceProperty.
Definition at line 64 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Implements cx::Property.
Reimplemented in cx::SpaceProperty.
Definition at line 50 of file cxSpacePropertyBase.h.
|
pure virtual |
get the data value.
Implemented in cx::SpaceProperty.
|
inlinevirtual |
Implements cx::Property.
Definition at line 41 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Reimplemented in cx::SpaceProperty.
Definition at line 68 of file cxSpacePropertyBase.h.
|
inlinevirtual |
Reimplemented in cx::SpaceProperty.
Definition at line 58 of file cxSpacePropertyBase.h.
|
pure virtual |
set the data value.
Implemented in cx::SpaceProperty.
|
inlinevirtual |
Implements cx::Property.
Definition at line 45 of file cxSpacePropertyBase.h.