CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::BoolPropertyBase Class Referenceabstract

#include <cxBoolPropertyBase.h>

Inheritance diagram for cx::BoolPropertyBase:
cx::Property cx::BoolProperty

Public Member Functions

virtual ~BoolPropertyBase ()
 
virtual QString getDisplayName () const =0
 name of data entity. Used for display to user. More...
 
virtual bool setValue (bool value)=0
 set the data value. More...
 
virtual bool getValue () const =0
 get the data value. More...
 
virtual QVariant getValueAsVariant () const
 
virtual void setValueFromVariant (QVariant val)
 
virtual QString getHelp () const
 return a descriptive help string for the data, used for example as a tool tip. More...
 
- Public Member Functions inherited from cx::Property
 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

- 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...
 
- Static Public Member Functions inherited from cx::Property
static PropertyPtr findProperty (std::vector< PropertyPtr > properties, QString id)
 
- Protected Attributes inherited from cx::Property
bool mEnabled
 
bool mAdvanced
 
QString mGroup
 

Detailed Description

Property interface for boolean values.

Definition at line 26 of file cxBoolPropertyBase.h.

Constructor & Destructor Documentation

virtual cx::BoolPropertyBase::~BoolPropertyBase ( )
inlinevirtual

Definition at line 30 of file cxBoolPropertyBase.h.

Member Function Documentation

virtual QString cx::BoolPropertyBase::getDisplayName ( ) const
pure virtual

name of data entity. Used for display to user.

Implements cx::Property.

Implemented in cx::BoolProperty.

virtual QString cx::BoolPropertyBase::getHelp ( ) const
inlinevirtual

return a descriptive help string for the data, used for example as a tool tip.

Reimplemented in cx::BoolProperty.

Definition at line 51 of file cxBoolPropertyBase.h.

virtual bool cx::BoolPropertyBase::getValue ( ) const
pure virtual

get the data value.

Implemented in cx::BoolProperty.

virtual QVariant cx::BoolPropertyBase::getValueAsVariant ( ) const
inlinevirtual

Implements cx::Property.

Definition at line 40 of file cxBoolPropertyBase.h.

virtual bool cx::BoolPropertyBase::setValue ( bool  value)
pure virtual

set the data value.

Implemented in cx::BoolProperty.

virtual void cx::BoolPropertyBase::setValueFromVariant ( QVariant  val)
inlinevirtual

Implements cx::Property.

Definition at line 44 of file cxBoolPropertyBase.h.


The documentation for this class was generated from the following file: