summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/muse/widgets/spinbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'attic/muse2-oom/muse2/muse/widgets/spinbox.h')
-rw-r--r--attic/muse2-oom/muse2/muse/widgets/spinbox.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/attic/muse2-oom/muse2/muse/widgets/spinbox.h b/attic/muse2-oom/muse2/muse/widgets/spinbox.h
deleted file mode 100644
index 43ff85be..00000000
--- a/attic/muse2-oom/muse2/muse/widgets/spinbox.h
+++ /dev/null
@@ -1,43 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: spinbox.h,v 1.1.2.2 2009/02/02 21:38:01 terminator356 Exp $
-// (C) Copyright 2001 Werner Schweer (ws@seh.de)
-//=========================================================
-
-// SpinBox:
-// Click up/down, or mousewheel, or hit enter with un-modified text (which means enter TWICE for modified text),
-// and the control will give up focus, thereby allowing you to use global shortcut keys afterwards.
-// Up/down keys still keep the focus.
-#ifndef __SPINBOX_H__
-#define __SPINBOX_H__
-
-#include <QSpinBox>
-#include <QEvent>
-
-//---------------------------------------------------------
-// SpinBox
-//---------------------------------------------------------
-
-class SpinBox : public QSpinBox {
- Q_OBJECT
-
- bool _clearFocus;
-
- protected:
- bool eventFilter(QObject* obj, QEvent* ev);
-
- public slots:
- virtual void stepUp();
- virtual void stepDown();
-
- signals:
- void doubleClicked();
-
- public:
- SpinBox(QWidget* parent=0);
- SpinBox(int minValue, int maxValue, int step = 1, QWidget* parent=0);
-};
-
-#endif
-