1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>EditorWindow</class>
4 <widget class="QMainWindow" name="EditorWindow">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>MainWindow</string>
16 <widget class="QWidget" name="centralwidget">
17 <layout class="QVBoxLayout" name="verticalLayout_2">
18 <property name="margin">
22 <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
23 <property name="sizeConstraint">
24 <enum>QLayout::SetMaximumSize</enum>
26 <property name="leftMargin">
29 <property name="rightMargin">
33 <widget class="My_Edit" name="e">
34 <property name="acceptDrops">
40 <widget class="QTextEdit" name="msg">
41 <property name="sizePolicy">
42 <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
43 <horstretch>0</horstretch>
44 <verstretch>0</verstretch>
47 <property name="maximumSize">
49 <width>16777215</width>
53 <property name="autoFillBackground">
56 <property name="readOnly">
59 <property name="acceptRichText">
68 <widget class="QMenuBar" name="menubar">
69 <property name="geometry">
77 <widget class="QMenu" name="menuFile">
78 <property name="title">
81 <addaction name="actionNew"/>
82 <addaction name="actionOpen"/>
83 <addaction name="actionSave"/>
84 <addaction name="actionSave_as"/>
85 <addaction name="separator"/>
86 <addaction name="actionQuit"/>
88 <widget class="QMenu" name="menuEdit">
89 <property name="title">
92 <addaction name="actionUndo"/>
93 <addaction name="actionRedo"/>
94 <addaction name="separator"/>
95 <addaction name="actionCopy"/>
96 <addaction name="actionPaste"/>
97 <addaction name="actionCut"/>
98 <addaction name="actionClear_all"/>
99 <addaction name="separator"/>
100 <addaction name="actionFind"/>
101 <addaction name="actionFind_next"/>
103 <widget class="QMenu" name="menuTools">
104 <property name="title">
105 <string>Tools</string>
107 <addaction name="actionCompile"/>
108 <addaction name="separator"/>
109 <addaction name="actionProperties"/>
111 <addaction name="menuFile"/>
112 <addaction name="menuEdit"/>
113 <addaction name="menuTools"/>
115 <widget class="QStatusBar" name="statusbar"/>
116 <action name="actionNew">
117 <property name="text">
120 <property name="shortcut">
121 <string>Ctrl+N</string>
124 <action name="actionOpen">
125 <property name="text">
126 <string>Open</string>
128 <property name="shortcut">
129 <string>Ctrl+O</string>
132 <action name="actionSave">
133 <property name="text">
134 <string>Save</string>
136 <property name="shortcut">
137 <string>Ctrl+S</string>
140 <action name="actionSave_as">
141 <property name="text">
142 <string>Save as</string>
144 <property name="shortcut">
145 <string>Ctrl+Shift+S</string>
148 <action name="actionQuit">
149 <property name="text">
150 <string>Quit</string>
153 <action name="actionCopy">
154 <property name="text">
155 <string>Copy</string>
157 <property name="shortcut">
158 <string>Ctrl+C</string>
161 <action name="actionPaste">
162 <property name="text">
163 <string>Paste</string>
165 <property name="shortcut">
166 <string>Ctrl+V</string>
169 <action name="actionCut">
170 <property name="text">
173 <property name="shortcut">
174 <string>Ctrl+X</string>
177 <action name="actionClear_all">
178 <property name="text">
179 <string>Clear All</string>
182 <action name="actionFind">
183 <property name="text">
184 <string>Find</string>
186 <property name="shortcut">
187 <string>Ctrl+F</string>
190 <action name="actionFind_next">
191 <property name="text">
192 <string>Find Next</string>
194 <property name="shortcut">
195 <string>Ctrl+L</string>
198 <action name="actionCompile">
199 <property name="text">
200 <string>Compile</string>
203 <action name="actionProperties">
204 <property name="text">
205 <string>Properties</string>
208 <action name="actionUndo">
209 <property name="text">
210 <string>Undo</string>
212 <property name="shortcut">
213 <string>Ctrl+Z</string>
216 <action name="actionRedo">
217 <property name="text">
218 <string>Redo</string>
220 <property name="shortcut">
221 <string>Ctrl+Shift+Z</string>
227 <class>My_Edit</class>
228 <extends>QTextEdit</extends>
229 <header>../my_edit.h</header>