Show invite menu in wlm chat window immediately
[kdenetwork.git] / kopete / plugins / urlpicpreview / urlpicpreviewprefsbase.ui
blobd3e215fd806c6b1a18b4d13b9d7973307198054e
1 <ui version="4.0" >
2  <class>URLPicPreviewPrefsUI</class>
3  <widget class="QWidget" name="URLPicPreviewPrefsUI" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>373</width>
9     <height>236</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
14     <horstretch>0</horstretch>
15     <verstretch>0</verstretch>
16    </sizepolicy>
17   </property>
18   <property name="windowTitle" >
19    <string>Picture Preview Preferences</string>
20   </property>
21   <layout class="QVBoxLayout" >
22    <property name="leftMargin" >
23     <number>0</number>
24    </property>
25    <property name="topMargin" >
26     <number>0</number>
27    </property>
28    <property name="rightMargin" >
29     <number>0</number>
30    </property>
31    <property name="bottomMargin" >
32     <number>0</number>
33    </property>
34    <item>
35     <widget class="Q3GroupBox" name="groupBox1" >
36      <property name="title" >
37       <string>Preview</string>
38      </property>
39      <layout class="QHBoxLayout" >
40       <item>
41        <widget class="QCheckBox" name="restrictPreviews" >
42         <property name="whatsThis" >
43          <string>If checked, only the selected number of pictures are downloaded and displayed as previews.
44 Otherwise, an unlimited number of previews are generated.</string>
45         </property>
46         <property name="text" >
47          <string>&amp;Restrict number of previews</string>
48         </property>
49         <property name="checked" >
50          <bool>true</bool>
51         </property>
52        </widget>
53       </item>
54       <item>
55        <widget class="KIntSpinBox" name="previewAmount" >
56         <property name="whatsThis" >
57          <string>The maximum number of pictures to download and preview.</string>
58         </property>
59         <property name="value" >
60          <number>2</number>
61         </property>
62         <property name="maxValue" stdset="0" >
63          <number>4096</number>
64         </property>
65         <property name="minValue" stdset="0" >
66          <number>1</number>
67         </property>
68        </widget>
69       </item>
70       <item>
71        <spacer>
72         <property name="orientation" >
73          <enum>Qt::Horizontal</enum>
74         </property>
75         <property name="sizeType" >
76          <enum>QSizePolicy::Expanding</enum>
77         </property>
78         <property name="sizeHint" >
79          <size>
80           <width>0</width>
81           <height>20</height>
82          </size>
83         </property>
84        </spacer>
85       </item>
86      </layout>
87     </widget>
88    </item>
89    <item>
90     <widget class="Q3GroupBox" name="groupBox2" >
91      <property name="sizePolicy" >
92       <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
93        <horstretch>0</horstretch>
94        <verstretch>0</verstretch>
95       </sizepolicy>
96      </property>
97      <property name="title" >
98       <string>Scaling</string>
99      </property>
100      <layout class="QHBoxLayout" >
101       <item>
102        <widget class="QCheckBox" name="enableScaling" >
103         <property name="sizePolicy" >
104          <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
105           <horstretch>0</horstretch>
106           <verstretch>0</verstretch>
107          </sizepolicy>
108         </property>
109         <property name="whatsThis" >
110          <string>If checked, preview images get scaled down to the width specified.
111 Otherwise, the images are not scaled at all and appear in their original size.</string>
112         </property>
113         <property name="text" >
114          <string>Scale &amp;to</string>
115         </property>
116         <property name="checked" >
117          <bool>true</bool>
118         </property>
119        </widget>
120       </item>
121       <item>
122        <widget class="KIntSpinBox" name="previewScaleWidth" >
123         <property name="whatsThis" >
124          <string>The width to which images should be scaled down. Smaller images will appear in their original size.</string>
125         </property>
126         <property name="suffix" >
127          <string> pixel</string>
128         </property>
129         <property name="value" >
130          <number>99</number>
131         </property>
132         <property name="maxValue" stdset="0" >
133          <number>1024</number>
134         </property>
135         <property name="minValue" stdset="0" >
136          <number>16</number>
137         </property>
138         <property name="lineStep" stdset="0" >
139          <number>8</number>
140         </property>
141        </widget>
142       </item>
143       <item>
144        <spacer>
145         <property name="orientation" >
146          <enum>Qt::Horizontal</enum>
147         </property>
148         <property name="sizeType" >
149          <enum>QSizePolicy::Expanding</enum>
150         </property>
151         <property name="sizeHint" >
152          <size>
153           <width>0</width>
154           <height>20</height>
155          </size>
156         </property>
157        </spacer>
158       </item>
159      </layout>
160     </widget>
161    </item>
162    <item>
163     <widget class="Q3GroupBox" name="linkPreviewGroup" >
164      <property name="title" >
165       <string>Link Preview</string>
166      </property>
167      <layout class="QVBoxLayout" >
168       <item>
169        <layout class="QHBoxLayout" >
170         <item>
171          <widget class="QCheckBox" name="enableLinkPreview" >
172           <property name="whatsThis" >
173            <string>Creates a preview picture of the link.</string>
174           </property>
175           <property name="text" >
176            <string>Enable Lin&amp;k Preview</string>
177           </property>
178          </widget>
179         </item>
180         <item>
181          <spacer>
182           <property name="orientation" >
183            <enum>Qt::Horizontal</enum>
184           </property>
185           <property name="sizeType" >
186            <enum>QSizePolicy::Expanding</enum>
187           </property>
188           <property name="sizeHint" >
189            <size>
190             <width>40</width>
191             <height>20</height>
192            </size>
193           </property>
194          </spacer>
195         </item>
196        </layout>
197       </item>
198       <item>
199        <layout class="QHBoxLayout" >
200         <item>
201          <widget class="QLabel" name="textLabel1" >
202           <property name="text" >
203            <string>Abort creating previe&amp;w after</string>
204           </property>
205           <property name="wordWrap" >
206            <bool>false</bool>
207           </property>
208           <property name="buddy" >
209            <cstring>timeoutLinkPreview</cstring>
210           </property>
211          </widget>
212         </item>
213         <item>
214          <widget class="KIntNumInput" name="timeoutLinkPreview" >
215           <property name="enabled" >
216            <bool>false</bool>
217           </property>
218           <property name="whatsThis" >
219            <string>After the specified number of seconds the creation of the preview is aborted automatically.
220 Use 0 seconds to never abort the creation.</string>
221           </property>
222           <property name="value" >
223            <number>10</number>
224           </property>
225           <property name="suffix" >
226            <string> seconds</string>
227           </property>
228           <property name="minValue" stdset="0" >
229            <number>0</number>
230           </property>
231           <property name="maxValue" stdset="0" >
232            <number>3600</number>
233           </property>
234          </widget>
235         </item>
236         <item>
237          <spacer>
238           <property name="orientation" >
239            <enum>Qt::Horizontal</enum>
240           </property>
241           <property name="sizeType" >
242            <enum>QSizePolicy::Expanding</enum>
243           </property>
244           <property name="sizeHint" >
245            <size>
246             <width>40</width>
247             <height>20</height>
248            </size>
249           </property>
250          </spacer>
251         </item>
252        </layout>
253       </item>
254      </layout>
255     </widget>
256    </item>
257    <item>
258     <spacer>
259      <property name="orientation" >
260       <enum>Qt::Vertical</enum>
261      </property>
262      <property name="sizeType" >
263       <enum>QSizePolicy::Expanding</enum>
264      </property>
265      <property name="sizeHint" >
266       <size>
267        <width>20</width>
268        <height>1</height>
269       </size>
270      </property>
271     </spacer>
272    </item>
273   </layout>
274  </widget>
275  <layoutdefault spacing="6" margin="11" />
276   <customwidgets>
277   <customwidget>
278    <class>Q3GroupBox</class>
279    <extends>QGroupBox</extends>
280    <header>Qt3Support/Q3GroupBox</header>
281    <container>1</container>
282   </customwidget>
283   <customwidget>
284    <class>KIntNumInput</class>
285    <extends>QWidget</extends>
286    <header>knuminput.h</header>
287   </customwidget>
288   <customwidget>
289    <class>KIntSpinBox</class>
290    <extends>QSpinBox</extends>
291    <header>knuminput.h</header>
292   </customwidget>
293  </customwidgets>
294  <tabstops>
295   <tabstop>restrictPreviews</tabstop>
296   <tabstop>previewAmount</tabstop>
297   <tabstop>enableScaling</tabstop>
298   <tabstop>previewScaleWidth</tabstop>
299   <tabstop>enableLinkPreview</tabstop>
300   <tabstop>timeoutLinkPreview</tabstop>
301  </tabstops>
302  <includes>
303   <include location="local" >knuminput.h</include>
304   <include location="local" >knuminput.h</include>
305   <include location="local" >knuminput.h</include>
306   <include location="local" >knuminput.h</include>
307  </includes>
308  <resources/>
309  <connections>
310   <connection>
311    <sender>enableScaling</sender>
312    <signal>toggled(bool)</signal>
313    <receiver>previewScaleWidth</receiver>
314    <slot>setEnabled(bool)</slot>
315    <hints>
316     <hint type="sourcelabel" >
317      <x>20</x>
318      <y>20</y>
319     </hint>
320     <hint type="destinationlabel" >
321      <x>20</x>
322      <y>20</y>
323     </hint>
324    </hints>
325   </connection>
326   <connection>
327    <sender>restrictPreviews</sender>
328    <signal>toggled(bool)</signal>
329    <receiver>previewAmount</receiver>
330    <slot>setEnabled(bool)</slot>
331    <hints>
332     <hint type="sourcelabel" >
333      <x>20</x>
334      <y>20</y>
335     </hint>
336     <hint type="destinationlabel" >
337      <x>20</x>
338      <y>20</y>
339     </hint>
340    </hints>
341   </connection>
342   <connection>
343    <sender>enableLinkPreview</sender>
344    <signal>toggled(bool)</signal>
345    <receiver>timeoutLinkPreview</receiver>
346    <slot>setEnabled(bool)</slot>
347    <hints>
348     <hint type="sourcelabel" >
349      <x>20</x>
350      <y>20</y>
351     </hint>
352     <hint type="destinationlabel" >
353      <x>20</x>
354      <y>20</y>
355     </hint>
356    </hints>
357   </connection>
358  </connections>
359 </ui>