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"
14 * Program Unit Dialog class
15 * Displays dialog for generating code template for unit structure
17 class AddNodeDialog : public QDialog, private Ui::AddNodeDialog {
23 AddNodeDialog(QWidget * parent = 0);
31 * Gets user-passed node number
33 * @return node number entered in dialog
38 * Gets user-passed ip address
40 * @return ip address entered in dialog
42 QString getIPAddress();
45 * Gets user-passed connection type
47 * @return connection type entered in dialog
49 QString getConnectionType();
52 * Gets user-passed programs directory
54 * @return programs directory entered in dialog
56 QString getProgramsDirectory();
59 * Gets user-passed VLP directory
61 * @return VLP directory entered in dialog
63 QString getVLPDirectory();
66 void on_programsDirButton_clicked();
67 void on_vlpDirButton_clicked();
74 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */