Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 1 | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /* |
| 3 | * @copyright See LICENCE for copyright and license information. |
| 4 | * |
| 5 | * @author Ilya Moiseenko <iliamo@ucla.edu> |
| 6 | */ |
| 7 | |
| 8 | #include <QDialog> |
| 9 | #include <QLabel> |
| 10 | #include <QDialogButtonBox> |
| 11 | #include <QPushButton> |
| 12 | #include <QLineEdit> |
| 13 | #include <QComboBox> |
| 14 | #include <QString> |
| 15 | |
| 16 | #ifndef FIBINPUTDIALOG_H |
| 17 | #define FIBINPUTDIALOG_H |
| 18 | |
| 19 | class FibInputDialog : public QDialog |
| 20 | { |
| 21 | Q_OBJECT |
| 22 | |
| 23 | public: |
| 24 | FibInputDialog(QWidget *parent = 0); |
Ilya Moiseenko | 69abb97 | 2013-11-04 16:02:20 -0800 | [diff] [blame] | 25 | void clear(); |
Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 26 | QString getPrefixName(); |
| 27 | QString getEndpoint(); |
| 28 | QString getTunnelType(); |
| 29 | |
| 30 | private: |
| 31 | QLabel *prefixLabel; |
| 32 | QLineEdit *prefixTextField; |
| 33 | |
| 34 | QLabel *tunnelLabel; |
| 35 | QComboBox *tunnelComboBox; |
| 36 | |
| 37 | QLabel *endpointLabel; |
| 38 | QLineEdit *endpointTextField; |
| 39 | |
| 40 | QDialogButtonBox *buttonBox; |
| 41 | QPushButton *okButton; |
| 42 | QPushButton *cancelButton; |
| 43 | }; |
| 44 | |
| 45 | #endif // FIBINPUTDIALOG_H |