49 #ifndef QTPROPERTYMANAGER_H
50 #define QTPROPERTYMANAGER_H
53 #include <QPushButton>
56 #if QT_VERSION >= 0x040400
64 class QRegularExpression;
100 int maximum(
const QtProperty* property)
const;
101 int singleStep(
const QtProperty* property)
const;
106 void setMinimum(
QtProperty* property,
int minVal);
107 void setMaximum(
QtProperty* property,
int maxVal);
108 void setRange(
QtProperty* property,
int minVal,
int maxVal);
109 void setSingleStep(
QtProperty* property,
int step);
110 void setReadOnly(
QtProperty* property,
bool readOnly);
123 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
139 bool textVisible(
const QtProperty* property)
const;
142 void setValue(
QtProperty* property,
bool val);
143 void setTextVisible(
QtProperty* property,
bool textVisible);
155 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
170 double value(
const QtProperty* property)
const;
171 double minimum(
const QtProperty* property)
const;
172 double maximum(
const QtProperty* property)
const;
173 double singleStep(
const QtProperty* property)
const;
174 int decimals(
const QtProperty* property)
const;
175 bool isReadOnly(
const QtProperty* property)
const;
178 void setValue(
QtProperty* property,
double val);
179 void setMinimum(
QtProperty* property,
double minVal);
180 void setMaximum(
QtProperty* property,
double maxVal);
181 void setRange(
QtProperty* property,
double minVal,
double maxVal);
182 void setSingleStep(
QtProperty* property,
double step);
183 void setDecimals(
QtProperty* property,
int prec);
184 void setReadOnly(
QtProperty* property,
bool readOnly);
198 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
213 QString value(
const QtProperty* property)
const;
214 QRegularExpression regExp(
const QtProperty* property)
const;
216 bool isReadOnly(
const QtProperty* property)
const;
219 void setValue(
QtProperty* property,
const QString& val);
220 void setRegExp(
QtProperty* property,
const QRegularExpression& regExp);
222 void setReadOnly(
QtProperty* property,
bool readOnly);
236 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
251 QDate value(
const QtProperty* property)
const;
252 QDate minimum(
const QtProperty* property)
const;
253 QDate maximum(
const QtProperty* property)
const;
256 void setValue(
QtProperty* property,
const QDate& val);
257 void setMinimum(
QtProperty* property,
const QDate& minVal);
258 void setMaximum(
QtProperty* property,
const QDate& maxVal);
259 void setRange(
QtProperty* property,
const QDate& minVal,
const QDate& maxVal);
270 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
285 QTime value(
const QtProperty* property)
const;
288 void setValue(
QtProperty* property,
const QTime& val);
298 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
313 QDateTime value(
const QtProperty* property)
const;
316 void setValue(
QtProperty* property,
const QDateTime& val);
326 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
341 QKeySequence value(
const QtProperty* property)
const;
344 void setValue(
QtProperty* property,
const QKeySequence& val);
354 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
369 QChar value(
const QtProperty* property)
const;
372 void setValue(
QtProperty* property,
const QChar& val);
382 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
400 QLocale value(
const QtProperty* property)
const;
403 void setValue(
QtProperty* property,
const QLocale& val);
413 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
418 Q_PRIVATE_SLOT(d_func(),
void slotEnumChanged(
QtProperty*,
int))
419 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
432 QPoint value(
const QtProperty* property)
const;
435 void setValue(
QtProperty* property,
const QPoint& val);
445 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
450 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
451 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
464 QPointF value(
const QtProperty* property)
const;
465 int decimals(
const QtProperty* property)
const;
468 void setValue(
QtProperty* property,
const QPointF& val);
469 void setDecimals(
QtProperty* property,
int prec);
480 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
485 Q_PRIVATE_SLOT(d_func(),
void slotDoubleChanged(
QtProperty*,
double))
486 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
499 QSize value(
const QtProperty* property)
const;
500 QSize minimum(
const QtProperty* property)
const;
501 QSize maximum(
const QtProperty* property)
const;
504 void setValue(
QtProperty* property,
const QSize& val);
505 void setMinimum(
QtProperty* property,
const QSize& minVal);
506 void setMaximum(
QtProperty* property,
const QSize& maxVal);
507 void setRange(
QtProperty* property,
const QSize& minVal,
const QSize& maxVal);
518 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
523 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
524 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
537 QSizeF value(
const QtProperty* property)
const;
538 QSizeF minimum(
const QtProperty* property)
const;
539 QSizeF maximum(
const QtProperty* property)
const;
540 int decimals(
const QtProperty* property)
const;
543 void setValue(
QtProperty* property,
const QSizeF& val);
544 void setMinimum(
QtProperty* property,
const QSizeF& minVal);
545 void setMaximum(
QtProperty* property,
const QSizeF& maxVal);
546 void setRange(
QtProperty* property,
const QSizeF& minVal,
const QSizeF& maxVal);
547 void setDecimals(
QtProperty* property,
int prec);
559 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
564 Q_PRIVATE_SLOT(d_func(),
void slotDoubleChanged(
QtProperty*,
double))
565 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
578 QRect value(
const QtProperty* property)
const;
579 QRect constraint(
const QtProperty* property)
const;
582 void setValue(
QtProperty* property,
const QRect& val);
583 void setConstraint(
QtProperty* property,
const QRect& constraint);
594 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
599 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
600 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
613 QRectF value(
const QtProperty* property)
const;
614 QRectF constraint(
const QtProperty* property)
const;
615 int decimals(
const QtProperty* property)
const;
618 void setValue(
QtProperty* property,
const QRectF& val);
619 void setConstraint(
QtProperty* property,
const QRectF& constraint);
620 void setDecimals(
QtProperty* property,
int prec);
632 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
637 Q_PRIVATE_SLOT(d_func(),
void slotDoubleChanged(
QtProperty*,
double))
638 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
653 QVector3D value(
const QtProperty* property)
const;
654 int decimals(
const QtProperty* property)
const;
657 void setValue(
QtProperty* property,
const QVector3D& val);
658 void setDecimals(
QtProperty* property,
int prec);
669 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
674 Q_PRIVATE_SLOT(d_func(),
void slotDoubleChanged(
QtProperty*,
double))
675 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
687 QStringList enumNames(
const QtProperty* property)
const;
688 QMap<int, QIcon> enumIcons(
const QtProperty* property)
const;
692 void setEnumNames(
QtProperty* property,
const QStringList& names);
693 void setEnumIcons(
QtProperty* property,
const QMap<int, QIcon>& icons);
706 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
724 QStringList flagNames(
const QtProperty* property)
const;
728 void setFlagNames(
QtProperty* property,
const QStringList& names);
739 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
744 Q_PRIVATE_SLOT(d_func(),
void slotBoolChanged(
QtProperty*,
bool))
745 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
759 QSizePolicy value(
const QtProperty* property)
const;
762 void setValue(
QtProperty* property,
const QSizePolicy& val);
772 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
777 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
778 Q_PRIVATE_SLOT(d_func(),
void slotEnumChanged(
QtProperty*,
int))
779 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
794 QFont value(
const QtProperty* property)
const;
797 void setValue(
QtProperty* property,
const QFont& val);
808 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
813 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
814 Q_PRIVATE_SLOT(d_func(),
void slotEnumChanged(
QtProperty*,
int))
815 Q_PRIVATE_SLOT(d_func(),
void slotBoolChanged(
QtProperty*,
bool))
816 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
817 Q_PRIVATE_SLOT(d_func(),
void slotFontDatabaseChanged())
818 Q_PRIVATE_SLOT(d_func(),
void slotFontDatabaseDelayedChange())
831 QColor value(
const QtProperty* property)
const;
834 void setValue(
QtProperty* property,
const QColor& val);
845 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
850 Q_PRIVATE_SLOT(d_func(),
void slotIntChanged(
QtProperty*,
int))
851 Q_PRIVATE_SLOT(d_func(),
void slotPropertyDestroyed(
QtProperty*))
863 QCursor value(
const QtProperty* property)
const;
867 void setValue(
QtProperty* property,
const QCursor& val);
878 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
885 #if QT_VERSION >= 0x040400
The QtAbstractPropertyManager provides an interface for property managers.
Definition: qtpropertybrowser.h:153
virtual EchoMode echoMode(const QtProperty *) const
Definition: qtpropertybrowser.cpp:735
virtual QString displayText(const QtProperty *property) const
Definition: qtpropertybrowser.cpp:722
virtual QIcon valueIcon(const QtProperty *property) const
Definition: qtpropertybrowser.cpp:694
virtual void initializeProperty(QtProperty *property)=0
virtual bool hasValue(const QtProperty *property) const
Definition: qtpropertybrowser.cpp:680
virtual QString valueText(const QtProperty *property) const
Definition: qtpropertybrowser.cpp:708
virtual void uninitializeProperty(QtProperty *property)
Definition: qtpropertybrowser.cpp:799
Definition: qtpropertymanager.cpp:1624
The QtBoolPropertyManager class provides and manages boolean properties.
Definition: qtpropertymanager.h:132
void valueChanged(QtProperty *property, bool val)
void textVisibleChanged(QtProperty *property, bool)
Definition: qtpropertymanager.cpp:2347
The QtCharPropertyManager provides and manages QChar properties.
Definition: qtpropertymanager.h:363
void valueChanged(QtProperty *property, const QChar &val)
Definition: qtpropertymanager.cpp:6457
The QtColorPropertyManager provides and manages QColor properties.
Definition: qtpropertymanager.h:823
void valueChanged(QtProperty *property, const QColor &val)
Definition: qtpropertymanager.cpp:6756
The QtCursorPropertyManager provides and manages QCursor properties.
Definition: qtpropertymanager.h:856
void valueChanged(QtProperty *property, const QCursor &val)
Definition: qtpropertymanager.cpp:1801
The QtDatePropertyManager provides and manages QDate properties.
Definition: qtpropertymanager.h:245
void rangeChanged(QtProperty *property, const QDate &minVal, const QDate &maxVal)
void valueChanged(QtProperty *property, const QDate &val)
Definition: qtpropertymanager.cpp:2137
The QtDateTimePropertyManager provides and manages QDateTime properties.
Definition: qtpropertymanager.h:307
void valueChanged(QtProperty *property, const QDateTime &val)
Definition: qtpropertymanager.cpp:937
The QtDoublePropertyManager provides and manages double properties.
Definition: qtpropertymanager.h:164
void readOnlyChanged(QtProperty *property, bool readOnly)
void valueChanged(QtProperty *property, double val)
void singleStepChanged(QtProperty *property, double step)
void decimalsChanged(QtProperty *property, int prec)
void rangeChanged(QtProperty *property, double minVal, double maxVal)
Definition: qtpropertymanager.cpp:5072
The QtEnumPropertyManager provides and manages enum properties.
Definition: qtpropertymanager.h:680
void enumIconsChanged(QtProperty *property, const QMap< int, QIcon > &icons)
void enumNamesChanged(QtProperty *property, const QStringList &names)
void valueChanged(QtProperty *property, int val)
Definition: qtpropertymanager.cpp:5340
The QtFlagPropertyManager provides and manages flag properties.
Definition: qtpropertymanager.h:715
void flagNamesChanged(QtProperty *property, const QStringList &names)
void valueChanged(QtProperty *property, int val)
Definition: qtpropertymanager.cpp:5981
The QtFontPropertyManager provides and manages QFont properties.
Definition: qtpropertymanager.h:784
void valueChanged(QtProperty *property, const QFont &val)
The description of this class will come soon !
Definition: qtpropertymanager.h:73
~QtGroupPropertyManager() override=default
Definition: qtpropertymanager.cpp:640
The QtIntPropertyManager provides and manages int properties.
Definition: qtpropertymanager.h:92
bool isReadOnly(const QtProperty *property) const
void rangeChanged(QtProperty *property, int minVal, int maxVal)
void singleStepChanged(QtProperty *property, int step)
void valueChanged(QtProperty *property, int val)
void readOnlyChanged(QtProperty *property, bool readOnly)
Definition: qtpropertymanager.cpp:2244
The QtKeySequencePropertyManager provides and manages QKeySequence properties.
Definition: qtpropertymanager.h:335
void valueChanged(QtProperty *property, const QKeySequence &val)
Definition: qtpropertymanager.cpp:2449
The QtLocalePropertyManager provides and manages QLocale properties.
Definition: qtpropertymanager.h:392
void valueChanged(QtProperty *property, const QLocale &val)
Definition: qtpropertymanager.cpp:2894
The QtPointFPropertyManager provides and manages QPointF properties.
Definition: qtpropertymanager.h:456
void valueChanged(QtProperty *property, const QPointF &val)
void decimalsChanged(QtProperty *property, int prec)
Definition: qtpropertymanager.cpp:2688
The QtPointPropertyManager provides and manages QPoint properties.
Definition: qtpropertymanager.h:424
void valueChanged(QtProperty *property, const QPoint &val)
The QtProperty class encapsulates an instance of a property.
Definition: qtpropertybrowser.h:113
Definition: qtpropertymanager.cpp:4307
The QtRectFPropertyManager provides and manages QRectF properties.
Definition: qtpropertymanager.h:605
void constraintChanged(QtProperty *property, const QRectF &constraint)
void decimalsChanged(QtProperty *property, int prec)
void valueChanged(QtProperty *property, const QRectF &val)
Definition: qtpropertymanager.cpp:3895
The QtRectPropertyManager provides and manages QRect properties.
Definition: qtpropertymanager.h:570
void constraintChanged(QtProperty *property, const QRect &constraint)
void valueChanged(QtProperty *property, const QRect &val)
Definition: qtpropertymanager.cpp:3501
The QtSizeFPropertyManager provides and manages QSizeF properties.
Definition: qtpropertymanager.h:529
void valueChanged(QtProperty *property, const QSizeF &val)
void rangeChanged(QtProperty *property, const QSizeF &minVal, const QSizeF &maxVal)
void decimalsChanged(QtProperty *property, int prec)
Definition: qtpropertymanager.cpp:5665
The QtSizePolicyPropertyManager provides and manages QSizePolicy properties.
Definition: qtpropertymanager.h:750
void valueChanged(QtProperty *property, const QSizePolicy &val)
Definition: qtpropertymanager.cpp:3165
The QtSizePropertyManager provides and manages QSize properties.
Definition: qtpropertymanager.h:491
void valueChanged(QtProperty *property, const QSize &val)
void rangeChanged(QtProperty *property, const QSize &minVal, const QSize &maxVal)
Definition: qtpropertymanager.cpp:1303
The QtStringPropertyManager provides and manages QString properties.
Definition: qtpropertymanager.h:207
void readOnlyChanged(QtProperty *property, bool)
void valueChanged(QtProperty *property, const QString &val)
void echoModeChanged(QtProperty *property, const int)
void regExpChanged(QtProperty *property, const QRegularExpression ®Exp)
Definition: qtpropertymanager.cpp:2028
The QtTimePropertyManager provides and manages QTime properties.
Definition: qtpropertymanager.h:279
void valueChanged(QtProperty *property, const QTime &val)
Definition: qtpropertymanager.cpp:4783
The QtVector3DPropertyManager provides and manages QVector3D properties.
Definition: qtpropertymanager.h:645
void valueChanged(QtProperty *property, const QVector3D &val)
void decimalsChanged(QtProperty *property, int prec)
#define QT_QTPROPERTYBROWSER_EXPORT
Definition: qtpropertybrowser.h:59
QLineEdit::EchoMode EchoMode
Definition: qtpropertybrowser.h:62