Debian Codegraph @

items/uitreeview.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>UiTreeView</class>
4 <widget class="QWidget" name="UiTreeView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>533</width>
10 <height>542</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <property name="styleSheet">
17 <string notr="true">QPushButton {
18 min-width: 20px;
19 min-height: 20px;
20 max-width: 20px;
21 max-height: 20px;
22 width: 20px;
23 height: 20px;
24 border-radius: 10px;
25 padding: 0px;
26 }
27 QPushButton#actionDuplicate, QPushButton#actionAddRoot, QPushButton#actionSave {
28 min-width: 70px;
29 max-width: 70px;
30 width: 70px;
31 }</string>
32 </property>
33 <layout class="QVBoxLayout" name="verticalLayout">
34 <property name="spacing">
35 <number>0</number>
36 </property>
37 <property name="margin">
38 <number>0</number>
39 </property>
40 <item>
41 <widget class="UiTreeViewWidget" name="view">
42 <property name="editTriggers">
43 <set>QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
44 </property>
45 <property name="tabKeyNavigation">
46 <bool>true</bool>
47 </property>
48 <property name="dragEnabled">
49 <bool>true</bool>
50 </property>
51 <property name="alternatingRowColors">
52 <bool>true</bool>
53 </property>
54 <property name="indentation">
55 <number>0</number>
56 </property>
57 <property name="sortingEnabled">
58 <bool>true</bool>
59 </property>
60 <property name="allColumnsShowFocus">
61 <bool>true</bool>
62 </property>
63 <attribute name="headerVisible">
64 <bool>false</bool>
65 </attribute>
66 <attribute name="headerShowSortIndicator" stdset="0">
67 <bool>true</bool>
68 </attribute>
69 <attribute name="headerStretchLastSection">
70 <bool>false</bool>
71 </attribute>
72 <column>
73 <property name="text">
74 <string notr="true">1</string>
75 </property>
76 </column>
77 </widget>
78 </item>
79 <item>
80 <layout class="QHBoxLayout" name="horizontalLayout">
81 <property name="spacing">
82 <number>10</number>
83 </property>
84 <property name="topMargin">
85 <number>3</number>
86 </property>
87 <property name="rightMargin">
88 <number>10</number>
89 </property>
90 <property name="bottomMargin">
91 <number>3</number>
92 </property>
93 <item>
94 <spacer name="horizontalSpacer">
95 <property name="orientation">
96 <enum>Qt::Horizontal</enum>
97 </property>
98 <property name="sizeHint" stdset="0">
99 <size>
100 <width>40</width>
101 <height>20</height>
102 </size>
103 </property>
104 </spacer>
105 </item>
106 <item>
107 <widget class="QPushButton" name="actionSave">
108 <property name="toolTip">
109 <string>Save</string>
110 </property>
111 <property name="text">
112 <string>SAVE</string>
113 </property>
114 </widget>
115 </item>
116 <item>
117 <widget class="QPushButton" name="actionDuplicate">
118 <property name="toolTip">
119 <string>Duplicate</string>
120 </property>
121 <property name="text">
122 <string>BACKUP</string>
123 </property>
124 </widget>
125 </item>
126 <item>
127 <widget class="QPushButton" name="actionAddRoot">
128 <property name="toolTip">
129 <string>Add a folder</string>
130 </property>
131 <property name="text">
132 <string>NEW FOLDER</string>
133 </property>
134 </widget>
135 </item>
136 <item>
137 <widget class="QPushButton" name="actionAdd">
138 <property name="toolTip">
139 <string>New</string>
140 </property>
141 <property name="text">
142 <string>+</string>
143 </property>
144 </widget>
145 </item>
146 <item>
147 <widget class="QPushButton" name="actionImport">
148 <property name="toolTip">
149 <string>Import a file</string>
150 </property>
151 <property name="text">
152 <string>+</string>
153 </property>
154 </widget>
155 </item>
156 <item>
157 <widget class="QPushButton" name="actionRemove">
158 <property name="toolTip">
159 <string>Delete</string>
160 </property>
161 <property name="text">
162 <string>–</string>
163 </property>
164 </widget>
165 </item>
166 </layout>
167 </item>
168 </layout>
169 </widget>
170 <customwidgets>
171 <customwidget>
172 <class>UiTreeViewWidget</class>
173 <extends>QTreeWidget</extends>
174 <header>items/uitreeviewwidget.h</header>
175 </customwidget>
176 </customwidgets>
177 <resources/>
178 <connections>
179 <connection>
180 <sender>actionAdd</sender>
181 <signal>released()</signal>
182 <receiver>UiTreeView</receiver>
183 <slot>action()</slot>
184 <hints>
185 <hint type="sourcelabel">
186 <x>480</x>
187 <y>534</y>
188 </hint>
189 <hint type="destinationlabel">
190 <x>534</x>
191 <y>161</y>
192 </hint>
193 </hints>
194 </connection>
195 <connection>
196 <sender>actionRemove</sender>
197 <signal>released()</signal>
198 <receiver>UiTreeView</receiver>
199 <slot>action()</slot>
200 <hints>
201 <hint type="sourcelabel">
202 <x>520</x>
203 <y>525</y>
204 </hint>
205 <hint type="destinationlabel">
206 <x>477</x>
207 <y>172</y>
208 </hint>
209 </hints>
210 </connection>
211 <connection>
212 <sender>actionImport</sender>
213 <signal>released()</signal>
214 <receiver>UiTreeView</receiver>
215 <slot>action()</slot>
216 <hints>
217 <hint type="sourcelabel">
218 <x>506</x>
219 <y>534</y>
220 </hint>
221 <hint type="destinationlabel">
222 <x>599</x>
223 <y>186</y>
224 </hint>
225 </hints>
226 </connection>
227 <connection>
228 <sender>actionAddRoot</sender>
229 <signal>released()</signal>
230 <receiver>UiTreeView</receiver>
231 <slot>action()</slot>
232 <hints>
233 <hint type="sourcelabel">
234 <x>454</x>
235 <y>534</y>
236 </hint>
237 <hint type="destinationlabel">
238 <x>635</x>
239 <y>205</y>
240 </hint>
241 </hints>
242 </connection>
243 <connection>
244 <sender>view</sender>
245 <signal>doubleClicked(QModelIndex)</signal>
246 <receiver>UiTreeView</receiver>
247 <slot>action()</slot>
248 <hints>
249 <hint type="sourcelabel">
250 <x>404</x>
251 <y>130</y>
252 </hint>
253 <hint type="destinationlabel">
254 <x>648</x>
255 <y>143</y>
256 </hint>
257 </hints>
258 </connection>
259 <connection>
260 <sender>actionSave</sender>
261 <signal>released()</signal>
262 <receiver>UiTreeView</receiver>
263 <slot>action()</slot>
264 <hints>
265 <hint type="sourcelabel">
266 <x>402</x>
267 <y>534</y>
268 </hint>
269 <hint type="destinationlabel">
270 <x>617</x>
271 <y>231</y>
272 </hint>
273 </hints>
274 </connection>
275 <connection>
276 <sender>actionDuplicate</sender>
277 <signal>released()</signal>
278 <receiver>UiTreeView</receiver>
279 <slot>action()</slot>
280 <hints>
281 <hint type="sourcelabel">
282 <x>422</x>
283 <y>526</y>
284 </hint>
285 <hint type="destinationlabel">
286 <x>629</x>
287 <y>274</y>
288 </hint>
289 </hints>
290 </connection>
291 </connections>
292 <slots>
293 <slot>action()</slot>
294 <slot>action(QModelIndex)</slot>
295 </slots>
296 </ui>