aboutsummaryrefslogtreecommitdiffstats
path: root/bin/templates/qt4project/mywidget_form.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/templates/qt4project/mywidget_form.cpp')
-rw-r--r--bin/templates/qt4project/mywidget_form.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/templates/qt4project/mywidget_form.cpp b/bin/templates/qt4project/mywidget_form.cpp
new file mode 100644
index 0000000000..33b14afab8
--- /dev/null
+++ b/bin/templates/qt4project/mywidget_form.cpp
@@ -0,0 +1,13 @@
+#include "%INCLUDE%"
+#include "%UI_HDR%"
+
+%CLASS%::%CLASS%(QWidget *parent)
+ : %BASECLASS%(parent), ui(new Ui::%CLASS%Class)
+{
+ ui->setupUi(this);
+}
+
+%CLASS%::~%CLASS%()
+{
+ delete ui;
+}