Initial commit
[tietoopcom] / src / TocUi / TocGeneralSettingsWidget.ui
1 <!--
2  * Tieto Open Communicator - Client for the Telepathy communications framework.
3  * Copyright (c) 2010, Tieto Corporation
4  *
5  * All rights reserved.
6  * Redistribution and use in source and binary forms, with or without modification,
7  * are permitted provided that the following conditions are met:
8  *
9  *      Redistributions of source code must retain the above copyright notice,
10  *      this list of conditions and the following disclaimer.
11  *      Redistributions in binary form must reproduce the above copyright notice,
12  *      this list of conditions and the following disclaimer in the documentation
13  *      and/or other materials provided with the distribution.
14  *      Neither the name of the Tieto Corporation nor the names of its contributors 
15  *      may be used to endorse or promote products derived from this software without
16  *      specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21  * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  * 
28  *
29 -->
30
31 <ui version="4.0" >
32  <class>TocGeneralSettingsWidgetClass</class>
33  <widget class="QWidget" name="TocGeneralSettingsWidgetClass" >
34   <property name="geometry" >
35    <rect>
36     <x>0</x>
37     <y>0</y>
38     <width>773</width>
39     <height>441</height>
40    </rect>
41   </property>
42   <property name="sizeHint" stdset="0" >
43    <size>
44     <width>705</width>
45     <height>568</height>
46    </size>
47   </property>
48   <property name="windowTitle" >
49    <string>Form</string>
50   </property>
51   <layout class="QVBoxLayout" name="verticalLayout" >
52    <item>
53     <widget class="QFrame" name="generalSettingsFrame" >
54      <property name="frameShape" >
55       <enum>QFrame::StyledPanel</enum>
56      </property>
57      <property name="frameShadow" >
58       <enum>QFrame::Raised</enum>
59      </property>
60      <layout class="QHBoxLayout" name="horizontalLayout" >
61       <item>
62        <layout class="QVBoxLayout" name="verticalLayout_2" >
63         <item>
64          <spacer name="verticalSpacer" >
65           <property name="orientation" >
66            <enum>Qt::Vertical</enum>
67           </property>
68           <property name="sizeHint" stdset="0" >
69            <size>
70             <width>20</width>
71             <height>40</height>
72            </size>
73           </property>
74          </spacer>
75         </item>
76         <item>
77          <widget class="QPushButton" name="backButton" >
78           <property name="styleSheet" >
79            <string notr="true" >QPushButton {
80                         font: bold 16px;
81                 border-radius: 5px;
82                         min-height: 80px;
83                         min-width: 80px;
84                         max-height: 80px;
85                         max-width: 80px;
86 }</string>
87           </property>
88           <property name="text" >
89            <string>Back</string>
90           </property>
91          </widget>
92         </item>
93        </layout>
94       </item>
95       <item>
96        <widget class="QGroupBox" name="sortingGroupBox" >
97         <property name="enabled" >
98          <bool>false</bool>
99         </property>
100         <property name="sizePolicy" >
101          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
102           <horstretch>0</horstretch>
103           <verstretch>0</verstretch>
104          </sizepolicy>
105         </property>
106         <property name="styleSheet" >
107          <string notr="true" >QGroupBox {
108         font: bold 12px;
109 }</string>
110         </property>
111         <property name="title" >
112          <string>Contact list sorting</string>
113         </property>
114         <layout class="QGridLayout" name="gridLayout_4" >
115          <item row="4" column="0" >
116           <spacer name="verticalSpacer_3" >
117            <property name="orientation" >
118             <enum>Qt::Vertical</enum>
119            </property>
120            <property name="sizeHint" stdset="0" >
121             <size>
122              <width>20</width>
123              <height>75</height>
124             </size>
125            </property>
126           </spacer>
127          </item>
128          <item row="1" column="0" >
129           <spacer name="verticalSpacer_2" >
130            <property name="orientation" >
131             <enum>Qt::Vertical</enum>
132            </property>
133            <property name="sizeHint" stdset="0" >
134             <size>
135              <width>20</width>
136              <height>85</height>
137             </size>
138            </property>
139           </spacer>
140          </item>
141          <item row="7" column="0" >
142           <spacer name="verticalSpacer_4" >
143            <property name="orientation" >
144             <enum>Qt::Vertical</enum>
145            </property>
146            <property name="sizeHint" stdset="0" >
147             <size>
148              <width>20</width>
149              <height>75</height>
150             </size>
151            </property>
152           </spacer>
153          </item>
154          <item row="11" column="0" >
155           <spacer name="verticalSpacer_5" >
156            <property name="orientation" >
157             <enum>Qt::Vertical</enum>
158            </property>
159            <property name="sizeHint" stdset="0" >
160             <size>
161              <width>20</width>
162              <height>40</height>
163             </size>
164            </property>
165           </spacer>
166          </item>
167          <item row="2" column="0" >
168           <widget class="QRadioButton" name="alphaRadioButton" >
169            <property name="sizePolicy" >
170             <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
171              <horstretch>0</horstretch>
172              <verstretch>0</verstretch>
173             </sizepolicy>
174            </property>
175            <property name="minimumSize" >
176             <size>
177              <width>0</width>
178              <height>25</height>
179             </size>
180            </property>
181            <property name="styleSheet" >
182             <string notr="true" >QRadioButton {
183         font: bold 16px;
184         background-color: none;
185         min-height: 25px;
186 }</string>
187            </property>
188            <property name="text" >
189             <string>Sort alphabeticaly</string>
190            </property>
191            <property name="checked" >
192             <bool>true</bool>
193            </property>
194           </widget>
195          </item>
196          <item row="9" column="0" >
197           <widget class="QRadioButton" name="dragDropRadioButton" >
198            <property name="minimumSize" >
199             <size>
200              <width>0</width>
201              <height>25</height>
202             </size>
203            </property>
204            <property name="styleSheet" >
205             <string notr="true" >QRadioButton {
206         font: bold 16px;
207         background-color: none;
208         min-height: 25px;
209 }</string>
210            </property>
211            <property name="text" >
212             <string>Disable sorting</string>
213            </property>
214           </widget>
215          </item>
216          <item row="5" column="0" >
217           <widget class="QRadioButton" name="presenceRadioButton" >
218            <property name="enabled" >
219             <bool>false</bool>
220            </property>
221            <property name="styleSheet" >
222             <string notr="true" >QRadioButton {
223         font: bold 16px;
224         background-color: none;
225         min-height: 25px;
226 }</string>
227            </property>
228            <property name="text" >
229             <string>Sort by status</string>
230            </property>
231           </widget>
232          </item>
233          <item row="3" column="0" >
234           <widget class="QLabel" name="alphaLabel" >
235            <property name="font" >
236             <font>
237              <pointsize>-1</pointsize>
238              <weight>50</weight>
239              <italic>false</italic>
240              <bold>false</bold>
241             </font>
242            </property>
243            <property name="styleSheet" >
244             <string notr="true" >QLabel {
245         background: none;
246         font: 14px;
247 }</string>
248            </property>
249            <property name="text" >
250             <string>Sorts contact list items alphabetically</string>
251            </property>
252           </widget>
253          </item>
254          <item row="6" column="0" >
255           <widget class="QLabel" name="presence" >
256            <property name="font" >
257             <font>
258              <pointsize>-1</pointsize>
259              <weight>50</weight>
260              <italic>false</italic>
261              <bold>false</bold>
262             </font>
263            </property>
264            <property name="styleSheet" >
265             <string notr="true" >QLabel {
266         background: none;
267         font: 14px;
268 }</string>
269            </property>
270            <property name="text" >
271             <string>Sorts contact list items by status</string>
272            </property>
273           </widget>
274          </item>
275          <item row="10" column="0" >
276           <widget class="QLabel" name="dragDropLabel" >
277            <property name="styleSheet" >
278             <string notr="true" >QLabel {
279         background: none;
280         font: 14px;
281 }</string>
282            </property>
283            <property name="text" >
284             <string>Disables sorting and enables drag
285 and dropping</string>
286            </property>
287           </widget>
288          </item>
289         </layout>
290        </widget>
291       </item>
292       <item>
293        <widget class="QGroupBox" name="authorizationGroupBox" >
294         <property name="enabled" >
295          <bool>false</bool>
296         </property>
297         <property name="sizePolicy" >
298          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
299           <horstretch>0</horstretch>
300           <verstretch>0</verstretch>
301          </sizepolicy>
302         </property>
303         <property name="styleSheet" >
304          <string notr="true" >QGroupBox {
305         font: bold 12px;
306 }</string>
307         </property>
308         <property name="title" >
309          <string>Contact authorization rule</string>
310         </property>
311         <property name="alignment" >
312          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
313         </property>
314         <layout class="QGridLayout" name="gridLayout_5" >
315          <item row="2" column="0" >
316           <widget class="QRadioButton" name="askRadioButton" >
317            <property name="styleSheet" >
318             <string notr="true" >QRadioButton {
319         font: bold 16px;
320
321         min-height: 48px;
322 }</string>
323            </property>
324            <property name="text" >
325             <string>Ask</string>
326            </property>
327            <property name="checked" >
328             <bool>true</bool>
329            </property>
330           </widget>
331          </item>
332          <item row="6" column="0" >
333           <widget class="QRadioButton" name="denyRadioButton" >
334            <property name="styleSheet" >
335             <string notr="true" >QRadioButton {
336         font: bold 16px;
337         min-height: 48px;
338 }</string>
339            </property>
340            <property name="text" >
341             <string>Always deny</string>
342            </property>
343           </widget>
344          </item>
345          <item row="4" column="0" >
346           <widget class="QRadioButton" name="acceptRadioButton" >
347            <property name="styleSheet" >
348             <string notr="true" >QRadioButton {
349         font: bold 16px;
350         min-height: 48px;
351 }</string>
352            </property>
353            <property name="text" >
354             <string>Always accept</string>
355            </property>
356           </widget>
357          </item>
358          <item row="3" column="0" >
359           <spacer name="verticalSpacer_7" >
360            <property name="orientation" >
361             <enum>Qt::Vertical</enum>
362            </property>
363            <property name="sizeHint" stdset="0" >
364             <size>
365              <width>20</width>
366              <height>40</height>
367             </size>
368            </property>
369           </spacer>
370          </item>
371          <item row="5" column="0" >
372           <spacer name="verticalSpacer_8" >
373            <property name="orientation" >
374             <enum>Qt::Vertical</enum>
375            </property>
376            <property name="sizeHint" stdset="0" >
377             <size>
378              <width>20</width>
379              <height>40</height>
380             </size>
381            </property>
382           </spacer>
383          </item>
384          <item row="1" column="0" >
385           <spacer name="verticalSpacer_6" >
386            <property name="orientation" >
387             <enum>Qt::Vertical</enum>
388            </property>
389            <property name="sizeHint" stdset="0" >
390             <size>
391              <width>20</width>
392              <height>40</height>
393             </size>
394            </property>
395           </spacer>
396          </item>
397          <item row="7" column="0" >
398           <spacer name="verticalSpacer_9" >
399            <property name="orientation" >
400             <enum>Qt::Vertical</enum>
401            </property>
402            <property name="sizeHint" stdset="0" >
403             <size>
404              <width>20</width>
405              <height>40</height>
406             </size>
407            </property>
408           </spacer>
409          </item>
410         </layout>
411        </widget>
412       </item>
413       <item>
414        <layout class="QVBoxLayout" name="verticalLayout_3" >
415         <item>
416          <spacer name="verticalSpacer_1" >
417           <property name="orientation" >
418            <enum>Qt::Vertical</enum>
419           </property>
420           <property name="sizeHint" stdset="0" >
421            <size>
422             <width>20</width>
423             <height>40</height>
424            </size>
425           </property>
426          </spacer>
427         </item>
428         <item>
429          <widget class="QPushButton" name="okButton" >
430           <property name="styleSheet" >
431            <string notr="true" >QPushButton {
432                         font: bold 16px;
433                 border-radius: 5px;
434                         min-height: 80px;
435                         min-width: 80px;
436                         max-height: 80px;
437                         max-width: 80px;
438 }</string>
439           </property>
440           <property name="text" >
441            <string>Ok</string>
442           </property>
443          </widget>
444         </item>
445        </layout>
446       </item>
447      </layout>
448     </widget>
449    </item>
450   </layout>
451  </widget>
452  <resources/>
453  <connections/>
454 </ui>