![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
Inherits QtDoublePropertyManager.
Classes | |
struct | Data |
Public Slots | |
void | setPrefix (QtProperty *property, const QString &prefix) |
void | setSuffix (QtProperty *property, const QString &suffix) |
![]() | |
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) |
![]() | |
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) |
![]() | |
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 () | |
![]() | |
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 () | |
![]() | |
QtProperty * | addProperty (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 |
![]() | |
QString | valueText (const QtProperty *property) const |
![]() | |
virtual QtProperty * | createProperty () |
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 *, Data > | propertyToData |
DecoratedDoublePropertyManager::DecoratedDoublePropertyManager | ( | QObject * | parent = 0 | ) |
DecoratedDoublePropertyManager::~DecoratedDoublePropertyManager | ( | ) |
|
protectedvirtual |
Reimplemented from QtDoublePropertyManager.
References QtDoublePropertyManager::initializeProperty(), and propertyToData.
QString DecoratedDoublePropertyManager::prefix | ( | const QtProperty * | property | ) | const |
References propertyToData.
Referenced by DecoratedDoubleSpinBoxFactory::createEditor(), and setPrefix().
|
signal |
Referenced by setPrefix().
|
slot |
References prefix(), DecoratedDoublePropertyManager::Data::prefix, prefixChanged(), QtAbstractPropertyManager::propertyChanged(), and propertyToData.
Referenced by main().
|
slot |
References QtAbstractPropertyManager::propertyChanged(), propertyToData, suffix(), DecoratedDoublePropertyManager::Data::suffix, and suffixChanged().
Referenced by main().
QString DecoratedDoublePropertyManager::suffix | ( | const QtProperty * | property | ) | const |
References propertyToData.
Referenced by DecoratedDoubleSpinBoxFactory::createEditor(), and setSuffix().
|
signal |
Referenced by setSuffix().
|
protectedvirtual |
Reimplemented from QtDoublePropertyManager.
References propertyToData, and QtDoublePropertyManager::uninitializeProperty().
|
protectedvirtual |
Returns a string representing the current state of the given property.
The default implementation of this function returns an empty string.
Reimplemented from QtAbstractPropertyManager.
References DecoratedDoublePropertyManager::Data::prefix, propertyToData, DecoratedDoublePropertyManager::Data::suffix, and QtDoublePropertyManager::valueText().
|
private |
Referenced by initializeProperty(), prefix(), setPrefix(), setSuffix(), suffix(), uninitializeProperty(), and valueText().