1 #ifndef AESALON_GUI_CONFIGURATION_H
2 #define AESALON_GUI_CONFIGURATION_H
8 #include <QDialogButtonBox>
10 #include <QPushButton>
15 class Configuration
: public QDialog
{ Q_OBJECT
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
;
30 Configuration(QWidget
*parent
= 0);
31 virtual ~Configuration() {}
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
);
44 } // namespace Aesalon