40 #ifndef QABSTRACTSPINBOX_P_H
41 #define QABSTRACTSPINBOX_P_H
54 #include <QtWidgets/private/qtwidgetsglobal_p.h>
55 #include "QtWidgets/qabstractspinbox.h"
57 #include "QtWidgets/qlineedit.h"
58 #include "QtWidgets/qstyleoption.h"
59 #include "QtGui/qvalidator.h"
60 #include "QtCore/qdatetime.h"
61 #include "QtCore/qvariant.h"
62 #include "private/qwidget_p.h"
99 void updateState(
bool up,
bool fromKeyboard =
false);
The QAbstractSpinBox class provides a spinbox and a line edit to display values.
virtual QVariant valueFromText(const QString &input) const
virtual void emitSignals(EmitPolicy ep, const QVariant &old)
QAbstractSpinBox::StepType stepType
virtual QStyle::SubControl newHoverControl(const QPoint &pos)
static QVariant variantBound(const QVariant &min, const QVariant &value, const QVariant &max)
int spinClickTimerInterval
virtual QVariant getZeroVariant() const
QAbstractSpinBox::ButtonSymbols buttonSymbols
virtual void setRange(const QVariant &min, const QVariant &max)
QSpinBoxValidator * validator
bool specialValue() const
static int variantCompare(const QVariant &arg1, const QVariant &arg2)
QString stripped(const QString &text, int *pos=nullptr) const
Qt::KeyboardModifier stepModifier
int spinClickThresholdTimerId
virtual void updateEdit()
QAbstractSpinBoxPrivate()
uint ignoreCursorPositionChanged
int effectiveSpinRepeatRate
Qt::KeyboardModifiers keyboardModifiers
void _q_editorTextChanged(const QString &)
virtual void interpret(EmitPolicy ep)
QStyle::SubControl hoverControl
virtual void updateEditFieldGeometry()
QSize cachedMinimumSizeHint
virtual QString textFromValue(const QVariant &n) const
void updateState(bool up, bool fromKeyboard=false)
virtual void _q_editorCursorPositionChanged(int oldpos, int newpos)
virtual QVariant bound(const QVariant &val, const QVariant &old=QVariant(), int steps=0) const
virtual void clearCache() const
QValidator::State cachedState
void setValue(const QVariant &val, EmitPolicy ep, bool updateEdit=true)
bool updateHoverControl(const QPoint &pos)
QAbstractSpinBox::CorrectionMode correctionMode
int spinClickThresholdTimerInterval
~QAbstractSpinBoxPrivate()
virtual QVariant calculateAdaptiveDecimalStep(int steps) const
const QByteArray operator+(const QByteArray &a1, const QByteArray &a2)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal.
The QLineEdit widget is a one-line text editor.
QMargins operator*(const QMargins &margins, int factor)
QMargins operator/(const QMargins &margins, int divisor)
QMargins operator-(const QMargins &m1, const QMargins &m2)
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
void fixup(QString &) const override
QSpinBoxValidator(QAbstractSpinBox *qptr, QAbstractSpinBoxPrivate *dptr)
QValidator::State validate(QString &input, int &) const override
The QString class provides a Unicode character string.
The QValidator class provides validation of input text. \inmodule QtGui.
The QVariant class acts like a union for the most common Qt data types.
QT_REQUIRE_CONFIG(spinbox)
EGLOutputLayerEXT EGLint EGLAttrib value
GLuint GLuint GLuint GLuint arg1
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
GLenum GLenum GLenum input