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 {
22 AddNodeDialog(QWidget * parent = 0);
30 * Gets user-passed node number
32 * @return node number entered in dialog
37 * Gets user-passed ip address
39 * @return ip address entered in dialog
41 QString getIPAddress();
44 * Gets user-passed connection type
46 * @return connection type entered in dialog
48 QString getConnectionType();
51 * Gets user-passed programs directory
53 * @return programs directory entered in dialog
55 QString getProgramsDirectory();
58 * Gets user-passed VLP directory
60 * @return VLP directory entered in dialog
62 QString getVLPDirectory();
69 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */