4#ifndef QITEMEDITORFACTORY_H
5#define QITEMEDITORFACTORY_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qmetaobject.h>
9#include <QtCore/qbytearray.h>
10#include <QtCore/qhash.h>
11#include <QtCore/qvariant.h>
45 : propertyName(T::staticMetaObject.userProperty().
name())
57 : propertyName(avaluePropertyName) {}
66 virtual QByteArray valuePropertyName(
int userType)
const;
The QItemEditorCreatorBase class provides an abstract base class that must be subclassed when impleme...
virtual QByteArray valuePropertyName() const =0
Returns the name of the property used to get and set values in the creator's editor widgets.
virtual QWidget * createWidget(QWidget *parent) const =0
Returns an editor widget with the given parent.
The QItemEditorCreator class makes it possible to create item editor creator bases without subclassin...
QItemEditorCreator(const QByteArray &valuePropertyName)
Constructs an editor creator object using valuePropertyName as the name of the property to be used fo...
QWidget * createWidget(QWidget *parent) const override
\reimp
QByteArray valuePropertyName() const override
\reimp
The QItemEditorFactory class provides widgets for editing item data in views and delegates.
QItemEditorFactory()
Constructs a new item editor factory.
The QStandardItemEditorCreator class provides the possibility to register widgets without having to s...
QStandardItemEditorCreator()
Constructs an editor creator object.
QByteArray valuePropertyName() const override
\reimp
QWidget * createWidget(QWidget *parent) const override
\reimp
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)
QItemEditorCreatorBase * creator
editorFactory registerEditor(QMetaType::QDateTime, creator)
QItemEditorFactory * factory
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent