summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/arrangercolumns.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-02-24 19:32:40 +0000
committerFlorian Jung <flo@windfisch.org>2012-02-24 19:32:40 +0000
commitf97dd6a44d1050aa2f4c300c9ad32e2c5453ed98 (patch)
tree097c0e032d1fa5e5c5104759353974398debf381 /muse2/muse/widgets/arrangercolumns.h
parent3ffd0dacdd7447c6c377f95c1fa7fc45a2612d98 (diff)
made custom columns editable.
TODO FIXME: you need to restart MusE to apply them
Diffstat (limited to 'muse2/muse/widgets/arrangercolumns.h')
-rw-r--r--muse2/muse/widgets/arrangercolumns.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/muse2/muse/widgets/arrangercolumns.h b/muse2/muse/widgets/arrangercolumns.h
new file mode 100644
index 00000000..02fbff9c
--- /dev/null
+++ b/muse2/muse/widgets/arrangercolumns.h
@@ -0,0 +1,53 @@
+//=========================================================
+// MusE
+// Linux Music Editor
+// $Id: arrangercolumns.h, flo93 $
+//
+// (C) Copyright 2012 Florian Jung (florian.a.jung@web.de)
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+//=========================================================
+
+#ifndef __ARRANGERCOLUMNS_H__
+#define __ARRANGERCOLUMNS_H__
+
+#include "ui_arrangercolumnsbase.h"
+#include <QDialog>
+
+namespace MusEGui {
+
+class ArrangerColumns : public QDialog, private Ui::ArrangerColumnsBase
+{
+ Q_OBJECT
+
+ public:
+ ArrangerColumns(QWidget* parent);
+
+ private slots:
+ void ctrlTypeChanged(int idx);
+ void somethingChanged();
+ void initList();
+ void itemSelected(int idx);
+ void addEntry();
+ void delEntry();
+
+ QString getListEntryString(int idx);
+};
+
+} // namespace MusEGui
+
+#endif
+