Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtpropertymanager_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5//
6// W A R N I N G
7// -------------
8//
9// This file is not part of the Qt API. It exists for the convenience
10// of Qt Designer. This header file may change from version to version
11// without notice, or even be removed.
12//
13// We mean it.
14//
15
16#ifndef QTPROPERTYMANAGER_H
17#define QTPROPERTYMANAGER_H
18
20
22
23class QDate;
24class QTime;
25class QDateTime;
26class QLocale;
27class QRegularExpression;
28
30{
32public:
35
36protected:
37 bool hasValue(const QtProperty *property) const override;
38
39 void initializeProperty(QtProperty *property) override;
40 void uninitializeProperty(QtProperty *property) override;
41};
42
44
46{
48public:
51
52 int value(const QtProperty *property) const;
53 int minimum(const QtProperty *property) const;
54 int maximum(const QtProperty *property) const;
55 int singleStep(const QtProperty *property) const;
56
57public Q_SLOTS:
58 void setValue(QtProperty *property, int val);
59 void setMinimum(QtProperty *property, int minVal);
60 void setMaximum(QtProperty *property, int maxVal);
61 void setRange(QtProperty *property, int minVal, int maxVal);
62 void setSingleStep(QtProperty *property, int step);
65 void rangeChanged(QtProperty *property, int minVal, int maxVal);
66 void singleStepChanged(QtProperty *property, int step);
67protected:
68 QString valueText(const QtProperty *property) const override;
69 void initializeProperty(QtProperty *property) override;
70 void uninitializeProperty(QtProperty *property) override;
71private:
72 QScopedPointer<QtIntPropertyManagerPrivate> d_ptr;
75};
76
78
80{
82public:
85
86 bool value(const QtProperty *property) const;
87
88public Q_SLOTS:
89 void setValue(QtProperty *property, bool val);
92protected:
93 QString valueText(const QtProperty *property) const override;
94 QIcon valueIcon(const QtProperty *property) const override;
95 void initializeProperty(QtProperty *property) override;
96 void uninitializeProperty(QtProperty *property) override;
97private:
98 QScopedPointer<QtBoolPropertyManagerPrivate> d_ptr;
101};
102
104
106{
108public:
111
112 double value(const QtProperty *property) const;
113 double minimum(const QtProperty *property) const;
114 double maximum(const QtProperty *property) const;
115 double singleStep(const QtProperty *property) const;
116 int decimals(const QtProperty *property) const;
117
118public Q_SLOTS:
119 void setValue(QtProperty *property, double val);
120 void setMinimum(QtProperty *property, double minVal);
121 void setMaximum(QtProperty *property, double maxVal);
122 void setRange(QtProperty *property, double minVal, double maxVal);
123 void setSingleStep(QtProperty *property, double step);
124 void setDecimals(QtProperty *property, int prec);
127 void rangeChanged(QtProperty *property, double minVal, double maxVal);
128 void singleStepChanged(QtProperty *property, double step);
129 void decimalsChanged(QtProperty *property, int prec);
130protected:
131 QString valueText(const QtProperty *property) const override;
132 void initializeProperty(QtProperty *property) override;
133 void uninitializeProperty(QtProperty *property) override;
134private:
135 QScopedPointer<QtDoublePropertyManagerPrivate> d_ptr;
138};
139
141
143{
145public:
148
149 QString value(const QtProperty *property) const;
150 QRegularExpression regExp(const QtProperty *property) const;
151
152public Q_SLOTS:
153 void setValue(QtProperty *property, const QString &val);
154 void setRegExp(QtProperty *property, const QRegularExpression &regExp);
157 void regExpChanged(QtProperty *property, const QRegularExpression &regExp);
158protected:
159 QString valueText(const QtProperty *property) const override;
160 void initializeProperty(QtProperty *property) override;
161 void uninitializeProperty(QtProperty *property) override;
162private:
163 QScopedPointer<QtStringPropertyManagerPrivate> d_ptr;
166};
167
169
171{
173public:
176
177 QDate value(const QtProperty *property) const;
178 QDate minimum(const QtProperty *property) const;
179 QDate maximum(const QtProperty *property) const;
180
181public Q_SLOTS:
183 void setMinimum(QtProperty *property, QDate minVal);
184 void setMaximum(QtProperty *property, QDate maxVal);
185 void setRange(QtProperty *property, QDate minVal, QDate maxVal);
188 void rangeChanged(QtProperty *property, QDate minVal, QDate maxVal);
189protected:
190 QString valueText(const QtProperty *property) const override;
191 void initializeProperty(QtProperty *property) override;
192 void uninitializeProperty(QtProperty *property) override;
193private:
194 QScopedPointer<QtDatePropertyManagerPrivate> d_ptr;
197};
198
200
202{
204public:
207
208 QTime value(const QtProperty *property) const;
209
210public Q_SLOTS:
214protected:
215 QString valueText(const QtProperty *property) const override;
216 void initializeProperty(QtProperty *property) override;
217 void uninitializeProperty(QtProperty *property) override;
218private:
219 QScopedPointer<QtTimePropertyManagerPrivate> d_ptr;
222};
223
225
227{
229public:
232
233 QDateTime value(const QtProperty *property) const;
234
235public Q_SLOTS:
239protected:
240 QString valueText(const QtProperty *property) const override;
241 void initializeProperty(QtProperty *property) override;
242 void uninitializeProperty(QtProperty *property) override;
243private:
244 QScopedPointer<QtDateTimePropertyManagerPrivate> d_ptr;
247};
248
250
252{
254public:
257
258 QKeySequence value(const QtProperty *property) const;
259
260public Q_SLOTS:
264protected:
265 QString valueText(const QtProperty *property) const override;
266 void initializeProperty(QtProperty *property) override;
267 void uninitializeProperty(QtProperty *property) override;
268private:
269 QScopedPointer<QtKeySequencePropertyManagerPrivate> d_ptr;
272};
273
275
277{
279public:
282
283 QChar value(const QtProperty *property) const;
284
285public Q_SLOTS:
286 void setValue(QtProperty *property, const QChar &val);
289protected:
290 QString valueText(const QtProperty *property) const override;
291 void initializeProperty(QtProperty *property) override;
292 void uninitializeProperty(QtProperty *property) override;
293private:
294 QScopedPointer<QtCharPropertyManagerPrivate> d_ptr;
297};
298
301
303{
305public:
308
310
311 QLocale value(const QtProperty *property) const;
312
313public Q_SLOTS:
314 void setValue(QtProperty *property, const QLocale &val);
317protected:
318 QString valueText(const QtProperty *property) const override;
319 void initializeProperty(QtProperty *property) override;
320 void uninitializeProperty(QtProperty *property) override;
321private:
322 QScopedPointer<QtLocalePropertyManagerPrivate> d_ptr;
325};
326
328
330{
332public:
335
337
338 QPoint value(const QtProperty *property) const;
339
340public Q_SLOTS:
344protected:
345 QString valueText(const QtProperty *property) const override;
346 void initializeProperty(QtProperty *property) override;
347 void uninitializeProperty(QtProperty *property) override;
348private:
349 QScopedPointer<QtPointPropertyManagerPrivate> d_ptr;
352};
353
355
357{
359public:
362
364
365 QPointF value(const QtProperty *property) const;
366 int decimals(const QtProperty *property) const;
367
368public Q_SLOTS:
370 void setDecimals(QtProperty *property, int prec);
373 void decimalsChanged(QtProperty *property, int prec);
374protected:
375 QString valueText(const QtProperty *property) const override;
376 void initializeProperty(QtProperty *property) override;
377 void uninitializeProperty(QtProperty *property) override;
378private:
379 QScopedPointer<QtPointFPropertyManagerPrivate> d_ptr;
382};
383
385
387{
389public:
392
394
395 QSize value(const QtProperty *property) const;
396 QSize minimum(const QtProperty *property) const;
397 QSize maximum(const QtProperty *property) const;
398
399public Q_SLOTS:
401 void setMinimum(QtProperty *property, QSize minVal);
402 void setMaximum(QtProperty *property, QSize maxVal);
403 void setRange(QtProperty *property, QSize minVal, QSize maxVal);
406 void rangeChanged(QtProperty *property, QSize minVal, QSize maxVal);
407protected:
408 QString valueText(const QtProperty *property) const override;
409 void initializeProperty(QtProperty *property) override;
410 void uninitializeProperty(QtProperty *property) override;
411private:
412 QScopedPointer<QtSizePropertyManagerPrivate> d_ptr;
415};
416
418
420{
422public:
425
427
428 QSizeF value(const QtProperty *property) const;
429 QSizeF minimum(const QtProperty *property) const;
430 QSizeF maximum(const QtProperty *property) const;
431 int decimals(const QtProperty *property) const;
432
433public Q_SLOTS:
435 void setMinimum(QtProperty *property, QSizeF minVal);
436 void setMaximum(QtProperty *property, QSizeF maxVal);
437 void setRange(QtProperty *property, QSizeF minVal, QSizeF maxVal);
438 void setDecimals(QtProperty *property, int prec);
441 void rangeChanged(QtProperty *property, QSizeF minVal, QSizeF maxVal);
442 void decimalsChanged(QtProperty *property, int prec);
443protected:
444 QString valueText(const QtProperty *property) const override;
445 void initializeProperty(QtProperty *property) override;
446 void uninitializeProperty(QtProperty *property) override;
447private:
448 QScopedPointer<QtSizeFPropertyManagerPrivate> d_ptr;
451};
452
454
456{
458public:
461
463
464 QRect value(const QtProperty *property) const;
465 QRect constraint(const QtProperty *property) const;
466
467public Q_SLOTS:
469 void setConstraint(QtProperty *property, QRect constraint);
472 void constraintChanged(QtProperty *property, const QRect &constraint);
473protected:
474 QString valueText(const QtProperty *property) const override;
475 void initializeProperty(QtProperty *property) override;
476 void uninitializeProperty(QtProperty *property) override;
477private:
478 QScopedPointer<QtRectPropertyManagerPrivate> d_ptr;
481};
482
484
486{
488public:
491
493
494 QRectF value(const QtProperty *property) const;
495 QRectF constraint(const QtProperty *property) const;
496 int decimals(const QtProperty *property) const;
497
498public Q_SLOTS:
499 void setValue(QtProperty *property, const QRectF &val);
500 void setConstraint(QtProperty *property, const QRectF &constraint);
501 void setDecimals(QtProperty *property, int prec);
504 void constraintChanged(QtProperty *property, const QRectF &constraint);
505 void decimalsChanged(QtProperty *property, int prec);
506protected:
507 QString valueText(const QtProperty *property) const override;
508 void initializeProperty(QtProperty *property) override;
509 void uninitializeProperty(QtProperty *property) override;
510private:
511 QScopedPointer<QtRectFPropertyManagerPrivate> d_ptr;
514};
515
517
519{
521public:
524
525 int value(const QtProperty *property) const;
526 QStringList enumNames(const QtProperty *property) const;
527 QMap<int, QIcon> enumIcons(const QtProperty *property) const;
528
529public Q_SLOTS:
530 void setValue(QtProperty *property, int val);
531 void setEnumNames(QtProperty *property, const QStringList &names);
532 void setEnumIcons(QtProperty *property, const QMap<int, QIcon> &icons);
535 void enumNamesChanged(QtProperty *property, const QStringList &names);
536 void enumIconsChanged(QtProperty *property, const QMap<int, QIcon> &icons);
537protected:
538 QString valueText(const QtProperty *property) const override;
539 QIcon valueIcon(const QtProperty *property) const override;
540 void initializeProperty(QtProperty *property) override;
541 void uninitializeProperty(QtProperty *property) override;
542private:
543 QScopedPointer<QtEnumPropertyManagerPrivate> d_ptr;
546};
547
549
551{
553public:
556
558
559 int value(const QtProperty *property) const;
560 QStringList flagNames(const QtProperty *property) const;
561
562public Q_SLOTS:
563 void setValue(QtProperty *property, int val);
564 void setFlagNames(QtProperty *property, const QStringList &names);
567 void flagNamesChanged(QtProperty *property, const QStringList &names);
568protected:
569 QString valueText(const QtProperty *property) const override;
570 void initializeProperty(QtProperty *property) override;
571 void uninitializeProperty(QtProperty *property) override;
572private:
573 QScopedPointer<QtFlagPropertyManagerPrivate> d_ptr;
576};
577
579
581{
583public:
586
589
590 QSizePolicy value(const QtProperty *property) const;
591
592public Q_SLOTS:
596protected:
597 QString valueText(const QtProperty *property) const override;
598 void initializeProperty(QtProperty *property) override;
599 void uninitializeProperty(QtProperty *property) override;
600private:
601 QScopedPointer<QtSizePolicyPropertyManagerPrivate> d_ptr;
604};
605
607
609{
611public:
614
618
619 QFont value(const QtProperty *property) const;
620
621public Q_SLOTS:
622 void setValue(QtProperty *property, const QFont &val);
625protected:
626 QString valueText(const QtProperty *property) const override;
627 QIcon valueIcon(const QtProperty *property) const override;
628 void initializeProperty(QtProperty *property) override;
629 void uninitializeProperty(QtProperty *property) override;
630private:
631 QScopedPointer<QtFontPropertyManagerPrivate> d_ptr;
634};
635
637
639{
641public:
644
646
647 QColor value(const QtProperty *property) const;
648
649public Q_SLOTS:
653protected:
654 QString valueText(const QtProperty *property) const override;
655 QIcon valueIcon(const QtProperty *property) const override;
656 void initializeProperty(QtProperty *property) override;
657 void uninitializeProperty(QtProperty *property) override;
658private:
659 QScopedPointer<QtColorPropertyManagerPrivate> d_ptr;
662};
663
665
667{
669public:
672
673#ifndef QT_NO_CURSOR
674 QCursor value(const QtProperty *property) const;
675#endif
676
677public Q_SLOTS:
678 void setValue(QtProperty *property, const QCursor &val);
681protected:
682 QString valueText(const QtProperty *property) const override;
683 QIcon valueIcon(const QtProperty *property) const override;
684 void initializeProperty(QtProperty *property) override;
685 void uninitializeProperty(QtProperty *property) override;
686private:
687 QScopedPointer<QtCursorPropertyManagerPrivate> d_ptr;
690};
691
692QT_END_NAMESPACE
693
694#endif
static const char * brushStyles[]
The QtAbstractPropertyManager provides an interface for property managers.
The QtBoolPropertyManager class provides and manages boolean properties.
QIcon valueIcon(const QtProperty *property) const override
\reimp
~QtBoolPropertyManager() override
Destroys this manager, and all the properties it has created.
bool value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
The QtCharPropertyManager provides and manages QChar properties.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtCharPropertyManager() override
Destroys this manager, and all the properties it has created.
void initializeProperty(QtProperty *property) override
\reimp
QChar value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
The QtColorPropertyManager provides and manages QColor properties.
void initializeProperty(QtProperty *property) override
\reimp
~QtColorPropertyManager() override
Destroys this manager, and all the properties it has created.
QIcon valueIcon(const QtProperty *property) const override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that produces the nested red, green and blue subproperties.
QColor value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
The QtCursorPropertyManager provides and manages QCursor properties.
QString valueText(const QtProperty *property) const override
\reimp
~QtCursorPropertyManager() override
Destroys this manager, and all the properties it has created.
QIcon valueIcon(const QtProperty *property) const override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
QCursor value(const QtProperty *property) const
Returns the given property's value.
void initializeProperty(QtProperty *property) override
\reimp
The QtDatePropertyManager provides and manages QDate properties.
void rangeChanged(QtProperty *property, QDate minVal, QDate maxVal)
This signal is emitted whenever a property created by this manager changes its range of valid dates,...
void setMaximum(QtProperty *property, QDate maxVal)
Sets the maximum value for the given property to maxVal.
void uninitializeProperty(QtProperty *property) override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
void setMinimum(QtProperty *property, QDate minVal)
Sets the minimum value for the given property to minVal.
void setRange(QtProperty *property, QDate minVal, QDate maxVal)
Sets the range of valid dates.
QDate minimum(const QtProperty *property) const
Returns the given property's minimum date.
~QtDatePropertyManager() override
Destroys this manager, and all the properties it has created.
QDate maximum(const QtProperty *property) const
Returns the given property's maximum date.
QDate value(const QtProperty *property) const
Returns the given property's value.
The QtDateTimePropertyManager provides and manages QDateTime properties.
void uninitializeProperty(QtProperty *property) override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
QDateTime value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
~QtDateTimePropertyManager() override
Destroys this manager, and all the properties it has created.
The QtDoublePropertyManager provides and manages double properties.
QString valueText(const QtProperty *property) const override
\reimp
double singleStep(const QtProperty *property) const
Returns the given property's step value.
int decimals(const QtProperty *property) const
Returns the given property's precision, in decimals.
void singleStepChanged(QtProperty *property, double step)
This signal is emitted whenever a property created by this manager changes its single step property,...
void setMaximum(QtProperty *property, double maxVal)
Sets the maximum value for the given property to maxVal.
void uninitializeProperty(QtProperty *property) override
\reimp
void decimalsChanged(QtProperty *property, int prec)
This signal is emitted whenever a property created by this manager changes its precision of value,...
~QtDoublePropertyManager() override
Destroys this manager, and all the properties it has created.
void setDecimals(QtProperty *property, int prec)
Sets the precision of the given property to prec.
double minimum(const QtProperty *property) const
Returns the given property's minimum value.
double value(const QtProperty *property) const
Returns the given property's value.
void setSingleStep(QtProperty *property, double step)
Sets the step value for the given property to step.
void initializeProperty(QtProperty *property) override
\reimp
void setMinimum(QtProperty *property, double minVal)
Sets the minimum value for the given property to minVal.
void rangeChanged(QtProperty *property, double minVal, double maxVal)
This signal is emitted whenever a property created by this manager changes its range of valid values,...
double maximum(const QtProperty *property) const
Returns the given property's maximum value.
void setRange(QtProperty *property, double minVal, double maxVal)
Sets the range of valid values.
The QtEnumPropertyManager provides and manages enum properties.
void setEnumIcons(QtProperty *property, const QMap< int, QIcon > &icons)
Sets the given property's map of enum values to their icons to enumIcons.
~QtEnumPropertyManager() override
Destroys this manager, and all the properties it has created.
QMap< int, QIcon > enumIcons(const QtProperty *property) const
Returns the given property's map of enum values to their icons.
void enumIconsChanged(QtProperty *property, const QMap< int, QIcon > &icons)
This signal is emitted whenever a property created by this manager changes its enum icons,...
void enumNamesChanged(QtProperty *property, const QStringList &names)
This signal is emitted whenever a property created by this manager changes its enum names,...
QStringList enumNames(const QtProperty *property) const
Returns the given property's list of enum names.
QString valueText(const QtProperty *property) const override
\reimp
QIcon valueIcon(const QtProperty *property) const override
\reimp
void setEnumNames(QtProperty *property, const QStringList &names)
Sets the given property's list of enum names to enumNames.
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
int value(const QtProperty *property) const
Returns the given property's value which is an index in the list returned by enumNames().
The QtFlagPropertyManager provides and manages flag properties.
void uninitializeProperty(QtProperty *property) override
\reimp
void flagNamesChanged(QtProperty *property, const QStringList &names)
This signal is emitted whenever a property created by this manager changes its flag names,...
QString valueText(const QtProperty *property) const override
\reimp
~QtFlagPropertyManager() override
Destroys this manager, and all the properties it has created.
QtBoolPropertyManager * subBoolPropertyManager() const
Returns the manager that produces the nested boolean subproperties representing each flag.
void setFlagNames(QtProperty *property, const QStringList &names)
Sets the given property's list of flag names to flagNames.
void initializeProperty(QtProperty *property) override
\reimp
QStringList flagNames(const QtProperty *property) const
Returns the given property's list of flag names.
int value(const QtProperty *property) const
Returns the given property's value.
The QtFontPropertyManager provides and manages QFont properties.
void uninitializeProperty(QtProperty *property) override
\reimp
QFont value(const QtProperty *property) const
Returns the given property's value.
~QtFontPropertyManager() override
Destroys this manager, and all the properties it has created.
void initializeProperty(QtProperty *property) override
\reimp
QtBoolPropertyManager * subBoolPropertyManager() const
Returns the manager that creates the bold, italic, underline, strikeOut and kerning subproperties.
QIcon valueIcon(const QtProperty *property) const override
\reimp
QtEnumPropertyManager * subEnumPropertyManager() const
Returns the manager that create the family subproperty.
QString valueText(const QtProperty *property) const override
\reimp
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that creates the pointSize subproperty.
The QtGroupPropertyManager provides and manages group properties.
~QtGroupPropertyManager() override
Destroys this manager, and all the properties it has created.
bool hasValue(const QtProperty *property) const override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
The QtIntPropertyManager provides and manages int properties.
void uninitializeProperty(QtProperty *property) override
\reimp
void rangeChanged(QtProperty *property, int minVal, int maxVal)
This signal is emitted whenever a property created by this manager changes its range of valid values,...
void setRange(QtProperty *property, int minVal, int maxVal)
Sets the range of valid values.
void singleStepChanged(QtProperty *property, int step)
This signal is emitted whenever a property created by this manager changes its single step property,...
int singleStep(const QtProperty *property) const
Returns the given property's step value.
int minimum(const QtProperty *property) const
Returns the given property's minimum value.
QString valueText(const QtProperty *property) const override
\reimp
~QtIntPropertyManager() override
Destroys this manager, and all the properties it has created.
int value(const QtProperty *property) const
Returns the given property's value.
void setMaximum(QtProperty *property, int maxVal)
Sets the maximum value for the given property to maxVal.
void setMinimum(QtProperty *property, int minVal)
Sets the minimum value for the given property to minVal.
int maximum(const QtProperty *property) const
Returns the given property's maximum value.
void setSingleStep(QtProperty *property, int step)
Sets the step value for the given property to step.
void initializeProperty(QtProperty *property) override
\reimp
The QtKeySequencePropertyManager provides and manages QKeySequence properties.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtKeySequencePropertyManager() override
Destroys this manager, and all the properties it has created.
void initializeProperty(QtProperty *property) override
\reimp
QKeySequence value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
The QtLocalePropertyManager provides and manages QLocale properties.
void uninitializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
QtEnumPropertyManager * subEnumPropertyManager() const
Returns the manager that creates the nested language and territory subproperties.
void initializeProperty(QtProperty *property) override
\reimp
QLocale value(const QtProperty *property) const
Returns the given property's value.
~QtLocalePropertyManager() override
Destroys this manager, and all the properties it has created.
The QtPointFPropertyManager provides and manages QPointF properties.
void initializeProperty(QtProperty *property) override
\reimp
void decimalsChanged(QtProperty *property, int prec)
This signal is emitted whenever a property created by this manager changes its precision of value,...
void setDecimals(QtProperty *property, int prec)
Sets the precision of the given property to prec.
void uninitializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
QPointF value(const QtProperty *property) const
Returns the given property's value.
~QtPointFPropertyManager() override
Destroys this manager, and all the properties it has created.
QtDoublePropertyManager * subDoublePropertyManager() const
Returns the manager that creates the nested x and y subproperties.
int decimals(const QtProperty *property) const
Returns the given property's precision, in decimals.
The QtPointPropertyManager provides and manages QPoint properties.
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that creates the nested x and y subproperties.
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
~QtPointPropertyManager() override
Destroys this manager, and all the properties it has created.
QPoint value(const QtProperty *property) const
Returns the given property's value.
The QtProperty class encapsulates an instance of a property.
void addSubProperty(QtProperty *property)
Appends the given property to this property's subproperties.
The QtRectFPropertyManager provides and manages QRectF properties.
void constraintChanged(QtProperty *property, const QRectF &constraint)
This signal is emitted whenever property changes its constraint rectangle, passing a pointer to the p...
QRectF constraint(const QtProperty *property) const
Returns the given property's constraining rectangle.
QRectF value(const QtProperty *property) const
Returns the given property's value.
QtDoublePropertyManager * subDoublePropertyManager() const
Returns the manager that creates the nested x, y, width and height subproperties.
void uninitializeProperty(QtProperty *property) override
\reimp
int decimals(const QtProperty *property) const
Returns the given property's precision, in decimals.
void initializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
void decimalsChanged(QtProperty *property, int prec)
This signal is emitted whenever a property created by this manager changes its precision of value,...
void setDecimals(QtProperty *property, int prec)
Sets the precision of the given property to prec.
void setConstraint(QtProperty *property, const QRectF &constraint)
Sets the given property's constraining rectangle to constraint.
~QtRectFPropertyManager() override
Destroys this manager, and all the properties it has created.
The QtRectPropertyManager provides and manages QRect properties.
QRect value(const QtProperty *property) const
Returns the given property's value.
void initializeProperty(QtProperty *property) override
\reimp
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that creates the nested x, y, width and height subproperties.
QString valueText(const QtProperty *property) const override
\reimp
void constraintChanged(QtProperty *property, const QRect &constraint)
This signal is emitted whenever property changes its constraint rectangle, passing a pointer to the p...
QRect constraint(const QtProperty *property) const
Returns the given property's constraining rectangle.
void setConstraint(QtProperty *property, QRect constraint)
Sets the given property's constraining rectangle to constraint.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtRectPropertyManager() override
Destroys this manager, and all the properties it has created.
The QtSizeFPropertyManager provides and manages QSizeF properties.
QSizeF value(const QtProperty *property) const
Returns the given property's value.
~QtSizeFPropertyManager() override
Destroys this manager, and all the properties it has created.
void setDecimals(QtProperty *property, int prec)
Sets the precision of the given property to prec.
QSizeF maximum(const QtProperty *property) const
Returns the given property's maximum size value.
int decimals(const QtProperty *property) const
Returns the given property's precision, in decimals.
void initializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
QSizeF minimum(const QtProperty *property) const
Returns the given property's minimum size value.
void rangeChanged(QtProperty *property, QSizeF minVal, QSizeF maxVal)
This signal is emitted whenever a property created by this manager changes its range of valid sizes,...
void setMinimum(QtProperty *property, QSizeF minVal)
Sets the minimum size value for the given property to minVal.
QtDoublePropertyManager * subDoublePropertyManager() const
Returns the manager that creates the nested width and height subproperties.
void uninitializeProperty(QtProperty *property) override
\reimp
void setRange(QtProperty *property, QSizeF minVal, QSizeF maxVal)
Sets the range of valid values.
void setMaximum(QtProperty *property, QSizeF maxVal)
Sets the maximum size value for the given property to maxVal.
void decimalsChanged(QtProperty *property, int prec)
This signal is emitted whenever a property created by this manager changes its precision of value,...
The QtSizePolicyPropertyManager provides and manages QSizePolicy properties.
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that creates the nested horizontalStretch and verticalStretch subproperties.
~QtSizePolicyPropertyManager() override
Destroys this manager, and all the properties it has created.
QtEnumPropertyManager * subEnumPropertyManager() const
Returns the manager that creates the nested horizontalPolicy and verticalPolicy subproperties.
void uninitializeProperty(QtProperty *property) override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
QSizePolicy value(const QtProperty *property) const
Returns the given property's value.
QString valueText(const QtProperty *property) const override
\reimp
The QtSizePropertyManager provides and manages QSize properties.
void rangeChanged(QtProperty *property, QSize minVal, QSize maxVal)
This signal is emitted whenever a property created by this manager changes its range of valid sizes,...
QSize value(const QtProperty *property) const
Returns the given property's value.
~QtSizePropertyManager() override
Destroys this manager, and all the properties it has created.
void uninitializeProperty(QtProperty *property) override
\reimp
void setMaximum(QtProperty *property, QSize maxVal)
Sets the maximum size value for the given property to maxVal.
void setRange(QtProperty *property, QSize minVal, QSize maxVal)
Sets the range of valid values.
void initializeProperty(QtProperty *property) override
\reimp
QSize maximum(const QtProperty *property) const
Returns the given property's maximum size value.
void setMinimum(QtProperty *property, QSize minVal)
Sets the minimum size value for the given property to minVal.
QString valueText(const QtProperty *property) const override
\reimp
QSize minimum(const QtProperty *property) const
Returns the given property's minimum size value.
QtIntPropertyManager * subIntPropertyManager() const
Returns the manager that creates the nested width and height subproperties.
The QtStringPropertyManager provides and manages QString properties.
QString value(const QtProperty *property) const
Returns the given property's value.
QRegularExpression regExp(const QtProperty *property) const
Returns the given property's currently set regular expression.
~QtStringPropertyManager() override
Destroys this manager, and all the properties it has created.
void setRegExp(QtProperty *property, const QRegularExpression &regExp)
Sets the regular expression of the given property to regExp.
void initializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
void regExpChanged(QtProperty *property, const QRegularExpression &regExp)
This signal is emitted whenever a property created by this manager changes its currenlty set regular ...
The QtTimePropertyManager provides and manages QTime properties.
void initializeProperty(QtProperty *property) override
\reimp
QTime value(const QtProperty *property) const
Returns the given property's value.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtTimePropertyManager() override
Destroys this manager, and all the properties it has created.
QString valueText(const QtProperty *property) const override
\reimp
The QtVariantPropertyManager class provides and manages QVariant based properties.
QtVariantProperty * variantProperty(const QtProperty *property) const
Returns the given property converted into a QtVariantProperty.
The QtVariantProperty class is a convenience class handling QVariant based properties.
int valueChanged(QtVariantPropertyManager *vm, QtProperty *property, const QVariant &value)
bool valueIcon(const QtProperty *property, QIcon *icon) const
bool valueText(const QtProperty *property, QString *text) const
void initializeProperty(QtVariantPropertyManager *vm, QtProperty *property, int enumTypeId)
bool value(const QtProperty *property, QVariant *v) const
int setValue(QtVariantPropertyManager *vm, QtProperty *property, const QVariant &value)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.