2 * Tieto Open Communicator - Client for the Telepathy communications framework.
3 * Copyright (c) 2010, Tieto Corporation
6 * Redistribution and use in source and binary forms, with or without modification,
7 * are permitted provided that the following conditions are met:
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.
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.
32 <class>TocThemesSettingsWidgetClass</class>
33 <widget class="QWidget" name="TocThemesSettingsWidgetClass" >
34 <property name="geometry" >
42 <property name="windowTitle" >
45 <property name="styleSheet" >
46 <string notr="true" />
48 <layout class="QGridLayout" name="gridLayout_2" >
49 <item row="0" column="0" >
50 <widget class="QFrame" name="frame" >
51 <property name="enabled" >
54 <property name="sizePolicy" >
55 <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
56 <horstretch>0</horstretch>
57 <verstretch>0</verstretch>
60 <property name="styleSheet" >
61 <string notr="true" />
63 <property name="frameShape" >
64 <enum>QFrame::Box</enum>
66 <property name="frameShadow" >
67 <enum>QFrame::Sunken</enum>
69 <property name="lineWidth" >
72 <layout class="QGridLayout" name="gridLayout" >
73 <item row="0" column="0" >
74 <layout class="QVBoxLayout" name="verticalLayout_3" >
76 <spacer name="verticalSpacer_2" >
77 <property name="orientation" >
78 <enum>Qt::Vertical</enum>
80 <property name="sizeHint" stdset="0" >
89 <widget class="QPushButton" name="backThemeButton" >
90 <property name="styleSheet" >
91 <string notr="true" >QPushButton {
100 <property name="text" >
101 <string>Back</string>
107 <item row="0" column="1" >
108 <layout class="QVBoxLayout" name="verticalLayout" >
110 <widget class="QListWidget" name="themesListWidget" >
111 <property name="sizePolicy" >
112 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
113 <horstretch>0</horstretch>
114 <verstretch>0</verstretch>
117 <property name="autoFillBackground" >
120 <property name="styleSheet" >
121 <string notr="true" >QListView {
127 <property name="lineWidth" >
130 <property name="midLineWidth" >
133 <property name="showDropIndicator" stdset="0" >
136 <property name="alternatingRowColors" >
139 <property name="selectionMode" >
140 <enum>QAbstractItemView::SingleSelection</enum>
142 <property name="selectionBehavior" >
143 <enum>QAbstractItemView::SelectItems</enum>
145 <property name="iconSize" >
151 <property name="textElideMode" >
152 <enum>Qt::ElideMiddle</enum>
154 <property name="horizontalScrollMode" >
155 <enum>QAbstractItemView::ScrollPerItem</enum>
157 <property name="movement" >
158 <enum>QListView::Static</enum>
160 <property name="flow" >
161 <enum>QListView::TopToBottom</enum>
163 <property name="isWrapping" stdset="0" >
166 <property name="resizeMode" >
167 <enum>QListView::Adjust</enum>
169 <property name="spacing" >
172 <property name="viewMode" >
173 <enum>QListView::ListMode</enum>
175 <property name="modelColumn" >
178 <property name="wordWrap" >
181 <property name="selectionRectVisible" >
184 <property name="currentRow" >
187 <property name="sortingEnabled" >
194 <item row="0" column="2" >
195 <layout class="QVBoxLayout" name="verticalLayout_2" >
197 <widget class="QPushButton" name="addThemeButton" >
198 <property name="styleSheet" >
199 <string notr="true" >QPushButton {
208 <property name="text" >
209 <string>Add theme</string>
214 <spacer name="verticalSpacer" >
215 <property name="orientation" >
216 <enum>Qt::Vertical</enum>
218 <property name="sizeHint" stdset="0" >
227 <widget class="QPushButton" name="applyThemeButton" >
228 <property name="autoFillBackground" >
231 <property name="styleSheet" >
232 <string notr="true" >QPushButton {
241 <property name="text" >
242 <string>Apply</string>