![]() |
CustusX
18.04
An IGT application
|
#include <cxColorPropertyBase.h>
Public Member Functions | |
virtual | ~ColorPropertyBase () |
virtual QString | getDisplayName () const =0 |
name of data entity. Used for display to user. More... | |
virtual bool | setValue (QColor value)=0 |
set the data value. More... | |
virtual QColor | getValue () const =0 |
get the data value. More... | |
virtual QVariant | getValueAsVariant () const |
virtual void | setValueFromVariant (QVariant value) |
virtual QString | getHelp () const |
return a descriptive help string for the data, used for example as a tool tip. More... | |
![]() | |
Property () | |
virtual | ~Property () |
virtual QString | getUid () const =0 |
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 |
|
inlinevirtual |
Definition at line 35 of file cxColorPropertyBase.h.
|
pure virtual |
name of data entity. Used for display to user.
Implements cx::Property.
Implemented in cx::ColorProperty.
|
inlinevirtual |
return a descriptive help string for the data, used for example as a tool tip.
Reimplemented in cx::ColorProperty.
Definition at line 55 of file cxColorPropertyBase.h.
|
pure virtual |
get the data value.
Implemented in cx::ColorProperty.
|
inlinevirtual |
Implements cx::Property.
Definition at line 43 of file cxColorPropertyBase.h.
|
pure virtual |
set the data value.
Implemented in cx::ColorProperty.
|
inlinevirtual |
Implements cx::Property.
Definition at line 48 of file cxColorPropertyBase.h.