blob: 5486cbb6fee9ed0c16cd76cee91d1420f8fc7b03 [file] [log] [blame]
Ilya Moiseenko18c8a132013-10-24 01:52:52 -07001/* -*- 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
19class FibInputDialog : public QDialog
20{
21 Q_OBJECT
22
23public:
24 FibInputDialog(QWidget *parent = 0);
Ilya Moiseenko69abb972013-11-04 16:02:20 -080025 void clear();
Ilya Moiseenko18c8a132013-10-24 01:52:52 -070026 QString getPrefixName();
27 QString getEndpoint();
28 QString getTunnelType();
29
30private:
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