1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>MainWindowClass
</class>
4 <widget class=
"QMainWindow" name=
"MainWindowClass">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
14 <string>QSnippetsManager
</string>
16 <property name=
"toolTip">
19 <property name=
"statusTip">
20 <string>Press F6 to enter Work Mode.
</string>
22 <widget class=
"QWidget" name=
"centralWidget">
23 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
24 <property name=
"spacing">
27 <property name=
"margin">
31 <widget class=
"QTabWidget" name=
"tabWidget">
32 <property name=
"tabShape">
33 <enum>QTabWidget::Rounded
</enum>
35 <property name=
"currentIndex">
38 <widget class=
"QWidget" name=
"widget">
39 <attribute name=
"title">
42 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
43 <property name=
"spacing">
46 <property name=
"margin">
55 <widget class=
"QMenuBar" name=
"menuBar">
56 <property name=
"geometry">
64 <widget class=
"QMenu" name=
"menu_Add">
65 <property name=
"title">
66 <string>&Add
</string>
68 <addaction name=
"action_Main_category"/>
69 <addaction name=
"action_Category"/>
70 <addaction name=
"action_Snippet"/>
72 <widget class=
"QMenu" name=
"menu_Snippet">
73 <property name=
"title">
74 <string>S
&nippet
</string>
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"/>
84 <widget class=
"QMenu" name=
"menu_File">
85 <property name=
"title">
86 <string>&File
</string>
88 <addaction name=
"action_Save_2"/>
89 <addaction name=
"actionSave_snippets_as"/>
90 <addaction name=
"separator"/>
91 <addaction name=
"action_Exit"/>
93 <widget class=
"QMenu" name=
"menu_Mode">
94 <property name=
"title">
95 <string>&Mode
</string>
97 <addaction name=
"action_Normal"/>
98 <addaction name=
"action_Work"/>
100 <widget class=
"QMenu" name=
"menu_View">
101 <property name=
"title">
102 <string>&View
</string>
104 <addaction name=
"actionHide_categories"/>
105 <addaction name=
"actionHide_description"/>
107 <widget class=
"QMenu" name=
"menu_Help">
108 <property name=
"title">
109 <string>&Help
</string>
111 <addaction name=
"action_About"/>
112 <addaction name=
"actionAbout_Qt"/>
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"/>
121 <widget class=
"QToolBar" name=
"mainToolBar">
122 <attribute name=
"toolBarArea">
123 <enum>TopToolBarArea
</enum>
125 <attribute name=
"toolBarBreak">
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>
137 <property name=
"features">
138 <set>QDockWidget::AllDockWidgetFeatures
</set>
140 <property name=
"allowedAreas">
141 <set>Qt::LeftDockWidgetArea
</set>
143 <property name=
"windowTitle">
144 <string>Categories
</string>
146 <attribute name=
"dockWidgetArea">
149 <widget class=
"QWidget" name=
"dockWidgetContents">
150 <layout class=
"QVBoxLayout" name=
"verticalLayout">
151 <property name=
"spacing">
154 <property name=
"margin">
158 <widget class=
"QLineEdit" name=
"searchLineEdit">
159 <property name=
"sizePolicy">
160 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
161 <horstretch>0</horstretch>
162 <verstretch>0</verstretch>
165 <property name=
"statusTip">
166 <string>Enter a string to be searched
</string>
171 <widget class=
"TreeView" name=
"snippetTreeView">
172 <property name=
"sizePolicy">
173 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Expanding">
174 <horstretch>0</horstretch>
175 <verstretch>0</verstretch>
178 <property name=
"editTriggers">
179 <set>QAbstractItemView::EditKeyPressed
</set>
181 <property name=
"dragEnabled">
184 <property name=
"dragDropMode">
185 <enum>QAbstractItemView::DragDrop
</enum>
187 <property name=
"rootIsDecorated">
190 <property name=
"uniformRowHeights">
193 <property name=
"sortingEnabled">
196 <property name=
"headerHidden">
204 <widget class=
"QDockWidget" name=
"descDockWidget">
205 <property name=
"sizePolicy">
206 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Preferred">
207 <horstretch>0</horstretch>
208 <verstretch>0</verstretch>
211 <property name=
"features">
212 <set>QDockWidget::AllDockWidgetFeatures
</set>
214 <property name=
"allowedAreas">
215 <set>Qt::LeftDockWidgetArea
</set>
217 <property name=
"windowTitle">
218 <string>Description
</string>
220 <attribute name=
"dockWidgetArea">
223 <widget class=
"QWidget" name=
"dockWidgetContents_3">
224 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
225 <property name=
"spacing">
228 <property name=
"margin">
232 <widget class=
"TextEdit" name=
"descTextEdit">
233 <property name=
"enabled">
236 <property name=
"sizePolicy">
237 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Preferred">
238 <horstretch>0</horstretch>
239 <verstretch>0</verstretch>
242 <property name=
"statusTip">
250 <action name=
"action_Category">
251 <property name=
"text">
252 <string>&Category...
</string>
254 <property name=
"toolTip">
255 <string>Create new category.
</string>
257 <property name=
"statusTip">
258 <string>Add a new category to the snippets' tree.
</string>
260 <property name=
"shortcut">
261 <string>Ctrl+M
</string>
264 <action name=
"action_Snippet">
265 <property name=
"text">
266 <string>&Snippet...
</string>
268 <property name=
"toolTip">
269 <string>Create new snippet.
</string>
271 <property name=
"statusTip">
272 <string>Add a new snippet to selected category.
</string>
274 <property name=
"shortcut">
275 <string>Ctrl+N
</string>
278 <action name=
"action_Save">
279 <property name=
"text">
280 <string>&Save
</string>
282 <property name=
"statusTip">
283 <string>Save current snippet.
</string>
285 <property name=
"shortcut">
286 <string>Ctrl+S
</string>
289 <action name=
"actionSave_all">
290 <property name=
"text">
291 <string>Save
&all
</string>
293 <property name=
"statusTip">
294 <string>Save all opened snippets.
</string>
296 <property name=
"shortcut">
297 <string>Ctrl+Shift+S
</string>
300 <action name=
"action_Close">
301 <property name=
"text">
302 <string>&Close
</string>
304 <property name=
"statusTip">
305 <string>Close current snippet.
</string>
307 <property name=
"shortcut">
308 <string>Ctrl+W
</string>
311 <action name=
"actionClos_e_all">
312 <property name=
"text">
313 <string>Clos
&e all
</string>
315 <property name=
"statusTip">
316 <string>Close all opened snippets.
</string>
318 <property name=
"shortcut">
319 <string>Ctrl+Shift+W
</string>
322 <action name=
"action_Main_category">
323 <property name=
"text">
324 <string>&Language...
</string>
326 <property name=
"toolTip">
327 <string>Create new language category.
</string>
329 <property name=
"statusTip">
330 <string>Add a new language to the snippets' tree.
</string>
332 <property name=
"shortcut">
333 <string>Ctrl+Shift+M
</string>
336 <action name=
"action_Save_2">
337 <property name=
"text">
338 <string>&Save snippets
</string>
340 <property name=
"statusTip">
341 <string>Save snippets on disk.
</string>
343 <property name=
"shortcut">
344 <string>Alt+S
</string>
347 <action name=
"actionSave_snippets_as">
348 <property name=
"text">
349 <string>Save snippets
&as...
</string>
351 <property name=
"statusTip">
352 <string>Save snippets in file other than the default.
</string>
354 <property name=
"shortcut">
355 <string>Alt+Shift+S
</string>
358 <action name=
"action_Exit">
359 <property name=
"text">
360 <string>&Exit
</string>
362 <property name=
"statusTip">
363 <string>Quit QSnippetsManager.
</string>
365 <property name=
"shortcut">
366 <string>Ctrl+Q
</string>
369 <action name=
"action_Delete">
370 <property name=
"text">
371 <string>&Delete
</string>
373 <property name=
"statusTip">
374 <string>Delete current snippet.
</string>
376 <property name=
"shortcut">
380 <action name=
"action_Normal">
381 <property name=
"enabled">
384 <property name=
"text">
385 <string>&Edit
</string>
387 <property name=
"toolTip">
388 <string>Switch to Edit Mode.
</string>
390 <property name=
"statusTip">
391 <string>Switch to Edit Mode.
</string>
393 <property name=
"shortcut">
397 <action name=
"action_Work">
398 <property name=
"text">
399 <string>&Work
</string>
401 <property name=
"toolTip">
402 <string>Switch to Work Mode.
</string>
404 <property name=
"statusTip">
405 <string>Switch to Work Mode.
</string>
407 <property name=
"shortcut">
411 <action name=
"actionHide_categories">
412 <property name=
"text">
413 <string>Show/hide
&categories
</string>
415 <property name=
"statusTip">
416 <string>Show or hide snipppets' categories.
</string>
418 <property name=
"shortcut">
422 <action name=
"actionHide_description">
423 <property name=
"text">
424 <string>Show/hide
&description
</string>
426 <property name=
"statusTip">
427 <string>Show or hide snippets' description.
</string>
429 <property name=
"shortcut">
433 <action name=
"action_About">
434 <property name=
"text">
435 <string>&About...
</string>
437 <property name=
"statusTip">
438 <string>Display information about this application.
</string>
441 <action name=
"actionAbout_Qt">
442 <property name=
"text">
443 <string>About
&Qt...
</string>
445 <property name=
"statusTip">
446 <string>Display information about Qt toolkit.
</string>
450 <layoutdefault spacing=
"6" margin=
"11"/>
453 <class>TreeView
</class>
454 <extends>QTreeView
</extends>
455 <header>treeview.h
</header>
458 <class>TextEdit
</class>
459 <extends>QTextEdit
</extends>
460 <header>textedit.h
</header>