summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/function_dialogs/crescendo.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/widgets/function_dialogs/crescendo.h')
-rw-r--r--muse2/muse/widgets/function_dialogs/crescendo.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/muse2/muse/widgets/function_dialogs/crescendo.h b/muse2/muse/widgets/function_dialogs/crescendo.h
new file mode 100644
index 00000000..eb00e94f
--- /dev/null
+++ b/muse2/muse/widgets/function_dialogs/crescendo.h
@@ -0,0 +1,46 @@
+//=========================================================
+// MusE
+// Linux Music Editor
+// $Id: crescendo.h,v 1.1.1.1 2011/05/05 18:51:04 flo93 Exp $
+// (C) Copyright 2011 Florian Jung (flo93@sourceforge.net)
+//=========================================================
+
+#ifndef __CRESCENDO_H__
+#define __CRESCENDO_H__
+
+#include "ui_crescendobase.h"
+
+class QButtonGroup;
+class Xml;
+
+class Crescendo : public QDialog, public Ui::CrescendoBase
+{
+ private:
+ Q_OBJECT
+ QButtonGroup* range_group;
+
+ protected slots:
+ void accept();
+ void pull_values();
+
+ public:
+ Crescendo(QWidget* parent = 0);
+
+ int range;
+ int start_val;
+ int end_val;
+ bool absolute;
+
+ void read_configuration(Xml& xml);
+ void write_configuration(int level, Xml& xml);
+
+
+ public slots:
+ int exec();
+
+ private slots:
+ void absolute_changed(bool);
+};
+
+#endif
+