diff options
| author | Niklas | 2011-09-01 09:31:39 +0200 |
|---|---|---|
| committer | Niklas | 2011-09-01 09:31:39 +0200 |
| commit | 4e1b9faba7503f99ee2fbcd7458f66ade42fa309 (patch) | |
| tree | 4f9668c17d4dbf103ba71302624a387b080301a3 /LogReceiver/chooseinterfacedialog.h | |
| parent | some minor changes (diff) | |
| download | fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.gz fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.xz fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.zip | |
tried to clean the git. deleted old unused files and folders. moved customdhcpcd and LogReceiver to the fbgui folder
Diffstat (limited to 'LogReceiver/chooseinterfacedialog.h')
| -rw-r--r-- | LogReceiver/chooseinterfacedialog.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/LogReceiver/chooseinterfacedialog.h b/LogReceiver/chooseinterfacedialog.h new file mode 100644 index 0000000..48ee038 --- /dev/null +++ b/LogReceiver/chooseinterfacedialog.h @@ -0,0 +1,44 @@ +#ifndef CHOOSEINTERFACEDIALOG_H +#define CHOOSEINTERFACEDIALOG_H + +#include <QDialog> +#include "qboxlayout.h" +#include "qgroupbox.h" +#include "qcombobox.h" +#include "qlabel.h" + +class ChooseInterfaceDialog : public QDialog +{ + Q_OBJECT +public: + explicit ChooseInterfaceDialog(QStringList &interfaces, QWidget *parent = 0); +private slots: + void continueButtonClicked(); + void shutDownButtonClicked(); + void restartButtonClicked(); + void timerLabelUpdate(); + +private: + QVBoxLayout *mainLayout; + QGroupBox *contentGroupBox; + QGroupBox *buttonGroupBox; + QComboBox *comboBox; + QLabel *timerLabel; + QTimer *timer; + int oneMinuteCountdown; + + void createContentGroupBox(QStringList &interfaces); + void createButtonGroupBox(); + void createTimer(); + +signals: + void continueSignal(QString ifName); + void shutDownSignal(); + void restartSignal(); + + +public slots: + +}; + +#endif // CHOOSEINTERFACEDIALOG_H |
