vlp-27 Removed some unused code. Added undo&redo to menu. Removed maximum window...
[vlp.git] / data / editor / editor-window.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>EditorWindow</class>
4  <widget class="QMainWindow" name="EditorWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>523</width>
10     <height>473</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>MainWindow</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <layout class="QVBoxLayout" name="verticalLayout_2">
18     <property name="margin">
19      <number>0</number>
20     </property>
21     <item>
22      <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
23       <property name="sizeConstraint">
24        <enum>QLayout::SetMaximumSize</enum>
25       </property>
26       <property name="leftMargin">
27        <number>3</number>
28       </property>
29       <property name="rightMargin">
30        <number>3</number>
31       </property>
32       <item>
33        <widget class="My_Edit" name="e">
34         <property name="acceptDrops">
35          <bool>false</bool>
36         </property>
37        </widget>
38       </item>
39       <item>
40        <widget class="QTextEdit" name="msg">
41         <property name="sizePolicy">
42          <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
43           <horstretch>0</horstretch>
44           <verstretch>0</verstretch>
45          </sizepolicy>
46         </property>
47         <property name="maximumSize">
48          <size>
49           <width>16777215</width>
50           <height>100</height>
51          </size>
52         </property>
53         <property name="autoFillBackground">
54          <bool>false</bool>
55         </property>
56         <property name="readOnly">
57          <bool>true</bool>
58         </property>
59         <property name="acceptRichText">
60          <bool>false</bool>
61         </property>
62        </widget>
63       </item>
64      </layout>
65     </item>
66    </layout>
67   </widget>
68   <widget class="QMenuBar" name="menubar">
69    <property name="geometry">
70     <rect>
71      <x>0</x>
72      <y>0</y>
73      <width>523</width>
74      <height>20</height>
75     </rect>
76    </property>
77    <widget class="QMenu" name="menuFile">
78     <property name="title">
79      <string>File</string>
80     </property>
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"/>
87    </widget>
88    <widget class="QMenu" name="menuEdit">
89     <property name="title">
90      <string>Edit</string>
91     </property>
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"/>
102    </widget>
103    <widget class="QMenu" name="menuTools">
104     <property name="title">
105      <string>Tools</string>
106     </property>
107     <addaction name="actionCompile"/>
108     <addaction name="separator"/>
109     <addaction name="actionProperties"/>
110    </widget>
111    <addaction name="menuFile"/>
112    <addaction name="menuEdit"/>
113    <addaction name="menuTools"/>
114   </widget>
115   <widget class="QStatusBar" name="statusbar"/>
116   <action name="actionNew">
117    <property name="text">
118     <string>New</string>
119    </property>
120    <property name="shortcut">
121     <string>Ctrl+N</string>
122    </property>
123   </action>
124   <action name="actionOpen">
125    <property name="text">
126     <string>Open</string>
127    </property>
128    <property name="shortcut">
129     <string>Ctrl+O</string>
130    </property>
131   </action>
132   <action name="actionSave">
133    <property name="text">
134     <string>Save</string>
135    </property>
136    <property name="shortcut">
137     <string>Ctrl+S</string>
138    </property>
139   </action>
140   <action name="actionSave_as">
141    <property name="text">
142     <string>Save as</string>
143    </property>
144    <property name="shortcut">
145     <string>Ctrl+Shift+S</string>
146    </property>
147   </action>
148   <action name="actionQuit">
149    <property name="text">
150     <string>Quit</string>
151    </property>
152   </action>
153   <action name="actionCopy">
154    <property name="text">
155     <string>Copy</string>
156    </property>
157    <property name="shortcut">
158     <string>Ctrl+C</string>
159    </property>
160   </action>
161   <action name="actionPaste">
162    <property name="text">
163     <string>Paste</string>
164    </property>
165    <property name="shortcut">
166     <string>Ctrl+V</string>
167    </property>
168   </action>
169   <action name="actionCut">
170    <property name="text">
171     <string>Cut</string>
172    </property>
173    <property name="shortcut">
174     <string>Ctrl+X</string>
175    </property>
176   </action>
177   <action name="actionClear_all">
178    <property name="text">
179     <string>Clear All</string>
180    </property>
181   </action>
182   <action name="actionFind">
183    <property name="text">
184     <string>Find</string>
185    </property>
186    <property name="shortcut">
187     <string>Ctrl+F</string>
188    </property>
189   </action>
190   <action name="actionFind_next">
191    <property name="text">
192     <string>Find Next</string>
193    </property>
194    <property name="shortcut">
195     <string>Ctrl+L</string>
196    </property>
197   </action>
198   <action name="actionCompile">
199    <property name="text">
200     <string>Compile</string>
201    </property>
202   </action>
203   <action name="actionProperties">
204    <property name="text">
205     <string>Properties</string>
206    </property>
207   </action>
208   <action name="actionUndo">
209    <property name="text">
210     <string>Undo</string>
211    </property>
212    <property name="shortcut">
213     <string>Ctrl+Z</string>
214    </property>
215   </action>
216   <action name="actionRedo">
217    <property name="text">
218     <string>Redo</string>
219    </property>
220    <property name="shortcut">
221     <string>Ctrl+Shift+Z</string>
222    </property>
223   </action>
224  </widget>
225  <customwidgets>
226   <customwidget>
227    <class>My_Edit</class>
228    <extends>QTextEdit</extends>
229    <header>../my_edit.h</header>
230   </customwidget>
231  </customwidgets>
232  <resources/>
233  <connections/>
234 </ui>