Tooltips and fonts stuff.
[qsnippetsmanager.git] / mainwindow.ui
blob0960b551068849f2682456498861b9b77cc10a1b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>MainWindowClass</class>
4 <widget class="QMainWindow" name="MainWindowClass">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>790</width>
10 <height>580</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QSnippetsManager</string>
15 </property>
16 <property name="toolTip">
17 <string/>
18 </property>
19 <property name="statusTip">
20 <string>Press F6 to enter Work Mode.</string>
21 </property>
22 <widget class="QWidget" name="centralWidget">
23 <layout class="QVBoxLayout" name="verticalLayout_2">
24 <property name="spacing">
25 <number>2</number>
26 </property>
27 <property name="margin">
28 <number>2</number>
29 </property>
30 <item>
31 <widget class="QTabWidget" name="tabWidget">
32 <property name="tabShape">
33 <enum>QTabWidget::Rounded</enum>
34 </property>
35 <property name="currentIndex">
36 <number>0</number>
37 </property>
38 <widget class="QWidget" name="widget">
39 <attribute name="title">
40 <string/>
41 </attribute>
42 <layout class="QHBoxLayout" name="horizontalLayout">
43 <property name="spacing">
44 <number>2</number>
45 </property>
46 <property name="margin">
47 <number>2</number>
48 </property>
49 </layout>
50 </widget>
51 </widget>
52 </item>
53 </layout>
54 </widget>
55 <widget class="QMenuBar" name="menuBar">
56 <property name="geometry">
57 <rect>
58 <x>0</x>
59 <y>0</y>
60 <width>790</width>
61 <height>25</height>
62 </rect>
63 </property>
64 <widget class="QMenu" name="menu_Add">
65 <property name="title">
66 <string>&amp;Add</string>
67 </property>
68 <addaction name="action_Main_category"/>
69 <addaction name="action_Category"/>
70 <addaction name="action_Snippet"/>
71 </widget>
72 <widget class="QMenu" name="menu_Snippet">
73 <property name="title">
74 <string>S&amp;nippet</string>
75 </property>
76 <addaction name="action_Save"/>
77 <addaction name="actionSave_all"/>
78 <addaction name="separator"/>
79 <addaction name="action_Delete"/>
80 <addaction name="separator"/>
81 <addaction name="action_Close"/>
82 <addaction name="actionClos_e_all"/>
83 </widget>
84 <widget class="QMenu" name="menu_File">
85 <property name="title">
86 <string>&amp;File</string>
87 </property>
88 <addaction name="action_Save_2"/>
89 <addaction name="actionSave_snippets_as"/>
90 <addaction name="separator"/>
91 <addaction name="action_Exit"/>
92 </widget>
93 <widget class="QMenu" name="menu_Mode">
94 <property name="title">
95 <string>&amp;Mode</string>
96 </property>
97 <addaction name="action_Normal"/>
98 <addaction name="action_Work"/>
99 </widget>
100 <widget class="QMenu" name="menu_View">
101 <property name="title">
102 <string>&amp;View</string>
103 </property>
104 <addaction name="actionHide_categories"/>
105 <addaction name="actionHide_description"/>
106 </widget>
107 <widget class="QMenu" name="menu_Help">
108 <property name="title">
109 <string>&amp;Help</string>
110 </property>
111 <addaction name="action_About"/>
112 <addaction name="actionAbout_Qt"/>
113 </widget>
114 <addaction name="menu_File"/>
115 <addaction name="menu_Snippet"/>
116 <addaction name="menu_Add"/>
117 <addaction name="menu_Mode"/>
118 <addaction name="menu_View"/>
119 <addaction name="menu_Help"/>
120 </widget>
121 <widget class="QToolBar" name="mainToolBar">
122 <attribute name="toolBarArea">
123 <enum>TopToolBarArea</enum>
124 </attribute>
125 <attribute name="toolBarBreak">
126 <bool>false</bool>
127 </attribute>
128 </widget>
129 <widget class="QStatusBar" name="statusBar"/>
130 <widget class="QDockWidget" name="leftDockWidget">
131 <property name="sizePolicy">
132 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
133 <horstretch>0</horstretch>
134 <verstretch>0</verstretch>
135 </sizepolicy>
136 </property>
137 <property name="features">
138 <set>QDockWidget::AllDockWidgetFeatures</set>
139 </property>
140 <property name="allowedAreas">
141 <set>Qt::LeftDockWidgetArea</set>
142 </property>
143 <property name="windowTitle">
144 <string>Categories</string>
145 </property>
146 <attribute name="dockWidgetArea">
147 <number>1</number>
148 </attribute>
149 <widget class="QWidget" name="dockWidgetContents">
150 <layout class="QVBoxLayout" name="verticalLayout">
151 <property name="spacing">
152 <number>2</number>
153 </property>
154 <property name="margin">
155 <number>2</number>
156 </property>
157 <item>
158 <widget class="QLineEdit" name="searchLineEdit">
159 <property name="sizePolicy">
160 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
161 <horstretch>0</horstretch>
162 <verstretch>0</verstretch>
163 </sizepolicy>
164 </property>
165 <property name="statusTip">
166 <string>Enter a string to be searched</string>
167 </property>
168 </widget>
169 </item>
170 <item>
171 <widget class="TreeView" name="snippetTreeView">
172 <property name="sizePolicy">
173 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
174 <horstretch>0</horstretch>
175 <verstretch>0</verstretch>
176 </sizepolicy>
177 </property>
178 <property name="editTriggers">
179 <set>QAbstractItemView::EditKeyPressed</set>
180 </property>
181 <property name="dragEnabled">
182 <bool>false</bool>
183 </property>
184 <property name="dragDropMode">
185 <enum>QAbstractItemView::DragDrop</enum>
186 </property>
187 <property name="rootIsDecorated">
188 <bool>true</bool>
189 </property>
190 <property name="uniformRowHeights">
191 <bool>true</bool>
192 </property>
193 <property name="sortingEnabled">
194 <bool>false</bool>
195 </property>
196 <property name="headerHidden">
197 <bool>true</bool>
198 </property>
199 </widget>
200 </item>
201 </layout>
202 </widget>
203 </widget>
204 <widget class="QDockWidget" name="descDockWidget">
205 <property name="sizePolicy">
206 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
207 <horstretch>0</horstretch>
208 <verstretch>0</verstretch>
209 </sizepolicy>
210 </property>
211 <property name="features">
212 <set>QDockWidget::AllDockWidgetFeatures</set>
213 </property>
214 <property name="allowedAreas">
215 <set>Qt::LeftDockWidgetArea</set>
216 </property>
217 <property name="windowTitle">
218 <string>Description</string>
219 </property>
220 <attribute name="dockWidgetArea">
221 <number>1</number>
222 </attribute>
223 <widget class="QWidget" name="dockWidgetContents_3">
224 <layout class="QVBoxLayout" name="verticalLayout_3">
225 <property name="spacing">
226 <number>2</number>
227 </property>
228 <property name="margin">
229 <number>2</number>
230 </property>
231 <item>
232 <widget class="TextEdit" name="descTextEdit">
233 <property name="enabled">
234 <bool>false</bool>
235 </property>
236 <property name="sizePolicy">
237 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
238 <horstretch>0</horstretch>
239 <verstretch>0</verstretch>
240 </sizepolicy>
241 </property>
242 <property name="statusTip">
243 <string/>
244 </property>
245 </widget>
246 </item>
247 </layout>
248 </widget>
249 </widget>
250 <action name="action_Category">
251 <property name="text">
252 <string>&amp;Category...</string>
253 </property>
254 <property name="toolTip">
255 <string>Create new category.</string>
256 </property>
257 <property name="statusTip">
258 <string>Add a new category to the snippets' tree.</string>
259 </property>
260 <property name="shortcut">
261 <string>Ctrl+M</string>
262 </property>
263 </action>
264 <action name="action_Snippet">
265 <property name="text">
266 <string>&amp;Snippet...</string>
267 </property>
268 <property name="toolTip">
269 <string>Create new snippet.</string>
270 </property>
271 <property name="statusTip">
272 <string>Add a new snippet to selected category.</string>
273 </property>
274 <property name="shortcut">
275 <string>Ctrl+N</string>
276 </property>
277 </action>
278 <action name="action_Save">
279 <property name="text">
280 <string>&amp;Save</string>
281 </property>
282 <property name="statusTip">
283 <string>Save current snippet.</string>
284 </property>
285 <property name="shortcut">
286 <string>Ctrl+S</string>
287 </property>
288 </action>
289 <action name="actionSave_all">
290 <property name="text">
291 <string>Save &amp;all</string>
292 </property>
293 <property name="statusTip">
294 <string>Save all opened snippets.</string>
295 </property>
296 <property name="shortcut">
297 <string>Ctrl+Shift+S</string>
298 </property>
299 </action>
300 <action name="action_Close">
301 <property name="text">
302 <string>&amp;Close</string>
303 </property>
304 <property name="statusTip">
305 <string>Close current snippet.</string>
306 </property>
307 <property name="shortcut">
308 <string>Ctrl+W</string>
309 </property>
310 </action>
311 <action name="actionClos_e_all">
312 <property name="text">
313 <string>Clos&amp;e all</string>
314 </property>
315 <property name="statusTip">
316 <string>Close all opened snippets.</string>
317 </property>
318 <property name="shortcut">
319 <string>Ctrl+Shift+W</string>
320 </property>
321 </action>
322 <action name="action_Main_category">
323 <property name="text">
324 <string>&amp;Language...</string>
325 </property>
326 <property name="toolTip">
327 <string>Create new language category.</string>
328 </property>
329 <property name="statusTip">
330 <string>Add a new language to the snippets' tree.</string>
331 </property>
332 <property name="shortcut">
333 <string>Ctrl+Shift+M</string>
334 </property>
335 </action>
336 <action name="action_Save_2">
337 <property name="text">
338 <string>&amp;Save snippets</string>
339 </property>
340 <property name="statusTip">
341 <string>Save snippets on disk.</string>
342 </property>
343 <property name="shortcut">
344 <string>Alt+S</string>
345 </property>
346 </action>
347 <action name="actionSave_snippets_as">
348 <property name="text">
349 <string>Save snippets &amp;as...</string>
350 </property>
351 <property name="statusTip">
352 <string>Save snippets in file other than the default.</string>
353 </property>
354 <property name="shortcut">
355 <string>Alt+Shift+S</string>
356 </property>
357 </action>
358 <action name="action_Exit">
359 <property name="text">
360 <string>&amp;Exit</string>
361 </property>
362 <property name="statusTip">
363 <string>Quit QSnippetsManager.</string>
364 </property>
365 <property name="shortcut">
366 <string>Ctrl+Q</string>
367 </property>
368 </action>
369 <action name="action_Delete">
370 <property name="text">
371 <string>&amp;Delete</string>
372 </property>
373 <property name="statusTip">
374 <string>Delete current snippet.</string>
375 </property>
376 <property name="shortcut">
377 <string>Del</string>
378 </property>
379 </action>
380 <action name="action_Normal">
381 <property name="enabled">
382 <bool>false</bool>
383 </property>
384 <property name="text">
385 <string>&amp;Edit</string>
386 </property>
387 <property name="toolTip">
388 <string>Switch to Edit Mode.</string>
389 </property>
390 <property name="statusTip">
391 <string>Switch to Edit Mode.</string>
392 </property>
393 <property name="shortcut">
394 <string>F5</string>
395 </property>
396 </action>
397 <action name="action_Work">
398 <property name="text">
399 <string>&amp;Work</string>
400 </property>
401 <property name="toolTip">
402 <string>Switch to Work Mode.</string>
403 </property>
404 <property name="statusTip">
405 <string>Switch to Work Mode.</string>
406 </property>
407 <property name="shortcut">
408 <string>F6</string>
409 </property>
410 </action>
411 <action name="actionHide_categories">
412 <property name="text">
413 <string>Show/hide &amp;categories</string>
414 </property>
415 <property name="statusTip">
416 <string>Show or hide snipppets' categories.</string>
417 </property>
418 <property name="shortcut">
419 <string>F3</string>
420 </property>
421 </action>
422 <action name="actionHide_description">
423 <property name="text">
424 <string>Show/hide &amp;description</string>
425 </property>
426 <property name="statusTip">
427 <string>Show or hide snippets' description.</string>
428 </property>
429 <property name="shortcut">
430 <string>F4</string>
431 </property>
432 </action>
433 <action name="action_About">
434 <property name="text">
435 <string>&amp;About...</string>
436 </property>
437 <property name="statusTip">
438 <string>Display information about this application.</string>
439 </property>
440 </action>
441 <action name="actionAbout_Qt">
442 <property name="text">
443 <string>About &amp;Qt...</string>
444 </property>
445 <property name="statusTip">
446 <string>Display information about Qt toolkit.</string>
447 </property>
448 </action>
449 </widget>
450 <layoutdefault spacing="6" margin="11"/>
451 <customwidgets>
452 <customwidget>
453 <class>TreeView</class>
454 <extends>QTreeView</extends>
455 <header>treeview.h</header>
456 </customwidget>
457 <customwidget>
458 <class>TextEdit</class>
459 <extends>QTextEdit</extends>
460 <header>textedit.h</header>
461 </customwidget>
462 </customwidgets>
463 <resources/>
464 <connections/>
465 </ui>