-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.ui
188 lines (188 loc) · 5.08 KB
/
mainwindow.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="windowIcon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/ibcp.png</normaloff>:/images/ibcp.png</iconset>
</property>
<widget class="QWidget" name="centralWidget"/>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&File</string>
</property>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionSaveAs"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&Help</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionAboutQt"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionNew">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/file-new.png</normaloff>:/images/file-new.png</iconset>
</property>
<property name="text">
<string>&New</string>
</property>
<property name="iconText">
<string>New</string>
</property>
<property name="statusTip">
<string>Create a new program</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/file-open.png</normaloff>:/images/file-open.png</iconset>
</property>
<property name="text">
<string>&Open...</string>
</property>
<property name="statusTip">
<string>Open an existing program</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/file-save.png</normaloff>:/images/file-save.png</iconset>
</property>
<property name="text">
<string>&Save</string>
</property>
<property name="statusTip">
<string>Save the program to disk</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionSaveAs">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/file-save-as.png</normaloff>:/images/file-save-as.png</iconset>
</property>
<property name="text">
<string>Save &As...</string>
</property>
<property name="statusTip">
<string>Save the program to a new file</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
</property>
</action>
<action name="actionExit">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/file-exit.png</normaloff>:/images/file-exit.png</iconset>
</property>
<property name="text">
<string>E&xit</string>
</property>
<property name="statusTip">
<string>Exit IBCP</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionAbout">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/help-about.png</normaloff>:/images/help-about.png</iconset>
</property>
<property name="text">
<string>&About</string>
</property>
<property name="statusTip">
<string>Show the IBCP About box</string>
</property>
</action>
<action name="actionAboutQt">
<property name="icon">
<iconset resource="ibcp.qrc">
<normaloff>:/images/help-about-qt.png</normaloff>:/images/help-about-qt.png</iconset>
</property>
<property name="text">
<string>About &Qt</string>
</property>
<property name="statusTip">
<string>Show the Qt library's About box</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="ibcp.qrc"/>
</resources>
<connections>
<connection>
<sender>actionExit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
</connections>
</ui>