Initial commit
[tietoopcom] / src / TocUi / ChangePasswordDialog.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>ChangePasswordDialogClass</class>
33  <widget class="QDialog" name="ChangePasswordDialogClass" >
34   <property name="geometry" >
35    <rect>
36     <x>0</x>
37     <y>0</y>
38     <width>468</width>
39     <height>341</height>
40    </rect>
41   </property>
42   <property name="windowTitle" >
43    <string>Dialog</string>
44   </property>
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);
51 }</string>
52   </property>
53   <layout class="QGridLayout" name="gridLayout_7" >
54    <item row="0" column="0" >
55     <widget class="QFrame" name="frame" >
56      <property name="enabled" >
57       <bool>true</bool>
58      </property>
59      <property name="sizePolicy" >
60       <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
61        <horstretch>0</horstretch>
62        <verstretch>0</verstretch>
63       </sizepolicy>
64      </property>
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);
71 }</string>
72      </property>
73      <property name="frameShape" >
74       <enum>QFrame::Box</enum>
75      </property>
76      <property name="frameShadow" >
77       <enum>QFrame::Sunken</enum>
78      </property>
79      <property name="lineWidth" >
80       <number>1</number>
81      </property>
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>
91            </sizepolicy>
92           </property>
93           <property name="minimumSize" >
94            <size>
95             <width>0</width>
96             <height>30</height>
97            </size>
98           </property>
99           <property name="styleSheet" >
100            <string notr="true" >QLineEdit {
101         background-color: rgb(238, 255, 224);
102 }</string>
103           </property>
104          </widget>
105         </item>
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>
112            </sizepolicy>
113           </property>
114           <property name="minimumSize" >
115            <size>
116             <width>0</width>
117             <height>30</height>
118            </size>
119           </property>
120           <property name="styleSheet" >
121            <string notr="true" >QLineEdit {
122         background-color: rgb(238, 255, 224);
123 }</string>
124           </property>
125          </widget>
126         </item>
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>
133            </sizepolicy>
134           </property>
135           <property name="minimumSize" >
136            <size>
137             <width>0</width>
138             <height>30</height>
139            </size>
140           </property>
141           <property name="styleSheet" >
142            <string notr="true" >QLineEdit {
143         background-color: rgb(238, 255, 224);
144 }</string>
145           </property>
146          </widget>
147         </item>
148         <item row="1" column="0" colspan="4" >
149          <spacer name="verticalSpacer" >
150           <property name="orientation" >
151            <enum>Qt::Vertical</enum>
152           </property>
153           <property name="sizeHint" stdset="0" >
154            <size>
155             <width>20</width>
156             <height>40</height>
157            </size>
158           </property>
159          </spacer>
160         </item>
161         <item row="3" column="0" colspan="4" >
162          <spacer name="verticalSpacer_2" >
163           <property name="orientation" >
164            <enum>Qt::Vertical</enum>
165           </property>
166           <property name="sizeHint" stdset="0" >
167            <size>
168             <width>20</width>
169             <height>40</height>
170            </size>
171           </property>
172          </spacer>
173         </item>
174         <item row="6" column="0" colspan="4" >
175          <spacer name="verticalSpacer_3" >
176           <property name="orientation" >
177            <enum>Qt::Vertical</enum>
178           </property>
179           <property name="sizeHint" stdset="0" >
180            <size>
181             <width>20</width>
182             <height>40</height>
183            </size>
184           </property>
185          </spacer>
186         </item>
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>
193            </sizepolicy>
194           </property>
195           <property name="minimumSize" >
196            <size>
197             <width>100</width>
198             <height>0</height>
199            </size>
200           </property>
201           <property name="maximumSize" >
202            <size>
203             <width>140</width>
204             <height>16777215</height>
205            </size>
206           </property>
207           <property name="styleSheet" >
208            <string notr="true" >QLabel {
209         background-color: none;
210         color: rgb(255, 255, 255);
211 }</string>
212           </property>
213           <property name="text" >
214            <string>Old password:</string>
215           </property>
216          </widget>
217         </item>
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>
224            </sizepolicy>
225           </property>
226           <property name="minimumSize" >
227            <size>
228             <width>100</width>
229             <height>0</height>
230            </size>
231           </property>
232           <property name="maximumSize" >
233            <size>
234             <width>140</width>
235             <height>16777215</height>
236            </size>
237           </property>
238           <property name="styleSheet" >
239            <string notr="true" >QLabel {
240         background-color: none;
241         color: rgb(255, 255, 255);
242 }</string>
243           </property>
244           <property name="text" >
245            <string>New password:</string>
246           </property>
247          </widget>
248         </item>
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>
255            </sizepolicy>
256           </property>
257           <property name="minimumSize" >
258            <size>
259             <width>100</width>
260             <height>0</height>
261            </size>
262           </property>
263           <property name="maximumSize" >
264            <size>
265             <width>140</width>
266             <height>16777215</height>
267            </size>
268           </property>
269           <property name="styleSheet" >
270            <string notr="true" >QLabel {
271         background-color: none;
272         color: rgb(255, 255, 255);
273 }</string>
274           </property>
275           <property name="text" >
276            <string>Confirm password:</string>
277           </property>
278          </widget>
279         </item>
280         <item rowspan="2" row="7" column="0" colspan="4" >
281          <layout class="QHBoxLayout" name="horizontalLayout" >
282           <item>
283            <widget class="QPushButton" name="pushButton_2" >
284             <property name="layoutDirection" >
285              <enum>Qt::LeftToRight</enum>
286             </property>
287             <property name="styleSheet" >
288              <string notr="true" > QPushButton {
289         color: rgb(255, 255, 255);
290     border: 0px;
291
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);
295         min-height: 80px;
296         min-width: 80px;
297         max-height: 80px;
298         max-width: 100px;
299  }
300
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);
305  }</string>
306             </property>
307             <property name="text" >
308              <string>Change</string>
309             </property>
310            </widget>
311           </item>
312           <item>
313            <widget class="QPushButton" name="pushButton" >
314             <property name="layoutDirection" >
315              <enum>Qt::LeftToRight</enum>
316             </property>
317             <property name="styleSheet" >
318              <string notr="true" > QPushButton {
319         color: rgb(255, 255, 255);
320     border: 0px;
321
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);
325         min-height: 80px;
326         min-width: 80px;
327         max-height: 80px;
328         max-width: 100px;
329  }
330
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);
335  }</string>
336             </property>
337             <property name="text" >
338              <string>Cancel</string>
339             </property>
340            </widget>
341           </item>
342          </layout>
343         </item>
344        </layout>
345       </item>
346      </layout>
347     </widget>
348    </item>
349   </layout>
350  </widget>
351  <resources/>
352  <connections>
353   <connection>
354    <sender>pushButton</sender>
355    <signal>clicked()</signal>
356    <receiver>ChangePasswordDialogClass</receiver>
357    <slot>reject()</slot>
358    <hints>
359     <hint type="sourcelabel" >
360      <x>355</x>
361      <y>288</y>
362     </hint>
363     <hint type="destinationlabel" >
364      <x>419</x>
365      <y>337</y>
366     </hint>
367    </hints>
368   </connection>
369   <connection>
370    <sender>pushButton_2</sender>
371    <signal>clicked()</signal>
372    <receiver>ChangePasswordDialogClass</receiver>
373    <slot>accept()</slot>
374    <hints>
375     <hint type="sourcelabel" >
376      <x>184</x>
377      <y>278</y>
378     </hint>
379     <hint type="destinationlabel" >
380      <x>194</x>
381      <y>337</y>
382     </hint>
383    </hints>
384   </connection>
385  </connections>
386 </ui>