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