Began removal of platform/. The Monitor:: namespace is completely converted.
[aesalon.git] / src / gui / Configuration.h
blob4f5e7a87da243afb308f8110a8339d37574bfbad
1 #ifndef AESALON_GUI_CONFIGURATION_H
2 #define AESALON_GUI_CONFIGURATION_H
4 #include <QWidget>
5 #include <QDialog>
6 #include <QFormLayout>
7 #include <QLineEdit>
8 #include <QDialogButtonBox>
9 #include <QFileDialog>
10 #include <QPushButton>
12 namespace Aesalon {
13 namespace GUI {
15 class Configuration : public QDialog { Q_OBJECT
16 private:
17 QVBoxLayout *main_layout;
18 QFormLayout *form_layout;
19 QHBoxLayout *aesalon_path_layout;
20 QLineEdit *aesalon_path;
21 QPushButton *aesalon_path_select_dialog;
22 QFileDialog *aesalon_path_file_selector;
23 QHBoxLayout *xterm_path_layout;
24 QLineEdit *xterm_path;
25 QPushButton *xterm_path_select_dialog;
26 QFileDialog *xterm_path_file_selector;
27 QDialogButtonBox *button_box;
29 public:
30 Configuration(QWidget *parent = 0);
31 virtual ~Configuration() {}
32 private slots:
33 void change_aesalon_path(QString new_path) {
34 aesalon_path->setText(new_path);
36 void change_xterm_path(QString new_path) {
37 xterm_path->setText(new_path);
39 public slots:
40 void accept();
43 } // namespace GUI
44 } // namespace Aesalon
46 #endif