Computer Assited Medical Intervention Tool Kit  version 5.0
DecoratedDoubleSpinBoxFactory Class Reference

Public Member Functions

 DecoratedDoubleSpinBoxFactory (QObject *parent=0)
 
 ~DecoratedDoubleSpinBoxFactory ()
 
- Public Member Functions inherited from QtAbstractEditorFactory< DecoratedDoublePropertyManager >
void addPropertyManager (DecoratedDoublePropertyManager *manager)
 
QWidget * createEditor (QtProperty *property, QWidget *parent) override
 
DecoratedDoublePropertyManagerpropertyManager (QtProperty *property) const
 
QSet< DecoratedDoublePropertyManager * > propertyManagers () const
 
 QtAbstractEditorFactory (QObject *parent)
 
void removePropertyManager (DecoratedDoublePropertyManager *manager)
 

Protected Member Functions

void connectPropertyManager (DecoratedDoublePropertyManager *manager)
 
QWidget * createEditor (DecoratedDoublePropertyManager *manager, QtProperty *property, QWidget *parent)
 
void disconnectPropertyManager (DecoratedDoublePropertyManager *manager)
 
- Protected Member Functions inherited from QtAbstractEditorFactory< DecoratedDoublePropertyManager >
virtual void connectPropertyManager (DecoratedDoublePropertyManager *manager)=0
 
virtual QWidget * createEditor (DecoratedDoublePropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (DecoratedDoublePropertyManager *manager)=0
 
void managerDestroyed (QObject *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactoryBase
 QtAbstractEditorFactoryBase (QObject *parent=nullptr)
 

Private Slots

void slotEditorDestroyed (QObject *object)
 
void slotPrefixChanged (QtProperty *property, const QString &prefix)
 
void slotSuffixChanged (QtProperty *property, const QString &prefix)
 

Private Attributes

QMap< QtProperty *, QList< QDoubleSpinBox * > > createdEditors
 
QMap< QDoubleSpinBox *, QtProperty * > editorToProperty
 
QtDoubleSpinBoxFactoryoriginalFactory
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Constructor & Destructor Documentation

◆ DecoratedDoubleSpinBoxFactory()

DecoratedDoubleSpinBoxFactory::DecoratedDoubleSpinBoxFactory ( QObject *  parent = 0)

References originalFactory.

◆ ~DecoratedDoubleSpinBoxFactory()

DecoratedDoubleSpinBoxFactory::~DecoratedDoubleSpinBoxFactory ( )

Member Function Documentation

◆ connectPropertyManager()

void DecoratedDoubleSpinBoxFactory::connectPropertyManager ( DecoratedDoublePropertyManager manager)
protected

◆ createEditor()

QWidget * DecoratedDoubleSpinBoxFactory::createEditor ( DecoratedDoublePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
protected

◆ disconnectPropertyManager()

void DecoratedDoubleSpinBoxFactory::disconnectPropertyManager ( DecoratedDoublePropertyManager manager)
protected

◆ slotEditorDestroyed

void DecoratedDoubleSpinBoxFactory::slotEditorDestroyed ( QObject *  object)
privateslot

References createdEditors, and editorToProperty.

◆ slotPrefixChanged

void DecoratedDoubleSpinBoxFactory::slotPrefixChanged ( QtProperty property,
const QString &  prefix 
)
privateslot

◆ slotSuffixChanged

void DecoratedDoubleSpinBoxFactory::slotSuffixChanged ( QtProperty property,
const QString &  prefix 
)
privateslot

Member Data Documentation

◆ createdEditors

QMap<QtProperty*, QList<QDoubleSpinBox*> > DecoratedDoubleSpinBoxFactory::createdEditors
private

◆ editorToProperty

QMap<QDoubleSpinBox*, QtProperty*> DecoratedDoubleSpinBoxFactory::editorToProperty
private

◆ originalFactory

QtDoubleSpinBoxFactory* DecoratedDoubleSpinBoxFactory::originalFactory
private

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