Logo Search packages:      
Sourcecode: qsapecng version File versions  Download package

Public Member Functions | Protected Member Functions | Private Attributes | Friends

QtVariantEditorFactory Class Reference

The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager objects. More...

Inheritance diagram for QtVariantEditorFactory:
Inheritance graph
[legend]
Collaboration diagram for QtVariantEditorFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addPropertyManager (QtVariantPropertyManager *manager)
QWidget * createEditor (QtProperty *property, QWidget *parent)
QtVariantPropertyManagerpropertyManager (QtProperty *property) const
QSet< QtVariantPropertyManager * > propertyManagers () const
 QtVariantEditorFactory (QObject *parent=0)
void removePropertyManager (QtVariantPropertyManager *manager)
 ~QtVariantEditorFactory ()

Protected Member Functions

void connectPropertyManager (QtVariantPropertyManager *manager)
QWidget * createEditor (QtVariantPropertyManager *manager, QtProperty *property, QWidget *parent)
void disconnectPropertyManager (QtVariantPropertyManager *manager)
void managerDestroyed (QObject *manager)

Private Attributes

QtVariantEditorFactoryPrivated_ptr

Friends

class QtAbstractPropertyBrowser

Detailed Description

The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager objects.

The variant factory provides the following widgets for the specified property types:

Property Type Widget int QSpinBox double QDoubleSpinBox bool QCheckBox QString QLineEdit QDate QDateEdit QTime QTimeEdit QDateTime QDateTimeEdit QKeySequence customized editor QChar customized editor enum QComboBox QCursor QComboBox

Note that QtVariantPropertyManager supports several additional property types for which the QtVariantEditorFactory class does not provide editing widgets, e.g. QPoint and QSize. To provide widgets for other types using the variant approach, derive from the QtVariantEditorFactory class.

See also:
QtAbstractEditorFactory, QtVariantPropertyManager

Definition at line 209 of file qtvariantproperty.h.


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

Generated by  Doxygen 1.6.0   Back to index