Little improvements in UI performance
[someplayer] / src / ui / directoryview.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DirectoryView</class>
4  <widget class="QWidget" name="DirectoryView">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Directories</string>
15   </property>
16   <layout class="QHBoxLayout" name="horizontalLayout_3">
17    <property name="spacing">
18     <number>0</number>
19    </property>
20    <property name="margin">
21     <number>0</number>
22    </property>
23    <item>
24     <widget class="QWidget" name="lverticalWidget" native="true">
25      <layout class="QVBoxLayout" name="lverticalLayout">
26       <property name="spacing">
27        <number>0</number>
28       </property>
29       <property name="margin">
30        <number>0</number>
31       </property>
32       <item>
33        <widget class="QPushButton" name="backButton">
34         <property name="sizePolicy">
35          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
36           <horstretch>0</horstretch>
37           <verstretch>0</verstretch>
38          </sizepolicy>
39         </property>
40         <property name="minimumSize">
41          <size>
42           <width>70</width>
43           <height>70</height>
44          </size>
45         </property>
46         <property name="maximumSize">
47          <size>
48           <width>70</width>
49           <height>70</height>
50          </size>
51         </property>
52         <property name="text">
53          <string/>
54         </property>
55         <property name="icon">
56          <iconset resource="../../resources/resources.qrc">
57           <normaloff>:/icons/white/back.png</normaloff>:/icons/white/back.png</iconset>
58         </property>
59         <property name="flat">
60          <bool>true</bool>
61         </property>
62        </widget>
63       </item>
64       <item>
65        <spacer name="lverticalSpacer_0">
66         <property name="orientation">
67          <enum>Qt::Vertical</enum>
68         </property>
69         <property name="sizeHint" stdset="0">
70          <size>
71           <width>20</width>
72           <height>40</height>
73          </size>
74         </property>
75        </spacer>
76       </item>
77       <item>
78        <widget class="QPushButton" name="homeButton">
79         <property name="sizePolicy">
80          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
81           <horstretch>0</horstretch>
82           <verstretch>0</verstretch>
83          </sizepolicy>
84         </property>
85         <property name="minimumSize">
86          <size>
87           <width>70</width>
88           <height>70</height>
89          </size>
90         </property>
91         <property name="text">
92          <string/>
93         </property>
94         <property name="icon">
95          <iconset resource="../../resources/resources.qrc">
96           <normaloff>:/icons/white/home.png</normaloff>:/icons/white/home.png</iconset>
97         </property>
98         <property name="flat">
99          <bool>true</bool>
100         </property>
101        </widget>
102       </item>
103       <item>
104        <spacer name="lverticalSpacer_1">
105         <property name="orientation">
106          <enum>Qt::Vertical</enum>
107         </property>
108         <property name="sizeHint" stdset="0">
109          <size>
110           <width>20</width>
111           <height>40</height>
112          </size>
113         </property>
114        </spacer>
115       </item>
116       <item>
117        <widget class="QPushButton" name="playerButton">
118         <property name="sizePolicy">
119          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
120           <horstretch>0</horstretch>
121           <verstretch>0</verstretch>
122          </sizepolicy>
123         </property>
124         <property name="minimumSize">
125          <size>
126           <width>70</width>
127           <height>70</height>
128          </size>
129         </property>
130         <property name="maximumSize">
131          <size>
132           <width>70</width>
133           <height>70</height>
134          </size>
135         </property>
136         <property name="text">
137          <string/>
138         </property>
139         <property name="icon">
140          <iconset resource="../../resources/resources.qrc">
141           <normaloff>:/icons/white/player.png</normaloff>:/icons/white/player.png</iconset>
142         </property>
143         <property name="flat">
144          <bool>true</bool>
145         </property>
146        </widget>
147       </item>
148      </layout>
149     </widget>
150    </item>
151    <item>
152     <layout class="QVBoxLayout" name="verticalLayout">
153      <property name="spacing">
154       <number>0</number>
155      </property>
156      <item>
157       <widget class="QWidget" name="topWidget" native="true">
158        <property name="styleSheet">
159         <string notr="true">background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(38, 38, 38, 255), stop:1 rgba(92, 92, 92, 255))</string>
160        </property>
161        <layout class="QHBoxLayout" name="horizontalLayout">
162         <property name="spacing">
163          <number>0</number>
164         </property>
165         <property name="margin">
166          <number>0</number>
167         </property>
168         <item>
169          <spacer name="thorizontalSpacer_0">
170           <property name="orientation">
171            <enum>Qt::Horizontal</enum>
172           </property>
173           <property name="sizeType">
174            <enum>QSizePolicy::Maximum</enum>
175           </property>
176           <property name="sizeHint" stdset="0">
177            <size>
178             <width>324</width>
179             <height>0</height>
180            </size>
181           </property>
182          </spacer>
183         </item>
184         <item>
185          <spacer name="thorizontalSpacer_1">
186           <property name="orientation">
187            <enum>Qt::Horizontal</enum>
188           </property>
189           <property name="sizeType">
190            <enum>QSizePolicy::Maximum</enum>
191           </property>
192           <property name="sizeHint" stdset="0">
193            <size>
194             <width>327</width>
195             <height>0</height>
196            </size>
197           </property>
198          </spacer>
199         </item>
200        </layout>
201       </widget>
202      </item>
203      <item>
204       <widget class="QTableView" name="dirView">
205        <property name="contextMenuPolicy">
206         <enum>Qt::CustomContextMenu</enum>
207        </property>
208        <property name="frameShadow">
209         <enum>QFrame::Sunken</enum>
210        </property>
211        <property name="horizontalScrollBarPolicy">
212         <enum>Qt::ScrollBarAlwaysOff</enum>
213        </property>
214        <property name="autoScroll">
215         <bool>false</bool>
216        </property>
217        <property name="editTriggers">
218         <set>QAbstractItemView::NoEditTriggers</set>
219        </property>
220        <property name="showDropIndicator" stdset="0">
221         <bool>false</bool>
222        </property>
223        <property name="dragEnabled">
224         <bool>false</bool>
225        </property>
226        <property name="dragDropOverwriteMode">
227         <bool>false</bool>
228        </property>
229        <property name="dragDropMode">
230         <enum>QAbstractItemView::NoDragDrop</enum>
231        </property>
232        <property name="selectionMode">
233         <enum>QAbstractItemView::MultiSelection</enum>
234        </property>
235        <property name="selectionBehavior">
236         <enum>QAbstractItemView::SelectRows</enum>
237        </property>
238        <property name="iconSize">
239         <size>
240          <width>50</width>
241          <height>50</height>
242         </size>
243        </property>
244        <property name="showGrid">
245         <bool>false</bool>
246        </property>
247        <property name="cornerButtonEnabled">
248         <bool>false</bool>
249        </property>
250        <attribute name="horizontalHeaderVisible">
251         <bool>false</bool>
252        </attribute>
253        <attribute name="horizontalHeaderStretchLastSection">
254         <bool>true</bool>
255        </attribute>
256        <attribute name="verticalHeaderVisible">
257         <bool>false</bool>
258        </attribute>
259        <attribute name="verticalHeaderDefaultSectionSize">
260         <number>70</number>
261        </attribute>
262        <attribute name="verticalHeaderMinimumSectionSize">
263         <number>70</number>
264        </attribute>
265       </widget>
266      </item>
267      <item>
268       <widget class="QProgressBar" name="progressBar">
269        <property name="value">
270         <number>24</number>
271        </property>
272       </widget>
273      </item>
274      <item>
275       <widget class="QWidget" name="bottomWidget" native="true">
276        <property name="styleSheet">
277         <string notr="true">background:qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(38, 38, 38, 255), stop:1 rgba(92, 92, 92, 255))</string>
278        </property>
279        <layout class="QHBoxLayout" name="horizontalLayout_2">
280         <property name="spacing">
281          <number>0</number>
282         </property>
283         <property name="margin">
284          <number>0</number>
285         </property>
286         <item>
287          <spacer name="bhorizontalSpacer">
288           <property name="orientation">
289            <enum>Qt::Horizontal</enum>
290           </property>
291           <property name="sizeHint" stdset="0">
292            <size>
293             <width>651</width>
294             <height>0</height>
295            </size>
296           </property>
297          </spacer>
298         </item>
299        </layout>
300       </widget>
301      </item>
302     </layout>
303    </item>
304    <item>
305     <widget class="QWidget" name="rverticalWidget" native="true">
306      <layout class="QVBoxLayout" name="rverticalLayout">
307       <property name="spacing">
308        <number>0</number>
309       </property>
310       <property name="margin">
311        <number>0</number>
312       </property>
313       <item>
314        <widget class="QPushButton" name="addButton">
315         <property name="sizePolicy">
316          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
317           <horstretch>0</horstretch>
318           <verstretch>0</verstretch>
319          </sizepolicy>
320         </property>
321         <property name="minimumSize">
322          <size>
323           <width>70</width>
324           <height>70</height>
325          </size>
326         </property>
327         <property name="maximumSize">
328          <size>
329           <width>70</width>
330           <height>70</height>
331          </size>
332         </property>
333         <property name="text">
334          <string/>
335         </property>
336         <property name="icon">
337          <iconset resource="../../resources/resources.qrc">
338           <normaloff>:/icons/white/add.png</normaloff>:/icons/white/add.png</iconset>
339         </property>
340         <property name="flat">
341          <bool>true</bool>
342         </property>
343        </widget>
344       </item>
345       <item>
346        <spacer name="rverticalSpacer">
347         <property name="orientation">
348          <enum>Qt::Vertical</enum>
349         </property>
350         <property name="sizeHint" stdset="0">
351          <size>
352           <width>20</width>
353           <height>40</height>
354          </size>
355         </property>
356        </spacer>
357       </item>
358       <item>
359        <widget class="QPushButton" name="selectToggleButton">
360         <property name="sizePolicy">
361          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
362           <horstretch>0</horstretch>
363           <verstretch>0</verstretch>
364          </sizepolicy>
365         </property>
366         <property name="minimumSize">
367          <size>
368           <width>70</width>
369           <height>70</height>
370          </size>
371         </property>
372         <property name="maximumSize">
373          <size>
374           <width>70</width>
375           <height>70</height>
376          </size>
377         </property>
378         <property name="text">
379          <string/>
380         </property>
381         <property name="icon">
382          <iconset resource="../../resources/resources.qrc">
383           <normaloff>:/icons/white/select_all.png</normaloff>:/icons/white/select_all.png</iconset>
384         </property>
385         <property name="flat">
386          <bool>true</bool>
387         </property>
388        </widget>
389       </item>
390      </layout>
391     </widget>
392    </item>
393   </layout>
394  </widget>
395  <resources>
396   <include location="../../resources/resources.qrc"/>
397  </resources>
398  <connections/>
399 </ui>