Go to the documentation of this file.
60 QVariant
value()
const;
61 QVariant attributeValue(
const QString& attribute)
const;
62 int valueType()
const;
63 int propertyType()
const;
65 void setValue(
const QVariant&
value);
66 void setAttribute(
const QString& attribute,
const QVariant&
value);
87 int propertyType(
const QtProperty* property)
const;
88 int valueType(
const QtProperty* property)
const;
91 virtual bool isPropertyTypeSupported(
int propertyType)
const;
92 virtual int valueType(
int propertyType)
const;
93 virtual QStringList attributes(
int propertyType)
const;
94 virtual int attributeType(
int propertyType,
const QString& attribute)
const;
97 virtual QVariant attributeValue(
const QtProperty* property,
const QString& attribute)
const;
99 static int enumTypeId();
100 static int flagTypeId();
101 static int groupTypeId();
102 static int iconMapTypeId();
104 virtual void setValue(
QtProperty* property,
const QVariant& val);
106 setAttribute(
QtProperty* property,
const QString& attribute,
const QVariant&
value);
108 void valueChanged(
QtProperty* property,
const QVariant& val);
109 void attributeChanged(
QtProperty* property,
const QString& attribute,
const QVariant& val);
121 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
int))
122 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
int,
int))
123 Q_PRIVATE_SLOT(d_func(),
void slotSingleStepChanged(
QtProperty*,
int))
124 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
double))
125 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
double,
double))
126 Q_PRIVATE_SLOT(d_func(),
void slotSingleStepChanged(
QtProperty*,
double))
127 Q_PRIVATE_SLOT(d_func(),
void slotDecimalsChanged(
QtProperty*,
int))
128 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
bool))
129 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QString&))
130 Q_PRIVATE_SLOT(d_func(),
void slotRegExpChanged(
QtProperty*,
const QRegExp&))
131 Q_PRIVATE_SLOT(d_func(),
void slotEchoModeChanged(
QtProperty*,
int))
132 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QDate&))
133 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QDate&,
const QDate&))
134 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QTime&))
135 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QDateTime&))
136 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QKeySequence&))
137 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QChar&))
138 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QLocale&))
139 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QPoint&))
140 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QPointF&))
141 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSize&))
142 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QSize&,
const QSize&))
143 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSizeF&))
144 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QSizeF&,
const QSizeF&))
145 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QRect&))
146 Q_PRIVATE_SLOT(d_func(),
void slotConstraintChanged(
QtProperty*,
const QRect&))
147 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QRectF&))
148 Q_PRIVATE_SLOT(d_func(),
void slotConstraintChanged(
QtProperty*,
const QRectF&))
149 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QColor&))
150 Q_PRIVATE_SLOT(d_func(),
void slotEnumNamesChanged(
QtProperty*,
const QStringList&))
151 Q_PRIVATE_SLOT(d_func(),
void slotEnumIconsChanged(
QtProperty*,
const QMap<int, QIcon>&))
152 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSizePolicy&))
153 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QFont&))
154 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QCursor&))
155 Q_PRIVATE_SLOT(d_func(),
void slotFlagNamesChanged(
QtProperty*,
const QStringList&))
156 Q_PRIVATE_SLOT(d_func(),
void slotReadOnlyChanged(
QtProperty*,
bool))
157 Q_PRIVATE_SLOT(d_func(),
void slotTextVisibleChanged(
QtProperty*,
bool))
188 Q_DECLARE_METATYPE(QIcon)
virtual void disconnectPropertyManager(PropertyManager *manager)=0
virtual QtProperty * createProperty()
QtProperty * addProperty(const QString &name=QString())
QWidget * createEditor(QtProperty *property, QWidget *parent) override
#define QT_QTPROPERTYBROWSER_EXPORT
virtual bool hasValue(const QtProperty *property) const
The QtVariantPropertyManager class provides and manages QVariant based properties.
The QtProperty class encapsulates an instance of a property.
The QtVariantProperty class is a convenience class handling QVariant based properties.
virtual void connectPropertyManager(PropertyManager *manager)=0
std::shared_ptr< Value > value()
The QtAbstractEditorFactory is the base template class for editor factories.
The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager ...
The QtAbstractPropertyManager provides an interface for property managers.
virtual QString valueText(const QtProperty *property) const
QMap< int, QIcon > QtIconMap
virtual void initializeProperty(QtProperty *property)=0
virtual void uninitializeProperty(QtProperty *property)
virtual QIcon valueIcon(const QtProperty *property) const