Make addItem() a slot to be able adding items using a signal.
[Rockbox.git] / rbutil / rbutilqt / browsedirtreefrm.ui
blob2b41115c51f7ae38433c2e8422f7854e40e16287
1 <ui version="4.0" >
2  <class>BrowseDirtreeFrm</class>
3  <widget class="QDialog" name="BrowseDirtreeFrm" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>275</width>
9     <height>380</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Find Directory</string>
14   </property>
15   <layout class="QGridLayout" >
16    <item row="0" column="0" colspan="2" >
17     <widget class="QLabel" name="label" >
18      <property name="text" >
19       <string>Browse to the destination folder</string>
20      </property>
21      <property name="wordWrap" >
22       <bool>true</bool>
23      </property>
24     </widget>
25    </item>
26    <item row="1" column="0" colspan="2" >
27     <widget class="QTreeView" name="tree" />
28    </item>
29    <item row="2" column="0" >
30     <spacer>
31      <property name="orientation" >
32       <enum>Qt::Horizontal</enum>
33      </property>
34      <property name="sizeHint" >
35       <size>
36        <width>40</width>
37        <height>20</height>
38       </size>
39      </property>
40     </spacer>
41    </item>
42    <item row="2" column="1" >
43     <layout class="QHBoxLayout" >
44      <item>
45       <widget class="QPushButton" name="buttonOk" >
46        <property name="text" >
47         <string>&amp;Ok</string>
48        </property>
49        <property name="icon" >
50         <iconset resource="rbutilqt.qrc" >:/icons/go-next.png</iconset>
51        </property>
52       </widget>
53      </item>
54      <item>
55       <widget class="QPushButton" name="buttonCancel" >
56        <property name="text" >
57         <string>&amp;Cancel</string>
58        </property>
59        <property name="icon" >
60         <iconset resource="rbutilqt.qrc" >:/icons/process-stop.png</iconset>
61        </property>
62       </widget>
63      </item>
64     </layout>
65    </item>
66   </layout>
67  </widget>
68  <resources>
69   <include location="rbutilqt.qrc" />
70  </resources>
71  <connections>
72   <connection>
73    <sender>buttonCancel</sender>
74    <signal>clicked()</signal>
75    <receiver>BrowseDirtreeFrm</receiver>
76    <slot>reject()</slot>
77    <hints>
78     <hint type="sourcelabel" >
79      <x>224</x>
80      <y>355</y>
81     </hint>
82     <hint type="destinationlabel" >
83      <x>48</x>
84      <y>349</y>
85     </hint>
86    </hints>
87   </connection>
88   <connection>
89    <sender>buttonOk</sender>
90    <signal>clicked()</signal>
91    <receiver>BrowseDirtreeFrm</receiver>
92    <slot>accept()</slot>
93    <hints>
94     <hint type="sourcelabel" >
95      <x>146</x>
96      <y>358</y>
97     </hint>
98     <hint type="destinationlabel" >
99      <x>74</x>
100      <y>357</y>
101     </hint>
102    </hints>
103   </connection>
104  </connections>
105 </ui>