Computer Assited Medical Intervention Tool Kit  version 4.0
Classes | Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
DecoratedDoublePropertyManager Class Reference

Inherits QtDoublePropertyManager.

Classes

struct  Data
 

Public Slots

void setPrefix (QtProperty *property, const QString &prefix)
 
void setSuffix (QtProperty *property, const QString &suffix)
 
- Public Slots inherited from QtDoublePropertyManager
void setDecimals (QtProperty *property, int prec)
 
void setMaximum (QtProperty *property, double maxVal)
 
void setMinimum (QtProperty *property, double minVal)
 
void setRange (QtProperty *property, double minVal, double maxVal)
 
void setSingleStep (QtProperty *property, double step)
 
void setValue (QtProperty *property, double val)
 

Signals

void prefixChanged (QtProperty *property, const QString &prefix)
 
void suffixChanged (QtProperty *property, const QString &suffix)
 
- Signals inherited from QtDoublePropertyManager
void decimalsChanged (QtProperty *property, int prec)
 
void rangeChanged (QtProperty *property, double minVal, double maxVal)
 
void singleStepChanged (QtProperty *property, double step)
 
void valueChanged (QtProperty *property, double val)
 
- Signals inherited from QtAbstractPropertyManager
void propertyChanged (QtProperty *property)
 
void propertyDestroyed (QtProperty *property)
 
void propertyInserted (QtProperty *property, QtProperty *parent, QtProperty *after)
 
void propertyRemoved (QtProperty *property, QtProperty *parent)
 

Public Member Functions

 DecoratedDoublePropertyManager (QObject *parent=0)
 
QString prefix (const QtProperty *property) const
 
QString suffix (const QtProperty *property) const
 
 ~DecoratedDoublePropertyManager ()
 
- Public Member Functions inherited from QtDoublePropertyManager
int decimals (const QtProperty *property) const
 
double maximum (const QtProperty *property) const
 
double minimum (const QtProperty *property) const
 
 QtDoublePropertyManager (QObject *parent=0)
 
double singleStep (const QtProperty *property) const
 
double value (const QtProperty *property) const
 
 ~QtDoublePropertyManager ()
 
- Public Member Functions inherited from QtAbstractPropertyManager
QtPropertyaddProperty (const QString &name=QString())
 
void clear () const
 
QSet< QtProperty * > properties () const
 
 QtAbstractPropertyManager (QObject *parent=0)
 
 ~QtAbstractPropertyManager ()
 

Protected Member Functions

virtual void initializeProperty (QtProperty *property)
 
virtual void uninitializeProperty (QtProperty *property)
 
QString valueText (const QtProperty *property) const
 
- Protected Member Functions inherited from QtDoublePropertyManager
QString valueText (const QtProperty *property) const
 
- Protected Member Functions inherited from QtAbstractPropertyManager
virtual QtPropertycreateProperty ()
 
virtual QString displayText (const QtProperty *property) const
 
virtual EchoMode echoMode (const QtProperty *) const
 
virtual bool hasValue (const QtProperty *property) const
 
virtual QIcon valueIcon (const QtProperty *property) const
 

Private Attributes

QMap< const QtProperty *, DatapropertyToData
 

Constructor & Destructor Documentation

◆ DecoratedDoublePropertyManager()

DecoratedDoublePropertyManager::DecoratedDoublePropertyManager ( QObject *  parent = 0)

◆ ~DecoratedDoublePropertyManager()

DecoratedDoublePropertyManager::~DecoratedDoublePropertyManager ( )

Member Function Documentation

◆ initializeProperty()

void DecoratedDoublePropertyManager::initializeProperty ( QtProperty property)
protectedvirtual

◆ prefix()

QString DecoratedDoublePropertyManager::prefix ( const QtProperty property) const

◆ prefixChanged

void DecoratedDoublePropertyManager::prefixChanged ( QtProperty property,
const QString &  prefix 
)
signal

Referenced by setPrefix().

◆ setPrefix

void DecoratedDoublePropertyManager::setPrefix ( QtProperty property,
const QString &  prefix 
)
slot

◆ setSuffix

void DecoratedDoublePropertyManager::setSuffix ( QtProperty property,
const QString &  suffix 
)
slot

◆ suffix()

QString DecoratedDoublePropertyManager::suffix ( const QtProperty property) const

◆ suffixChanged

void DecoratedDoublePropertyManager::suffixChanged ( QtProperty property,
const QString &  suffix 
)
signal

Referenced by setSuffix().

◆ uninitializeProperty()

void DecoratedDoublePropertyManager::uninitializeProperty ( QtProperty property)
protectedvirtual

◆ valueText()

QString DecoratedDoublePropertyManager::valueText ( const QtProperty property) const
protectedvirtual

Returns a string representing the current state of the given property.

The default implementation of this function returns an empty string.

See also
QtProperty::valueText()

Reimplemented from QtAbstractPropertyManager.

References DecoratedDoublePropertyManager::Data::prefix, propertyToData, DecoratedDoublePropertyManager::Data::suffix, and QtDoublePropertyManager::valueText().

Member Data Documentation

◆ propertyToData

QMap<const QtProperty *, Data> DecoratedDoublePropertyManager::propertyToData
private

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