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>ChangePasswordDialogClass</class>
33 <widget class="QDialog" name="ChangePasswordDialogClass" >
34 <property name="geometry" >
42 <property name="windowTitle" >
43 <string>Dialog</string>
45 <property name="styleSheet" >
46 <string notr="true" >QDialog {
47 background-color: rgb(212, 255, 185);
48 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
49 stop: 0 #00aa00, stop: 0.55 #00bb00,
50 stop: 0.56 #00bb00, stop: 1 #00ff00);
53 <layout class="QGridLayout" name="gridLayout_7" >
54 <item row="0" column="0" >
55 <widget class="QFrame" name="frame" >
56 <property name="enabled" >
59 <property name="sizePolicy" >
60 <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
61 <horstretch>0</horstretch>
62 <verstretch>0</verstretch>
65 <property name="styleSheet" >
66 <string notr="true" >QFrame {
67 background-color: rgb(212, 255, 185);
68 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
69 stop: 0 #00aa00, stop: 0.55 #00bb00,
70 stop: 0.56 #00bb00, stop: 1 #00ff00);
73 <property name="frameShape" >
74 <enum>QFrame::Box</enum>
76 <property name="frameShadow" >
77 <enum>QFrame::Sunken</enum>
79 <property name="lineWidth" >
82 <layout class="QGridLayout" name="gridLayout_6" >
83 <item row="0" column="0" >
84 <layout class="QGridLayout" name="gridLayout_5" >
85 <item row="0" column="1" colspan="3" >
86 <widget class="QLineEdit" name="lineEdit_6" >
87 <property name="sizePolicy" >
88 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
89 <horstretch>0</horstretch>
90 <verstretch>0</verstretch>
93 <property name="minimumSize" >
99 <property name="styleSheet" >
100 <string notr="true" >QLineEdit {
101 background-color: rgb(238, 255, 224);
106 <item row="2" column="1" colspan="3" >
107 <widget class="QLineEdit" name="lineEdit_7" >
108 <property name="sizePolicy" >
109 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
110 <horstretch>0</horstretch>
111 <verstretch>0</verstretch>
114 <property name="minimumSize" >
120 <property name="styleSheet" >
121 <string notr="true" >QLineEdit {
122 background-color: rgb(238, 255, 224);
127 <item rowspan="2" row="4" column="1" colspan="3" >
128 <widget class="QLineEdit" name="lineEdit_8" >
129 <property name="sizePolicy" >
130 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
131 <horstretch>0</horstretch>
132 <verstretch>0</verstretch>
135 <property name="minimumSize" >
141 <property name="styleSheet" >
142 <string notr="true" >QLineEdit {
143 background-color: rgb(238, 255, 224);
148 <item row="1" column="0" colspan="4" >
149 <spacer name="verticalSpacer" >
150 <property name="orientation" >
151 <enum>Qt::Vertical</enum>
153 <property name="sizeHint" stdset="0" >
161 <item row="3" column="0" colspan="4" >
162 <spacer name="verticalSpacer_2" >
163 <property name="orientation" >
164 <enum>Qt::Vertical</enum>
166 <property name="sizeHint" stdset="0" >
174 <item row="6" column="0" colspan="4" >
175 <spacer name="verticalSpacer_3" >
176 <property name="orientation" >
177 <enum>Qt::Vertical</enum>
179 <property name="sizeHint" stdset="0" >
187 <item row="0" column="0" >
188 <widget class="QLabel" name="label_8" >
189 <property name="sizePolicy" >
190 <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
191 <horstretch>0</horstretch>
192 <verstretch>0</verstretch>
195 <property name="minimumSize" >
201 <property name="maximumSize" >
204 <height>16777215</height>
207 <property name="styleSheet" >
208 <string notr="true" >QLabel {
209 background-color: none;
210 color: rgb(255, 255, 255);
213 <property name="text" >
214 <string>Old password:</string>
218 <item row="2" column="0" >
219 <widget class="QLabel" name="label_9" >
220 <property name="sizePolicy" >
221 <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
222 <horstretch>0</horstretch>
223 <verstretch>0</verstretch>
226 <property name="minimumSize" >
232 <property name="maximumSize" >
235 <height>16777215</height>
238 <property name="styleSheet" >
239 <string notr="true" >QLabel {
240 background-color: none;
241 color: rgb(255, 255, 255);
244 <property name="text" >
245 <string>New password:</string>
249 <item rowspan="2" row="4" column="0" >
250 <widget class="QLabel" name="label_10" >
251 <property name="sizePolicy" >
252 <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
253 <horstretch>0</horstretch>
254 <verstretch>0</verstretch>
257 <property name="minimumSize" >
263 <property name="maximumSize" >
266 <height>16777215</height>
269 <property name="styleSheet" >
270 <string notr="true" >QLabel {
271 background-color: none;
272 color: rgb(255, 255, 255);
275 <property name="text" >
276 <string>Confirm password:</string>
280 <item rowspan="2" row="7" column="0" colspan="4" >
281 <layout class="QHBoxLayout" name="horizontalLayout" >
283 <widget class="QPushButton" name="pushButton_2" >
284 <property name="layoutDirection" >
285 <enum>Qt::LeftToRight</enum>
287 <property name="styleSheet" >
288 <string notr="true" > QPushButton {
289 color: rgb(255, 255, 255);
292 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
293 stop: 0 #009900, stop: 0.55 #00aa00,
294 stop: 0.56 #00bb00, stop: 1 #00ff00);
301 QPushButton:pressed {
302 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
303 stop: 0 #00ff00, stop: 0.55 #00bb00,
304 stop: 0.56 #00aa00, stop: 1 #009900);
307 <property name="text" >
308 <string>Change</string>
313 <widget class="QPushButton" name="pushButton" >
314 <property name="layoutDirection" >
315 <enum>Qt::LeftToRight</enum>
317 <property name="styleSheet" >
318 <string notr="true" > QPushButton {
319 color: rgb(255, 255, 255);
322 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
323 stop: 0 #009900, stop: 0.55 #00aa00,
324 stop: 0.56 #00bb00, stop: 1 #00ff00);
331 QPushButton:pressed {
332 background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0,
333 stop: 0 #00ff00, stop: 0.55 #00bb00,
334 stop: 0.56 #00aa00, stop: 1 #009900);
337 <property name="text" >
338 <string>Cancel</string>
354 <sender>pushButton</sender>
355 <signal>clicked()</signal>
356 <receiver>ChangePasswordDialogClass</receiver>
357 <slot>reject()</slot>
359 <hint type="sourcelabel" >
363 <hint type="destinationlabel" >
370 <sender>pushButton_2</sender>
371 <signal>clicked()</signal>
372 <receiver>ChangePasswordDialogClass</receiver>
373 <slot>accept()</slot>
375 <hint type="sourcelabel" >
379 <hint type="destinationlabel" >