summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/spinbox.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-07 03:27:48 +0000
committerTim E. Real <termtech@rogers.com>2010-12-07 03:27:48 +0000
commit8e9886770af1022d88e6f92ff4fcceb3e50d0e55 (patch)
treefb42340c5d7a75278b7ed37478f066324fa59dde /muse2/muse/widgets/spinbox.h
parent45f13100f9b5d0fd5a9f4950e135c2ed6de0429c (diff)
Built Awl::posedit and Awl::sigedit, and replaced /widget versions and all usages.
Reverted class SpinBox to previous revision.
Diffstat (limited to 'muse2/muse/widgets/spinbox.h')
-rw-r--r--muse2/muse/widgets/spinbox.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/muse2/muse/widgets/spinbox.h b/muse2/muse/widgets/spinbox.h
index c40b97cf..43ff85be 100644
--- a/muse2/muse/widgets/spinbox.h
+++ b/muse2/muse/widgets/spinbox.h
@@ -13,10 +13,7 @@
#define __SPINBOX_H__
#include <QSpinBox>
-
-class QEvent;
-class QLineEdit;
-class QMouseEvent;
+#include <QEvent>
//---------------------------------------------------------
// SpinBox
@@ -26,29 +23,20 @@ class SpinBox : public QSpinBox {
Q_OBJECT
bool _clearFocus;
- StepEnabled upEnabled;
- StepEnabled downEnabled;
protected:
bool eventFilter(QObject* obj, QEvent* ev);
- virtual void mousePressEvent ( QMouseEvent * event );
- virtual StepEnabled stepEnabled() const;
-
+
public slots:
virtual void stepUp();
virtual void stepDown();
signals:
void doubleClicked();
- void stepDownPressed();
- void stepUpPressed();
public:
SpinBox(QWidget* parent=0);
SpinBox(int minValue, int maxValue, int step = 1, QWidget* parent=0);
- void setStepEnabled(bool up, bool down);
- int arrowWidth() const;
- void setEditor(QLineEdit* ed);
};
#endif