1 #ifndef _VLP_EDITOR_UNITSTRUCTUREDIALOG_H
2 #define _VLP_EDITOR_UNITSTRUCTUREDIALOG_H
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
7 #include "ui/dialogs/UnitStructureDialog.h"
18 * Program Unit Dialog class
19 * Displays dialog for generating code template for unit structure
21 class UnitStructureDialog : public QDialog, private Ui::UnitStructureDialog {
26 UnitStructureDialog(QWidget * parent = 0);
31 ~UnitStructureDialog();
34 * Gets user-passed unit name
36 * @return unit name entered in dialog
38 QString getUnitName();
41 * Gets unit code template
43 * @return unit code template with unit name
52 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */