20 #ifndef _ANGLESPINBOX_HPP_
21 #define _ANGLESPINBOX_HPP_
23 #include <QAbstractSpinBox>
61 virtual void stepBy(
int steps);
62 virtual QValidator::State validate(QString& input,
int& pos)
const;
112 virtual StepEnabled stepEnabled()
const;
116 void updateValue(
void);
126 double stringToDouble(QString input, QValidator::State* state,
PrefixType prefix=Unknown)
const;
129 enum AngleSpinboxSection
139 AngleSpinboxSection getCurrentSection()
const;
144 void formatText(
void);
146 static const QString positivePrefix(
PrefixType prefix);
147 static const QString negativePrefix(
PrefixType prefix);
156 #endif // _ANGLESPINBOX_HPP_