working optins with orientation and column order/selection
[tomamp] / tomamp / optiondialog.h
1 #ifndef OPTIONDIALOG_H
2 #define OPTIONDIALOG_H
3
4 #include <QDialog>
5 #include <QSettings>
6
7 class QComboBox;
8 class QVBoxLayout;
9
10 class OptionDialog : public QDialog
11 {
12     Q_OBJECT
13 public:
14     explicit OptionDialog(QWidget *parent, QSettings& set);
15     ~OptionDialog ();
16
17 signals:
18
19 public slots:
20 private slots:
21     void orderControl (QString);
22 private:
23     void upColumn (int i);
24     void downColumn (int i);
25     void    setupUi ();
26     QSettings& settings;
27     QComboBox* orient;
28     QStringList availableHeaders;
29     QVBoxLayout *headerLayout;
30 };
31
32 #endif // OPTIONDIALOG_H