summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/function_dialogs/velocity.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/widgets/function_dialogs/velocity.h')
-rw-r--r--muse2/muse/widgets/function_dialogs/velocity.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/muse2/muse/widgets/function_dialogs/velocity.h b/muse2/muse/widgets/function_dialogs/velocity.h
new file mode 100644
index 00000000..cbea4e22
--- /dev/null
+++ b/muse2/muse/widgets/function_dialogs/velocity.h
@@ -0,0 +1,45 @@
+//=========================================================
+// MusE
+// Linux Music Editor
+// $Id: velocity.h,v 1.1.1.1 2003/10/27 18:54:51 wschweer Exp $
+// (C) Copyright 2001 Werner Schweer (ws@seh.de)
+//=========================================================
+
+#ifndef __VELOCITY_H__
+#define __VELOCITY_H__
+
+#include "ui_velocitybase.h"
+
+class QButtonGroup;
+class Xml;
+
+//---------------------------------------------------------
+// Velocity
+//---------------------------------------------------------
+
+class Velocity : public QDialog, public Ui::VelocityBase {
+ private:
+ Q_OBJECT
+ QButtonGroup* rangeGroup;
+
+ protected slots:
+ void accept();
+ void pullValues();
+
+ public:
+ Velocity(QWidget* parent = 0);
+
+ int range;
+ int rateVal;
+ int offsetVal;
+
+ void read_configuration(Xml& xml);
+ void write_configuration(int level, Xml& xml);
+
+
+ public slots:
+ int exec();
+ };
+
+#endif
+