7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qabstractspinbox.h>
24 Q_PROPERTY(
int singleStep READ singleStep WRITE setSingleStep)
27 Q_PROPERTY(
int displayIntegerBase READ displayIntegerBase WRITE setDisplayIntegerBase)
43 int singleStep() const;
44 void setSingleStep(
int val);
57 int displayIntegerBase() const;
58 void setDisplayIntegerBase(
int base);
63 virtual
int valueFromText(const
QString &
text) const;
72 void valueChanged(
int);
91 Q_PROPERTY(
double singleStep READ singleStep WRITE setSingleStep)
108 double singleStep() const;
109 void setSingleStep(
double val);
111 double minimum() const;
114 double maximum() const;
117 void setRange(
double min,
double max);
120 void setStepType(
StepType stepType);
122 int decimals() const;
123 void setDecimals(
int prec);
126 virtual
double valueFromText(const
QString &
text) const;
127 virtual
QString textFromValue(
double val) const;
134 void valueChanged(
double);
The QAbstractSpinBox class provides a spinbox and a line edit to display values.
StepType
\value DefaultStepType \value AdaptiveDecimalStepType
The QDoubleSpinBox class provides a spin box widget that takes doubles.
The QSpinBox class provides a spin box widget.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QValidator class provides validation of input text.
void textChanged(const QString &newText)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLenum GLenum input
#define QT_REQUIRE_CONFIG(feature)
settings setValue("DataPump/bgcolor", color)