Go to the documentation of this file.
59 QVariant
value()
const;
60 QVariant attributeValue(
const QString& attribute)
const;
61 int valueType()
const;
62 int propertyType()
const;
64 void setValue(
const QVariant&
value);
65 void setAttribute(
const QString& attribute,
const QVariant&
value);
84 int propertyType(
const QtProperty* property)
const;
85 int valueType(
const QtProperty* property)
const;
88 virtual bool isPropertyTypeSupported(
int propertyType)
const;
89 virtual int valueType(
int propertyType)
const;
90 virtual QStringList attributes(
int propertyType)
const;
91 virtual int attributeType(
int propertyType,
const QString& attribute)
const;
94 virtual QVariant attributeValue(
const QtProperty* property,
const QString& attribute)
const;
96 static int enumTypeId();
97 static int flagTypeId();
98 static int groupTypeId();
99 static int iconMapTypeId();
101 virtual void setValue(
QtProperty* property,
const QVariant& val);
102 virtual void setAttribute(
QtProperty* property,
103 const QString& attribute,
const QVariant&
value);
105 void valueChanged(
QtProperty* property,
const QVariant& val);
107 const QString& attribute,
const QVariant& val);
117 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
int))
118 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
int,
int))
119 Q_PRIVATE_SLOT(d_func(),
void slotSingleStepChanged(
QtProperty*,
int))
120 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
double))
121 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
double,
double))
122 Q_PRIVATE_SLOT(d_func(),
void slotSingleStepChanged(
QtProperty*,
double))
123 Q_PRIVATE_SLOT(d_func(),
void slotDecimalsChanged(
QtProperty*,
int))
124 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
bool))
125 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QString&))
126 Q_PRIVATE_SLOT(d_func(),
void slotRegExpChanged(
QtProperty*,
const QRegExp&))
127 Q_PRIVATE_SLOT(d_func(),
void slotEchoModeChanged(
QtProperty*,
int))
128 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QDate&))
129 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QDate&,
const QDate&))
130 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QTime&))
131 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QDateTime&))
132 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QKeySequence&))
133 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QChar&))
134 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QLocale&))
135 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QPoint&))
136 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QPointF&))
137 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSize&))
138 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QSize&,
const QSize&))
139 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSizeF&))
140 Q_PRIVATE_SLOT(d_func(),
void slotRangeChanged(
QtProperty*,
const QSizeF&,
const QSizeF&))
141 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QRect&))
142 Q_PRIVATE_SLOT(d_func(),
void slotConstraintChanged(
QtProperty*,
const QRect&))
143 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QRectF&))
144 Q_PRIVATE_SLOT(d_func(),
void slotConstraintChanged(
QtProperty*,
const QRectF&))
145 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QColor&))
146 Q_PRIVATE_SLOT(d_func(),
void slotEnumNamesChanged(
QtProperty*,
const QStringList&))
147 Q_PRIVATE_SLOT(d_func(),
void slotEnumIconsChanged(
QtProperty*,
const QMap<int, QIcon>&))
148 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QSizePolicy&))
149 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QFont&))
150 Q_PRIVATE_SLOT(d_func(),
void slotValueChanged(
QtProperty*,
const QCursor&))
151 Q_PRIVATE_SLOT(d_func(),
void slotFlagNamesChanged(
QtProperty*,
const QStringList&))
152 Q_PRIVATE_SLOT(d_func(),
void slotReadOnlyChanged(
QtProperty*,
bool))
153 Q_PRIVATE_SLOT(d_func(),
void slotTextVisibleChanged(
QtProperty*,
bool))
171 QWidget* parent)
override;
181 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