![]() |
Home |
The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager objects. More...
#include <QtVariantEditorFactory>
Inherits QtAbstractEditorFactory<QtVariantPropertyManager>.
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 and QtVariantPropertyManager.
Creates a factory with the given parent.
Destroys this factory, and all the widgets it has created.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Solutions |