File tree Expand file tree Collapse file tree 3 files changed +63
-1
lines changed Expand file tree Collapse file tree 3 files changed +63
-1
lines changed Original file line number Diff line number Diff line change 1
1
#include " mainwindow.h"
2
2
#include < QApplication>
3
3
4
+ #include < iostream>
5
+
6
+
4
7
int main (int argc, char *argv[])
5
8
{
6
9
QApplication a (argc, argv);
7
10
MainWindow w;
8
11
w.show ();
9
12
13
+
14
+
10
15
return a.exec ();
11
16
}
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ HEADERS += \
32
32
mainwindow.h
33
33
34
34
FORMS += \
35
- mainwindow.ui
35
+ mainwindow.ui \
36
+ wfor.ui
36
37
37
38
# Default rules for deployment.
38
39
qnx: target.path = /tmp/ $${TARGET }/bin
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <ui version =" 4.0" >
3
+ <class >Form</class >
4
+ <widget class =" QWidget" name =" Form" >
5
+ <property name =" geometry" >
6
+ <rect >
7
+ <x >0</x >
8
+ <y >0</y >
9
+ <width >541</width >
10
+ <height >343</height >
11
+ </rect >
12
+ </property >
13
+ <property name =" windowTitle" >
14
+ <string >Form</string >
15
+ </property >
16
+ <layout class =" QGridLayout" name =" gridLayout" >
17
+ <item row =" 0" column =" 0" >
18
+ <layout class =" QVBoxLayout" name =" verticalLayout" >
19
+ <item >
20
+ <layout class =" QHBoxLayout" name =" horizontalLayout" >
21
+ <item >
22
+ <spacer name =" horizontalSpacer" >
23
+ <property name =" orientation" >
24
+ <enum >Qt::Horizontal</enum >
25
+ </property >
26
+ <property name =" sizeHint" stdset =" 0" >
27
+ <size >
28
+ <width >40</width >
29
+ <height >20</height >
30
+ </size >
31
+ </property >
32
+ </spacer >
33
+ </item >
34
+ <item >
35
+ <widget class =" QPushButton" name =" pushButton" >
36
+ <property name =" text" >
37
+ <string >PushButton</string >
38
+ </property >
39
+ </widget >
40
+ </item >
41
+ </layout >
42
+ </item >
43
+ <item >
44
+ <widget class =" QPushButton" name =" pushButton_2" >
45
+ <property name =" text" >
46
+ <string >PushButton</string >
47
+ </property >
48
+ </widget >
49
+ </item >
50
+ </layout >
51
+ </item >
52
+ </layout >
53
+ </widget >
54
+ <resources />
55
+ <connections />
56
+ </ui >
You can’t perform that action at this time.
0 commit comments