16 #ifndef QGSDOUBLESPPINBOX_H
17 #define QGSDOUBLESPPINBOX_H
19 #include <QDoubleSpinBox>
20 #include <QToolButton>
28 Q_PROPERTY(
bool showClearButton READ showClearButton WRITE setShowClearButton )
35 void setShowClearButton(
const bool showClearButton );
42 virtual void resizeEvent( QResizeEvent* event );
43 virtual void changeEvent( QEvent* event );
46 void changed(
const double &value );
49 int frameWidth()
const;
51 bool mShowClearButton;
53 QToolButton* mClearButton;
56 #endif // QGSDOUBLESPPINBOX_H