DecoratedDoubleSpinBoxFactory Class Reference
+ Inheritance diagram for DecoratedDoubleSpinBoxFactory:

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 >
void managerDestroyed (QObject *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactoryBase
 QtAbstractEditorFactoryBase (QObject *parent=0)
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

Definition at line 175 of file main.cpp.

Constructor & Destructor Documentation

◆ DecoratedDoubleSpinBoxFactory()

DecoratedDoubleSpinBoxFactory ( QObject *  parent = 0)

Definition at line 199 of file main.cpp.

◆ ~DecoratedDoubleSpinBoxFactory()

Definition at line 205 of file main.cpp.

Member Function Documentation

◆ connectPropertyManager()

void connectPropertyManager ( DecoratedDoublePropertyManager manager)
protectedvirtual

Connects this factory to the given manager's signals. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.

This function is used internally by the addPropertyManager() function, and makes it possible to update an editing widget when the associated property's data changes. This is typically done in custom slots responding to the signals emitted by the property's manager, e.g. QtIntPropertyManager::valueChanged() and QtIntPropertyManager::rangeChanged().

See also
propertyManagers(), disconnectPropertyManager()

Implements QtAbstractEditorFactory< DecoratedDoublePropertyManager >.

Definition at line 210 of file main.cpp.

+ Here is the call graph for this function:

◆ createEditor()

QWidget * createEditor ( DecoratedDoublePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
protectedvirtual

Creates an editing widget with the given parent for the specified property created by the given manager. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.

This function must be implemented in derived classes: It is recommended to store a pointer to the widget and map it to the given property, since the widget must be updated whenever the associated property's data changes. This is typically done in custom slots responding to the signals emitted by the property's manager, e.g. QtIntPropertyManager::valueChanged() and QtIntPropertyManager::rangeChanged().

See also
connectPropertyManager()

Implements QtAbstractEditorFactory< DecoratedDoublePropertyManager >.

Definition at line 217 of file main.cpp.

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void disconnectPropertyManager ( DecoratedDoublePropertyManager manager)
protectedvirtual

Disconnects this factory from the given manager's signals. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.

This function is used internally by the removePropertyManager() function.

See also
propertyManagers(), connectPropertyManager()

Implements QtAbstractEditorFactory< DecoratedDoublePropertyManager >.

Definition at line 244 of file main.cpp.

+ Here is the call graph for this function:

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