NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::DoublePairPropertyBase Class Referenceabstract

Abstract interface for interaction with internal data structure: A pair of doubles. More...

#include <cxDoublePairPropertyBase.h>

Inheritance diagram for cx::DoublePairPropertyBase:
cx::Property cx::DoublePairProperty cx::DoubleSpanSliderAdapterNull

Public Member Functions

virtual ~DoublePairPropertyBase ()
 
virtual QString getDisplayName () const =0
 name of data entity. Used for display to user. More...
 
virtual bool setValue (const Eigen::Vector2d &value)=0
 set the data value. More...
 
virtual Eigen::Vector2d getValue () const =0
 get the data value. More...
 
virtual void setValueRange (DoubleRange range)=0
 
virtual QVariant getValueAsVariant () const
 
virtual void setValueFromVariant (QVariant value)
 
virtual DoubleRange getValueRange () const
 
- 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

Abstract interface for interaction with internal data structure: A pair of doubles.

Date
Juli 31, 2014
Author
Ole Vegard Solberg, SINTEF

Definition at line 33 of file cxDoublePairPropertyBase.h.

Constructor & Destructor Documentation

◆ ~DoublePairPropertyBase()

virtual cx::DoublePairPropertyBase::~DoublePairPropertyBase ( )
inlinevirtual

Definition at line 37 of file cxDoublePairPropertyBase.h.

Member Function Documentation

◆ getDisplayName()

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

name of data entity. Used for display to user.

Implements cx::Property.

Implemented in cx::DoubleSpanSliderAdapterNull, and cx::DoublePairProperty.

◆ getValue()

virtual Eigen::Vector2d cx::DoublePairPropertyBase::getValue ( ) const
pure virtual

get the data value.

Implemented in cx::DoubleSpanSliderAdapterNull, and cx::DoublePairProperty.

◆ getValueAsVariant()

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

Implements cx::Property.

Definition at line 50 of file cxDoublePairPropertyBase.h.

◆ getValueRange()

virtual DoubleRange cx::DoublePairPropertyBase::getValueRange ( ) const
inlinevirtual

Reimplemented in cx::DoublePairProperty.

Definition at line 68 of file cxDoublePairPropertyBase.h.

◆ setValue()

virtual bool cx::DoublePairPropertyBase::setValue ( const Eigen::Vector2d &  value)
pure virtual

set the data value.

Implemented in cx::DoubleSpanSliderAdapterNull, and cx::DoublePairProperty.

◆ setValueFromVariant()

virtual void cx::DoublePairPropertyBase::setValueFromVariant ( QVariant  value)
inlinevirtual

Implements cx::Property.

Definition at line 56 of file cxDoublePairPropertyBase.h.

◆ setValueRange()

virtual void cx::DoublePairPropertyBase::setValueRange ( DoubleRange  range)
pure virtual

Implemented in cx::DoublePairProperty.


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