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>QSnippet
</string>
16 <property name=
"toolTip">
19 <widget class=
"QWidget" name=
"centralWidget">
20 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
21 <property name=
"spacing">
24 <property name=
"margin">
28 <widget class=
"QTabWidget" name=
"tabWidget">
29 <property name=
"tabShape">
30 <enum>QTabWidget::Rounded
</enum>
32 <property name=
"currentIndex">
35 <widget class=
"QWidget" name=
"widget">
36 <attribute name=
"title">
39 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
40 <property name=
"spacing">
43 <property name=
"margin">
52 <widget class=
"QMenuBar" name=
"menuBar">
53 <property name=
"geometry">
61 <widget class=
"QMenu" name=
"menu_Add">
62 <property name=
"title">
63 <string>&Add
</string>
65 <addaction name=
"action_Main_category"/>
66 <addaction name=
"action_Category"/>
67 <addaction name=
"action_Snippet"/>
69 <widget class=
"QMenu" name=
"menu_Snippet">
70 <property name=
"title">
71 <string>S
&nippet
</string>
73 <addaction name=
"action_Save"/>
74 <addaction name=
"actionSave_all"/>
75 <addaction name=
"separator"/>
76 <addaction name=
"action_Delete"/>
77 <addaction name=
"separator"/>
78 <addaction name=
"action_Close"/>
79 <addaction name=
"actionClos_e_all"/>
81 <widget class=
"QMenu" name=
"menu_File">
82 <property name=
"title">
83 <string>&File
</string>
85 <addaction name=
"action_Save_2"/>
86 <addaction name=
"actionSave_snippets_as"/>
87 <addaction name=
"separator"/>
88 <addaction name=
"action_Exit"/>
90 <widget class=
"QMenu" name=
"menu_Mode">
91 <property name=
"title">
92 <string>&Mode
</string>
94 <addaction name=
"action_Normal"/>
95 <addaction name=
"action_Work"/>
97 <widget class=
"QMenu" name=
"menu_View">
98 <property name=
"title">
99 <string>&View
</string>
101 <addaction name=
"actionHide_categories"/>
102 <addaction name=
"actionHide_description"/>
104 <addaction name=
"menu_File"/>
105 <addaction name=
"menu_Snippet"/>
106 <addaction name=
"menu_Add"/>
107 <addaction name=
"menu_Mode"/>
108 <addaction name=
"menu_View"/>
110 <widget class=
"QToolBar" name=
"mainToolBar">
111 <attribute name=
"toolBarArea">
112 <enum>TopToolBarArea
</enum>
114 <attribute name=
"toolBarBreak">
118 <widget class=
"QStatusBar" name=
"statusBar"/>
119 <widget class=
"QDockWidget" name=
"leftDockWidget">
120 <property name=
"sizePolicy">
121 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Preferred">
122 <horstretch>0</horstretch>
123 <verstretch>0</verstretch>
126 <property name=
"features">
127 <set>QDockWidget::AllDockWidgetFeatures
</set>
129 <property name=
"allowedAreas">
130 <set>Qt::LeftDockWidgetArea
</set>
132 <property name=
"windowTitle">
133 <string>Categories
</string>
135 <attribute name=
"dockWidgetArea">
138 <widget class=
"QWidget" name=
"dockWidgetContents">
139 <layout class=
"QVBoxLayout" name=
"verticalLayout">
140 <property name=
"spacing">
143 <property name=
"margin">
147 <widget class=
"QLineEdit" name=
"searchLineEdit">
148 <property name=
"sizePolicy">
149 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
150 <horstretch>0</horstretch>
151 <verstretch>0</verstretch>
157 <widget class=
"TreeView" name=
"snippetTreeView">
158 <property name=
"sizePolicy">
159 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Expanding">
160 <horstretch>0</horstretch>
161 <verstretch>0</verstretch>
164 <property name=
"editTriggers">
165 <set>QAbstractItemView::EditKeyPressed
</set>
167 <property name=
"dragEnabled">
170 <property name=
"dragDropMode">
171 <enum>QAbstractItemView::DragDrop
</enum>
173 <property name=
"rootIsDecorated">
176 <property name=
"uniformRowHeights">
179 <property name=
"sortingEnabled">
182 <property name=
"headerHidden">
190 <widget class=
"QDockWidget" name=
"descDockWidget">
191 <property name=
"features">
192 <set>QDockWidget::AllDockWidgetFeatures
</set>
194 <property name=
"allowedAreas">
195 <set>Qt::RightDockWidgetArea
</set>
197 <property name=
"windowTitle">
198 <string>Description
</string>
200 <attribute name=
"dockWidgetArea">
203 <widget class=
"QWidget" name=
"dockWidgetContents_3">
204 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
205 <property name=
"spacing">
208 <property name=
"margin">
212 <widget class=
"TextEit" name=
"descTextEdit">
213 <property name=
"enabled">
221 <action name=
"action_Category">
222 <property name=
"text">
223 <string>&Category...
</string>
225 <property name=
"shortcut">
226 <string>Ctrl+M
</string>
229 <action name=
"action_Snippet">
230 <property name=
"text">
231 <string>&Snippet...
</string>
233 <property name=
"shortcut">
234 <string>Ctrl+N
</string>
237 <action name=
"action_Save">
238 <property name=
"text">
239 <string>&Save
</string>
241 <property name=
"shortcut">
242 <string>Ctrl+S
</string>
245 <action name=
"actionSave_all">
246 <property name=
"text">
247 <string>Save
&all
</string>
249 <property name=
"shortcut">
250 <string>Ctrl+Shift+S
</string>
253 <action name=
"action_Close">
254 <property name=
"text">
255 <string>&Close
</string>
257 <property name=
"shortcut">
258 <string>Ctrl+W
</string>
261 <action name=
"actionClos_e_all">
262 <property name=
"text">
263 <string>Clos
&e all
</string>
265 <property name=
"shortcut">
266 <string>Ctrl+Shift+W
</string>
269 <action name=
"action_Main_category">
270 <property name=
"text">
271 <string>&Main category...
</string>
273 <property name=
"shortcut">
274 <string>Ctrl+Shift+M
</string>
277 <action name=
"action_Save_2">
278 <property name=
"text">
279 <string>&Save snippets
</string>
281 <property name=
"shortcut">
282 <string>Alt+S
</string>
285 <action name=
"actionSave_snippets_as">
286 <property name=
"text">
287 <string>Save snippets
&as...
</string>
289 <property name=
"shortcut">
290 <string>Alt+Shift+S
</string>
293 <action name=
"action_Exit">
294 <property name=
"text">
295 <string>&Exit
</string>
297 <property name=
"shortcut">
298 <string>Ctrl+Q
</string>
301 <action name=
"action_Delete">
302 <property name=
"text">
303 <string>&Delete
</string>
305 <property name=
"shortcut">
309 <action name=
"action_Normal">
310 <property name=
"text">
311 <string>&Edit
</string>
313 <property name=
"shortcut">
317 <action name=
"action_Work">
318 <property name=
"text">
319 <string>&Work
</string>
321 <property name=
"shortcut">
325 <action name=
"actionHide_categories">
326 <property name=
"text">
327 <string>Show/hide
&categories
</string>
329 <property name=
"shortcut">
333 <action name=
"actionHide_description">
334 <property name=
"text">
335 <string>Show/hide
&description
</string>
337 <property name=
"shortcut">
342 <layoutdefault spacing=
"6" margin=
"11"/>
345 <class>TreeView
</class>
346 <extends>QTreeView
</extends>
347 <header>treeview.h
</header>
350 <class>TextEit
</class>
351 <extends>QTextEdit
</extends>
352 <header>texteit.h
</header>