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;
88 Q_PROPERTY(
int decimals READ decimals WRITE setDecimals)
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;
The QAbstractSpinBox class provides a spinbox and a line edit to display values.
virtual void fixup(QString &input) const
This virtual function is called by the QAbstractSpinBox if the input is not validated to QValidator::...
StepType
\value DefaultStepType \value AdaptiveDecimalStepType
virtual QValidator::State validate(QString &input, int &pos) const
This virtual function is called by the QAbstractSpinBox to determine whether input is valid.
The QDoubleSpinBox class provides a spin box widget that takes doubles.
void valueChanged(double)
This signal is emitted whenever the spin box's value is changed.
void textChanged(const QString &)
The QSpinBox class provides a spin box widget.
void valueChanged(int)
This signal is emitted whenever the spin box's value is changed.
\macro QT_RESTRICTED_CAST_FROM_ASCII
State
This enum type defines the states in which a validated string can exist.
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)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent