42 #ifndef QABSTRACTSPINBOX_H
43 #define QABSTRACTSPINBOX_H
58 class QAbstractSpinBoxPrivate;
67 Q_PROPERTY(
bool wrapping READ wrapping WRITE setWrapping)
69 Q_PROPERTY(
Qt::Alignment alignment READ alignment WRITE setAlignment)
70 Q_PROPERTY(
bool readOnly READ isReadOnly WRITE setReadOnly)
74 Q_PROPERTY(
bool accelerated READ isAccelerated WRITE setAccelerated)
77 Q_PROPERTY(
bool keyboardTracking READ keyboardTracking WRITE setKeyboardTracking)
83 StepDownEnabled = 0x02 };
84 Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag)
88 ButtonSymbols buttonSymbols()
const;
89 void setButtonSymbols(ButtonSymbols bs);
93 void setCorrectionMode(CorrectionMode cm);
94 CorrectionMode correctionMode()
const;
96 bool hasAcceptableInput()
const;
99 QString specialValueText()
const;
100 void setSpecialValueText(
const QString &txt);
102 bool wrapping()
const;
103 void setWrapping(
bool w);
105 void setReadOnly(
bool r);
106 bool isReadOnly()
const;
108 void setKeyboardTracking(
bool kt);
109 bool keyboardTracking()
const;
111 void setAlignment(Qt::Alignment flag);
112 Qt::Alignment alignment()
const;
115 bool hasFrame()
const;
117 void setAccelerated(
bool on);
118 bool isAccelerated()
const;
122 void interpretText();
130 virtual void stepBy(
int steps);
135 virtual void clear();
140 #ifndef QT_NO_WHEELEVENT
160 virtual StepEnabled stepEnabled()
const;
162 void editingFinished();
168 Q_PRIVATE_SLOT(d_func(),
void _q_editorCursorPositionChanged(
int,
int))
173 Q_DECLARE_OPERATORS_FOR_FLAGS(QAbstractSpinBox::StepEnabled)
175 #endif // QT_NO_SPINBOX
181 #endif // QABSTRACTSPINBOX_H
GLdouble GLdouble GLdouble r
GLenum GLenum GLenum input
#define Q_PRIVATE_SLOT(d, signature)
virtual void timerEvent(QTimerEvent *)
#define QT_BEGIN_NAMESPACE
GLubyte GLubyte GLubyte GLubyte w