Committing last patch from reviewboard http://reviewboard.kde.org/r/4167/diff/3/
[plasma-media-center:mainline.git] / applets / mediabrowser / modelpackages / localpictures / localpicturesconfig.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>LocalPicturesConfig</class>
4  <widget class="QWidget" name="LocalPicturesConfig">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>352</width>
10     <height>324</height>
11    </rect>
12   </property>
13   <layout class="QVBoxLayout" name="verticalLayout">
14    <item>
15     <widget class="QRadioButton" name="showPlace">
16      <property name="text">
17       <string>Show a place:</string>
18      </property>
19     </widget>
20    </item>
21    <item>
22     <layout class="QHBoxLayout" name="horizontalLayout">
23      <item>
24       <spacer name="horizontalSpacer">
25        <property name="orientation">
26         <enum>Qt::Horizontal</enum>
27        </property>
28        <property name="sizeType">
29         <enum>QSizePolicy::Fixed</enum>
30        </property>
31        <property name="sizeHint" stdset="0">
32         <size>
33          <width>25</width>
34          <height>20</height>
35         </size>
36        </property>
37       </spacer>
38      </item>
39      <item>
40       <widget class="QComboBox" name="placesCombo">
41        <property name="enabled">
42         <bool>false</bool>
43        </property>
44       </widget>
45      </item>
46     </layout>
47    </item>
48    <item>
49     <widget class="QRadioButton" name="showCustomFolder">
50      <property name="text">
51       <string>Specify a folder:</string>
52      </property>
53     </widget>
54    </item>
55    <item>
56     <layout class="QHBoxLayout" name="horizontalLayout_3">
57      <property name="spacing">
58       <number>0</number>
59      </property>
60      <item>
61       <spacer name="horizontalSpacer_2">
62        <property name="orientation">
63         <enum>Qt::Horizontal</enum>
64        </property>
65        <property name="sizeType">
66         <enum>QSizePolicy::Minimum</enum>
67        </property>
68        <property name="sizeHint" stdset="0">
69         <size>
70          <width>25</width>
71          <height>18</height>
72         </size>
73        </property>
74       </spacer>
75      </item>
76      <item>
77       <widget class="KUrlRequester" name="urlRequester">
78        <property name="enabled">
79         <bool>false</bool>
80        </property>
81        <property name="sizePolicy">
82         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
83          <horstretch>0</horstretch>
84          <verstretch>0</verstretch>
85         </sizepolicy>
86        </property>
87        <property name="clickMessage">
88         <string>Type a path or a URL here</string>
89        </property>
90       </widget>
91      </item>
92     </layout>
93    </item>
94    <item>
95     <spacer name="verticalSpacer">
96      <property name="orientation">
97       <enum>Qt::Vertical</enum>
98      </property>
99      <property name="sizeType">
100       <enum>QSizePolicy::Minimum</enum>
101      </property>
102      <property name="sizeHint" stdset="0">
103       <size>
104        <width>20</width>
105        <height>20</height>
106       </size>
107      </property>
108     </spacer>
109    </item>
110    <item>
111     <layout class="QFormLayout" name="formLayout">
112      <property name="fieldGrowthPolicy">
113       <enum>QFormLayout::ExpandingFieldsGrow</enum>
114      </property>
115      <item row="0" column="0">
116       <widget class="QLabel" name="label_5">
117        <property name="text">
118         <string>Allow folder navigation:</string>
119        </property>
120       </widget>
121      </item>
122      <item row="0" column="1">
123       <widget class="QCheckBox" name="folderNavigationCheckBox">
124        <property name="text">
125         <string/>
126        </property>
127        <property name="checked">
128         <bool>true</bool>
129        </property>
130        <property name="autoRepeat">
131         <bool>false</bool>
132        </property>
133       </widget>
134      </item>
135     </layout>
136    </item>
137   </layout>
138  </widget>
139  <customwidgets>
140   <customwidget>
141    <class>KUrlRequester</class>
142    <extends>QFrame</extends>
143    <header>kurlrequester.h</header>
144    <container>1</container>
145   </customwidget>
146  </customwidgets>
147  <resources/>
148  <connections>
149   <connection>
150    <sender>showPlace</sender>
151    <signal>toggled(bool)</signal>
152    <receiver>placesCombo</receiver>
153    <slot>setEnabled(bool)</slot>
154    <hints>
155     <hint type="sourcelabel">
156      <x>199</x>
157      <y>14</y>
158     </hint>
159     <hint type="destinationlabel">
160      <x>214</x>
161      <y>41</y>
162     </hint>
163    </hints>
164   </connection>
165   <connection>
166    <sender>showCustomFolder</sender>
167    <signal>toggled(bool)</signal>
168    <receiver>urlRequester</receiver>
169    <slot>setEnabled(bool)</slot>
170    <hints>
171     <hint type="sourcelabel">
172      <x>199</x>
173      <y>69</y>
174     </hint>
175     <hint type="destinationlabel">
176      <x>212</x>
177      <y>97</y>
178     </hint>
179    </hints>
180   </connection>
181  </connections>
182 </ui>