1 #ifndef _VLP_LGCONFIG_ADDNODEDIALOG_H
2 #define _VLP_LGCONFIG_ADDNODEDIALOG_H
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
7 #include "ui/dialogs/AddNodeDialog.h"
18 * Program Unit Dialog class
19 * Displays dialog for generating code template for unit structure
21 class AddNodeDialog : public QDialog, private Ui::AddNodeDialog {
27 AddNodeDialog(QWidget * parent = 0);
35 * Gets user-passed node number
37 * @return node number entered in dialog
42 * Gets user-passed ip address
44 * @return ip address entered in dialog
46 QString getIPAddress();
49 * Gets user-passed connection type
51 * @return connection type entered in dialog
53 QString getConnectionType();
56 * Gets user-passed programs directory
58 * @return programs directory entered in dialog
60 QString getProgramsDirectory();
63 * Gets user-passed VLP directory
65 * @return VLP directory entered in dialog
67 QString getVLPDirectory();
70 void on_programsDirButton_clicked();
71 void on_vlpDirButton_clicked();
78 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */