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
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of Qt Designer. This header file may change from version to version
10// without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QTPROPERTYMANAGER_H
16#define QTPROPERTYMANAGER_H
17
19
21
22class QDate;
23class QTime;
24class QDateTime;
25class QLocale;
26class QRegularExpression;
27
29{
31public:
34
35protected:
36 bool hasValue(const QtProperty *property) const override;
37
38 void initializeProperty(QtProperty *property) override;
39 void uninitializeProperty(QtProperty *property) override;
40};
41
43
45{
47public:
50
51 int value(const QtProperty *property) const;
52 int minimum(const QtProperty *property) const;
53 int maximum(const QtProperty *property) const;
54 int singleStep(const QtProperty *property) const;
55
56public Q_SLOTS:
57 void setValue(QtProperty *property, int val);
58 void setMinimum(QtProperty *property, int minVal);
59 void setMaximum(QtProperty *property, int maxVal);
60 void setRange(QtProperty *property, int minVal, int maxVal);
61 void setSingleStep(QtProperty *property, int step);
64 void rangeChanged(QtProperty *property, int minVal, int maxVal);
65 void singleStepChanged(QtProperty *property, int step);
66protected:
67 QString valueText(const QtProperty *property) const override;
68 void initializeProperty(QtProperty *property) override;
69 void uninitializeProperty(QtProperty *property) override;
70private:
71 QScopedPointer<QtIntPropertyManagerPrivate> d_ptr;
74};
75
77
79{
81public:
84
85 bool value(const QtProperty *property) const;
86
87public Q_SLOTS:
88 void setValue(QtProperty *property, bool val);
91protected:
92 QString valueText(const QtProperty *property) const override;
93 QIcon valueIcon(const QtProperty *property) const override;
94 void initializeProperty(QtProperty *property) override;
95 void uninitializeProperty(QtProperty *property) override;
96private:
97 QScopedPointer<QtBoolPropertyManagerPrivate> d_ptr;
100};
101
103
105{
107public:
110
111 double value(const QtProperty *property) const;
112 double minimum(const QtProperty *property) const;
113 double maximum(const QtProperty *property) const;
114 double singleStep(const QtProperty *property) const;
115 int decimals(const QtProperty *property) const;
116
117public Q_SLOTS:
118 void setValue(QtProperty *property, double val);
119 void setMinimum(QtProperty *property, double minVal);
120 void setMaximum(QtProperty *property, double maxVal);
121 void setRange(QtProperty *property, double minVal, double maxVal);
122 void setSingleStep(QtProperty *property, double step);
123 void setDecimals(QtProperty *property, int prec);
126 void rangeChanged(QtProperty *property, double minVal, double maxVal);
127 void singleStepChanged(QtProperty *property, double step);
128 void decimalsChanged(QtProperty *property, int prec);
129protected:
130 QString valueText(const QtProperty *property) const override;
131 void initializeProperty(QtProperty *property) override;
132 void uninitializeProperty(QtProperty *property) override;
133private:
134 QScopedPointer<QtDoublePropertyManagerPrivate> d_ptr;
137};
138
140
142{
144public:
147
148 QString value(const QtProperty *property) const;
149 QRegularExpression regExp(const QtProperty *property) const;
150
151public Q_SLOTS:
152 void setValue(QtProperty *property, const QString &val);
153 void setRegExp(QtProperty *property, const QRegularExpression &regExp);
156 void regExpChanged(QtProperty *property, const QRegularExpression &regExp);
157protected:
158 QString valueText(const QtProperty *property) const override;
159 void initializeProperty(QtProperty *property) override;
160 void uninitializeProperty(QtProperty *property) override;
161private:
162 QScopedPointer<QtStringPropertyManagerPrivate> d_ptr;
165};
166
168
170{
172public:
175
176 QDate value(const QtProperty *property) const;
177 QDate minimum(const QtProperty *property) const;
178 QDate maximum(const QtProperty *property) const;
179
180public Q_SLOTS:
182 void setMinimum(QtProperty *property, QDate minVal);
183 void setMaximum(QtProperty *property, QDate maxVal);
184 void setRange(QtProperty *property, QDate minVal, QDate maxVal);
187 void rangeChanged(QtProperty *property, QDate minVal, QDate maxVal);
188protected:
189 QString valueText(const QtProperty *property) const override;
190 void initializeProperty(QtProperty *property) override;
191 void uninitializeProperty(QtProperty *property) override;
192private:
193 QScopedPointer<QtDatePropertyManagerPrivate> d_ptr;
196};
197
199
201{
203public:
206
207 QTime value(const QtProperty *property) const;
208
209public Q_SLOTS:
213protected:
214 QString valueText(const QtProperty *property) const override;
215 void initializeProperty(QtProperty *property) override;
216 void uninitializeProperty(QtProperty *property) override;
217private:
218 QScopedPointer<QtTimePropertyManagerPrivate> d_ptr;
221};
222
224
226{
228public:
231
232 QDateTime value(const QtProperty *property) const;
233
234public Q_SLOTS:
238protected:
239 QString valueText(const QtProperty *property) const override;
240 void initializeProperty(QtProperty *property) override;
241 void uninitializeProperty(QtProperty *property) override;
242private:
243 QScopedPointer<QtDateTimePropertyManagerPrivate> d_ptr;
246};
247
249
251{
253public:
256
257 QKeySequence value(const QtProperty *property) const;
258
259public Q_SLOTS:
263protected:
264 QString valueText(const QtProperty *property) const override;
265 void initializeProperty(QtProperty *property) override;
266 void uninitializeProperty(QtProperty *property) override;
267private:
268 QScopedPointer<QtKeySequencePropertyManagerPrivate> d_ptr;
271};
272
274
276{
278public:
281
282 QChar value(const QtProperty *property) const;
283
284public Q_SLOTS:
285 void setValue(QtProperty *property, const QChar &val);
288protected:
289 QString valueText(const QtProperty *property) const override;
290 void initializeProperty(QtProperty *property) override;
291 void uninitializeProperty(QtProperty *property) override;
292private:
293 QScopedPointer<QtCharPropertyManagerPrivate> d_ptr;
296};
297
300
302{
304public:
307
309
310 QLocale value(const QtProperty *property) const;
311
312public Q_SLOTS:
313 void setValue(QtProperty *property, const QLocale &val);
316protected:
317 QString valueText(const QtProperty *property) const override;
318 void initializeProperty(QtProperty *property) override;
319 void uninitializeProperty(QtProperty *property) override;
320private:
321 QScopedPointer<QtLocalePropertyManagerPrivate> d_ptr;
324};
325
327
329{
331public:
334
336
337 QPoint value(const QtProperty *property) const;
338
339public Q_SLOTS:
343protected:
344 QString valueText(const QtProperty *property) const override;
345 void initializeProperty(QtProperty *property) override;
346 void uninitializeProperty(QtProperty *property) override;
347private:
348 QScopedPointer<QtPointPropertyManagerPrivate> d_ptr;
351};
352
354
356{
358public:
361
363
364 QPointF value(const QtProperty *property) const;
365 int decimals(const QtProperty *property) const;
366
367public Q_SLOTS:
369 void setDecimals(QtProperty *property, int prec);
372 void decimalsChanged(QtProperty *property, int prec);
373protected:
374 QString valueText(const QtProperty *property) const override;
375 void initializeProperty(QtProperty *property) override;
376 void uninitializeProperty(QtProperty *property) override;
377private:
378 QScopedPointer<QtPointFPropertyManagerPrivate> d_ptr;
381};
382
384
386{
388public:
391
393
394 QSize value(const QtProperty *property) const;
395 QSize minimum(const QtProperty *property) const;
396 QSize maximum(const QtProperty *property) const;
397
398public Q_SLOTS:
400 void setMinimum(QtProperty *property, QSize minVal);
401 void setMaximum(QtProperty *property, QSize maxVal);
402 void setRange(QtProperty *property, QSize minVal, QSize maxVal);
405 void rangeChanged(QtProperty *property, QSize minVal, QSize maxVal);
406protected:
407 QString valueText(const QtProperty *property) const override;
408 void initializeProperty(QtProperty *property) override;
409 void uninitializeProperty(QtProperty *property) override;
410private:
411 QScopedPointer<QtSizePropertyManagerPrivate> d_ptr;
414};
415
417
419{
421public:
424
426
427 QSizeF value(const QtProperty *property) const;
428 QSizeF minimum(const QtProperty *property) const;
429 QSizeF maximum(const QtProperty *property) const;
430 int decimals(const QtProperty *property) const;
431
432public Q_SLOTS:
434 void setMinimum(QtProperty *property, QSizeF minVal);
435 void setMaximum(QtProperty *property, QSizeF maxVal);
436 void setRange(QtProperty *property, QSizeF minVal, QSizeF maxVal);
437 void setDecimals(QtProperty *property, int prec);
440 void rangeChanged(QtProperty *property, QSizeF minVal, QSizeF maxVal);
441 void decimalsChanged(QtProperty *property, int prec);
442protected:
443 QString valueText(const QtProperty *property) const override;
444 void initializeProperty(QtProperty *property) override;
445 void uninitializeProperty(QtProperty *property) override;
446private:
447 QScopedPointer<QtSizeFPropertyManagerPrivate> d_ptr;
450};
451
453
455{
457public:
460
462
463 QRect value(const QtProperty *property) const;
464 QRect constraint(const QtProperty *property) const;
465
466public Q_SLOTS:
468 void setConstraint(QtProperty *property, QRect constraint);
471 void constraintChanged(QtProperty *property, const QRect &constraint);
472protected:
473 QString valueText(const QtProperty *property) const override;
474 void initializeProperty(QtProperty *property) override;
475 void uninitializeProperty(QtProperty *property) override;
476private:
477 QScopedPointer<QtRectPropertyManagerPrivate> d_ptr;
480};
481
483
485{
487public:
490
492
493 QRectF value(const QtProperty *property) const;
494 QRectF constraint(const QtProperty *property) const;
495 int decimals(const QtProperty *property) const;
496
497public Q_SLOTS:
498 void setValue(QtProperty *property, const QRectF &val);
499 void setConstraint(QtProperty *property, const QRectF &constraint);
500 void setDecimals(QtProperty *property, int prec);
503 void constraintChanged(QtProperty *property, const QRectF &constraint);
504 void decimalsChanged(QtProperty *property, int prec);
505protected:
506 QString valueText(const QtProperty *property) const override;
507 void initializeProperty(QtProperty *property) override;
508 void uninitializeProperty(QtProperty *property) override;
509private:
510 QScopedPointer<QtRectFPropertyManagerPrivate> d_ptr;
513};
514
516
518{
520public:
523
524 int value(const QtProperty *property) const;
525 QStringList enumNames(const QtProperty *property) const;
526 QMap<int, QIcon> enumIcons(const QtProperty *property) const;
527
528public Q_SLOTS:
529 void setValue(QtProperty *property, int val);
530 void setEnumNames(QtProperty *property, const QStringList &names);
531 void setEnumIcons(QtProperty *property, const QMap<int, QIcon> &icons);
534 void enumNamesChanged(QtProperty *property, const QStringList &names);
535 void enumIconsChanged(QtProperty *property, const QMap<int, QIcon> &icons);
536protected:
537 QString valueText(const QtProperty *property) const override;
538 QIcon valueIcon(const QtProperty *property) const override;
539 void initializeProperty(QtProperty *property) override;
540 void uninitializeProperty(QtProperty *property) override;
541private:
542 QScopedPointer<QtEnumPropertyManagerPrivate> d_ptr;
545};
546
548
550{
552public:
555
557
558 int value(const QtProperty *property) const;
559 QStringList flagNames(const QtProperty *property) const;
560
561public Q_SLOTS:
562 void setValue(QtProperty *property, int val);
563 void setFlagNames(QtProperty *property, const QStringList &names);
566 void flagNamesChanged(QtProperty *property, const QStringList &names);
567protected:
568 QString valueText(const QtProperty *property) const override;
569 void initializeProperty(QtProperty *property) override;
570 void uninitializeProperty(QtProperty *property) override;
571private:
572 QScopedPointer<QtFlagPropertyManagerPrivate> d_ptr;
575};
576
578
580{
582public:
585
588
589 QSizePolicy value(const QtProperty *property) const;
590
591public Q_SLOTS:
595protected:
596 QString valueText(const QtProperty *property) const override;
597 void initializeProperty(QtProperty *property) override;
598 void uninitializeProperty(QtProperty *property) override;
599private:
600 QScopedPointer<QtSizePolicyPropertyManagerPrivate> d_ptr;
603};
604
606
608{
610public:
613
617
618 QFont value(const QtProperty *property) const;
619
620public Q_SLOTS:
621 void setValue(QtProperty *property, const QFont &val);
624protected:
625 QString valueText(const QtProperty *property) const override;
626 QIcon valueIcon(const QtProperty *property) const override;
627 void initializeProperty(QtProperty *property) override;
628 void uninitializeProperty(QtProperty *property) override;
629private:
630 QScopedPointer<QtFontPropertyManagerPrivate> d_ptr;
633};
634
636
638{
640public:
643
645
646 QColor value(const QtProperty *property) const;
647
648public Q_SLOTS:
652protected:
653 QString valueText(const QtProperty *property) const override;
654 QIcon valueIcon(const QtProperty *property) const override;
655 void initializeProperty(QtProperty *property) override;
656 void uninitializeProperty(QtProperty *property) override;
657private:
658 QScopedPointer<QtColorPropertyManagerPrivate> d_ptr;
661};
662
664
666{
668public:
671
672#ifndef QT_NO_CURSOR
673 QCursor value(const QtProperty *property) const;
674#endif
675
676public Q_SLOTS:
677 void setValue(QtProperty *property, const QCursor &val);
680protected:
681 QString valueText(const QtProperty *property) const override;
682 QIcon valueIcon(const QtProperty *property) const override;
683 void initializeProperty(QtProperty *property) override;
684 void uninitializeProperty(QtProperty *property) override;
685private:
686 QScopedPointer<QtCursorPropertyManagerPrivate> d_ptr;
689};
690
691QT_END_NAMESPACE
692
693#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
bool value(const QtProperty *property) const
Returns the given property's value.
~QtBoolPropertyManager()
Destroys this manager, and all the properties it has created.
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
void initializeProperty(QtProperty *property) override
\reimp
QChar value(const QtProperty *property) const
Returns the given property's value.
~QtCharPropertyManager()
Destroys this manager, and all the properties it has created.
QString valueText(const QtProperty *property) const override
\reimp
The QtColorPropertyManager provides and manages QColor properties.
~QtColorPropertyManager()
Destroys this manager, and all the properties it has created.
void initializeProperty(QtProperty *property) override
\reimp
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
QIcon valueIcon(const QtProperty *property) const override
\reimp
~QtCursorPropertyManager()
Destroys this manager, and all the properties it has created.
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.
~QtDatePropertyManager()
Destroys this manager, and all the properties it has created.
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.
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.
~QtDateTimePropertyManager()
Destroys this manager, and all the properties it has created.
QString valueText(const QtProperty *property) const override
\reimp
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,...
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.
~QtDoublePropertyManager()
Destroys this manager, and all the properties it has created.
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.
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
~QtEnumPropertyManager()
Destroys this manager, and all the properties it has created.
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.
~QtFlagPropertyManager()
Destroys this manager, and all the properties it has created.
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
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.
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.
~QtFontPropertyManager()
Destroys this manager, and all the properties it has created.
The QtGroupPropertyManager provides and manages group properties.
bool hasValue(const QtProperty *property) const override
\reimp
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
~QtGroupPropertyManager()
Destroys this manager, and all the properties it has created.
The QtIntPropertyManager provides and manages int properties.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtIntPropertyManager()
Destroys this manager, and all the properties it has created.
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
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
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
~QtKeySequencePropertyManager()
Destroys this manager, and all the properties it has created.
The QtLocalePropertyManager provides and manages QLocale properties.
void uninitializeProperty(QtProperty *property) override
\reimp
~QtLocalePropertyManager()
Destroys this manager, and all the properties it has created.
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.
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.
QtDoublePropertyManager * subDoublePropertyManager() const
Returns the manager that creates the nested x and y subproperties.
~QtPointFPropertyManager()
Destroys this manager, and all the properties it has created.
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.
~QtPointPropertyManager()
Destroys this manager, and all the properties it has created.
void initializeProperty(QtProperty *property) override
\reimp
void uninitializeProperty(QtProperty *property) override
\reimp
QString valueText(const QtProperty *property) const override
\reimp
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()
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.
~QtRectPropertyManager()
Destroys this manager, and all the properties it has created.
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
The QtSizeFPropertyManager provides and manages QSizeF properties.
QSizeF value(const QtProperty *property) const
Returns the given property's value.
~QtSizeFPropertyManager()
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.
QtEnumPropertyManager * subEnumPropertyManager() const
Returns the manager that creates the nested horizontalPolicy and verticalPolicy subproperties.
~QtSizePolicyPropertyManager()
Destroys this manager, and all the properties it has created.
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.
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.
~QtSizePropertyManager()
Destroys this manager, and all the properties it has created.
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.
void setRegExp(QtProperty *property, const QRegularExpression &regExp)
Sets the regular expression of the given property to regExp.
~QtStringPropertyManager()
Destroys this manager, and all the properties it has created.
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
~QtTimePropertyManager()
Destroys this manager, and all the properties it has created.
QTime value(const QtProperty *property) const
Returns the given property's value.
void uninitializeProperty(QtProperty *property) override
\reimp
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.