this may be called beta... look for bugs
[qsnippetsmanager.git] / mainwindow.ui
blobcdc2d6be10d01e6d9ef9ca7b0db3e9aa6ca6f2cf
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>668</width>
10 <height>400</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QSnippet</string>
15 </property>
16 <property name="toolTip">
17 <string/>
18 </property>
19 <widget class="QWidget" name="centralWidget">
20 <layout class="QVBoxLayout" name="verticalLayout_2">
21 <property name="spacing">
22 <number>2</number>
23 </property>
24 <property name="margin">
25 <number>2</number>
26 </property>
27 <item>
28 <widget class="QTabWidget" name="tabWidget">
29 <property name="tabShape">
30 <enum>QTabWidget::Rounded</enum>
31 </property>
32 <property name="currentIndex">
33 <number>0</number>
34 </property>
35 <widget class="QWidget" name="widget">
36 <attribute name="title">
37 <string/>
38 </attribute>
39 <layout class="QHBoxLayout" name="horizontalLayout">
40 <property name="spacing">
41 <number>2</number>
42 </property>
43 <property name="margin">
44 <number>2</number>
45 </property>
46 </layout>
47 </widget>
48 </widget>
49 </item>
50 </layout>
51 </widget>
52 <widget class="QMenuBar" name="menuBar">
53 <property name="geometry">
54 <rect>
55 <x>0</x>
56 <y>0</y>
57 <width>668</width>
58 <height>25</height>
59 </rect>
60 </property>
61 <widget class="QMenu" name="menu_Add">
62 <property name="title">
63 <string>&amp;Add</string>
64 </property>
65 <addaction name="action_Main_category"/>
66 <addaction name="action_Category"/>
67 <addaction name="action_Snippet"/>
68 </widget>
69 <widget class="QMenu" name="menu_Snippet">
70 <property name="title">
71 <string>S&amp;nippet</string>
72 </property>
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"/>
80 </widget>
81 <widget class="QMenu" name="menu_File">
82 <property name="title">
83 <string>&amp;File</string>
84 </property>
85 <addaction name="action_Save_2"/>
86 <addaction name="actionSave_snippets_as"/>
87 <addaction name="separator"/>
88 <addaction name="action_Exit"/>
89 </widget>
90 <widget class="QMenu" name="menu_Mode">
91 <property name="title">
92 <string>&amp;Mode</string>
93 </property>
94 <addaction name="action_Normal"/>
95 <addaction name="action_Work"/>
96 </widget>
97 <widget class="QMenu" name="menu_View">
98 <property name="title">
99 <string>&amp;View</string>
100 </property>
101 <addaction name="actionHide_categories"/>
102 <addaction name="actionHide_description"/>
103 </widget>
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"/>
109 </widget>
110 <widget class="QToolBar" name="mainToolBar">
111 <attribute name="toolBarArea">
112 <enum>TopToolBarArea</enum>
113 </attribute>
114 <attribute name="toolBarBreak">
115 <bool>false</bool>
116 </attribute>
117 </widget>
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>
124 </sizepolicy>
125 </property>
126 <property name="features">
127 <set>QDockWidget::AllDockWidgetFeatures</set>
128 </property>
129 <property name="allowedAreas">
130 <set>Qt::LeftDockWidgetArea</set>
131 </property>
132 <property name="windowTitle">
133 <string>Categories</string>
134 </property>
135 <attribute name="dockWidgetArea">
136 <number>1</number>
137 </attribute>
138 <widget class="QWidget" name="dockWidgetContents">
139 <layout class="QVBoxLayout" name="verticalLayout">
140 <property name="spacing">
141 <number>2</number>
142 </property>
143 <property name="margin">
144 <number>2</number>
145 </property>
146 <item>
147 <widget class="QLineEdit" name="searchLineEdit">
148 <property name="sizePolicy">
149 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
150 <horstretch>0</horstretch>
151 <verstretch>0</verstretch>
152 </sizepolicy>
153 </property>
154 </widget>
155 </item>
156 <item>
157 <widget class="TreeView" name="snippetTreeView">
158 <property name="sizePolicy">
159 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
160 <horstretch>0</horstretch>
161 <verstretch>0</verstretch>
162 </sizepolicy>
163 </property>
164 <property name="editTriggers">
165 <set>QAbstractItemView::EditKeyPressed</set>
166 </property>
167 <property name="dragEnabled">
168 <bool>true</bool>
169 </property>
170 <property name="dragDropMode">
171 <enum>QAbstractItemView::DragDrop</enum>
172 </property>
173 <property name="rootIsDecorated">
174 <bool>true</bool>
175 </property>
176 <property name="uniformRowHeights">
177 <bool>true</bool>
178 </property>
179 <property name="sortingEnabled">
180 <bool>false</bool>
181 </property>
182 <property name="headerHidden">
183 <bool>true</bool>
184 </property>
185 </widget>
186 </item>
187 </layout>
188 </widget>
189 </widget>
190 <widget class="QDockWidget" name="descDockWidget">
191 <property name="features">
192 <set>QDockWidget::AllDockWidgetFeatures</set>
193 </property>
194 <property name="allowedAreas">
195 <set>Qt::RightDockWidgetArea</set>
196 </property>
197 <property name="windowTitle">
198 <string>Description</string>
199 </property>
200 <attribute name="dockWidgetArea">
201 <number>2</number>
202 </attribute>
203 <widget class="QWidget" name="dockWidgetContents_3">
204 <layout class="QVBoxLayout" name="verticalLayout_3">
205 <property name="spacing">
206 <number>2</number>
207 </property>
208 <property name="margin">
209 <number>2</number>
210 </property>
211 <item>
212 <widget class="TextEit" name="descTextEdit">
213 <property name="enabled">
214 <bool>false</bool>
215 </property>
216 </widget>
217 </item>
218 </layout>
219 </widget>
220 </widget>
221 <action name="action_Category">
222 <property name="text">
223 <string>&amp;Category...</string>
224 </property>
225 <property name="shortcut">
226 <string>Ctrl+M</string>
227 </property>
228 </action>
229 <action name="action_Snippet">
230 <property name="text">
231 <string>&amp;Snippet...</string>
232 </property>
233 <property name="shortcut">
234 <string>Ctrl+N</string>
235 </property>
236 </action>
237 <action name="action_Save">
238 <property name="text">
239 <string>&amp;Save</string>
240 </property>
241 <property name="shortcut">
242 <string>Ctrl+S</string>
243 </property>
244 </action>
245 <action name="actionSave_all">
246 <property name="text">
247 <string>Save &amp;all</string>
248 </property>
249 <property name="shortcut">
250 <string>Ctrl+Shift+S</string>
251 </property>
252 </action>
253 <action name="action_Close">
254 <property name="text">
255 <string>&amp;Close</string>
256 </property>
257 <property name="shortcut">
258 <string>Ctrl+W</string>
259 </property>
260 </action>
261 <action name="actionClos_e_all">
262 <property name="text">
263 <string>Clos&amp;e all</string>
264 </property>
265 <property name="shortcut">
266 <string>Ctrl+Shift+W</string>
267 </property>
268 </action>
269 <action name="action_Main_category">
270 <property name="text">
271 <string>&amp;Main category...</string>
272 </property>
273 <property name="shortcut">
274 <string>Ctrl+Shift+M</string>
275 </property>
276 </action>
277 <action name="action_Save_2">
278 <property name="text">
279 <string>&amp;Save snippets</string>
280 </property>
281 <property name="shortcut">
282 <string>Alt+S</string>
283 </property>
284 </action>
285 <action name="actionSave_snippets_as">
286 <property name="text">
287 <string>Save snippets &amp;as...</string>
288 </property>
289 <property name="shortcut">
290 <string>Alt+Shift+S</string>
291 </property>
292 </action>
293 <action name="action_Exit">
294 <property name="text">
295 <string>&amp;Exit</string>
296 </property>
297 <property name="shortcut">
298 <string>Ctrl+Q</string>
299 </property>
300 </action>
301 <action name="action_Delete">
302 <property name="text">
303 <string>&amp;Delete</string>
304 </property>
305 <property name="shortcut">
306 <string>Del</string>
307 </property>
308 </action>
309 <action name="action_Normal">
310 <property name="text">
311 <string>&amp;Edit</string>
312 </property>
313 <property name="shortcut">
314 <string>F5</string>
315 </property>
316 </action>
317 <action name="action_Work">
318 <property name="text">
319 <string>&amp;Work</string>
320 </property>
321 <property name="shortcut">
322 <string>F6</string>
323 </property>
324 </action>
325 <action name="actionHide_categories">
326 <property name="text">
327 <string>Show/hide &amp;categories</string>
328 </property>
329 <property name="shortcut">
330 <string>F3</string>
331 </property>
332 </action>
333 <action name="actionHide_description">
334 <property name="text">
335 <string>Show/hide &amp;description</string>
336 </property>
337 <property name="shortcut">
338 <string>F4</string>
339 </property>
340 </action>
341 </widget>
342 <layoutdefault spacing="6" margin="11"/>
343 <customwidgets>
344 <customwidget>
345 <class>TreeView</class>
346 <extends>QTreeView</extends>
347 <header>treeview.h</header>
348 </customwidget>
349 <customwidget>
350 <class>TextEit</class>
351 <extends>QTextEdit</extends>
352 <header>texteit.h</header>
353 </customwidget>
354 </customwidgets>
355 <resources/>
356 <connections/>
357 </ui>