~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to powerdevil/kcmodule/global/generalPage.ui

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>generalPage</class>
 
4
 <widget class="QWidget" name="generalPage">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>761</width>
 
10
    <height>436</height>
 
11
   </rect>
 
12
  </property>
 
13
  <layout class="QVBoxLayout" name="verticalLayout_3">
 
14
   <item>
 
15
    <widget class="KTabWidget" name="tabWidget">
 
16
     <property name="currentIndex">
 
17
      <number>0</number>
 
18
     </property>
 
19
     <widget class="QWidget" name="tab">
 
20
      <attribute name="title">
 
21
       <string>Settings and Profile</string>
 
22
      </attribute>
 
23
      <layout class="QVBoxLayout" name="verticalLayout">
 
24
       <item>
 
25
        <layout class="QHBoxLayout" name="horizontalLayout_3">
 
26
         <property name="spacing">
 
27
          <number>4</number>
 
28
         </property>
 
29
         <item>
 
30
          <widget class="QLabel" name="eventsIconLabel">
 
31
           <property name="minimumSize">
 
32
            <size>
 
33
             <width>24</width>
 
34
             <height>24</height>
 
35
            </size>
 
36
           </property>
 
37
           <property name="maximumSize">
 
38
            <size>
 
39
             <width>16</width>
 
40
             <height>16777215</height>
 
41
            </size>
 
42
           </property>
 
43
           <property name="text">
 
44
            <string/>
 
45
           </property>
 
46
          </widget>
 
47
         </item>
 
48
         <item>
 
49
          <widget class="QLabel" name="label">
 
50
           <property name="text">
 
51
            <string>&lt;b&gt;Events&lt;/b&gt;</string>
 
52
           </property>
 
53
          </widget>
 
54
         </item>
 
55
        </layout>
 
56
       </item>
 
57
       <item>
 
58
        <layout class="QFormLayout" name="formLayout_4">
 
59
         <property name="leftMargin">
 
60
          <number>30</number>
 
61
         </property>
 
62
         <item row="0" column="0">
 
63
          <widget class="QLabel" name="label_8">
 
64
           <property name="text">
 
65
            <string>Lock screen on resume</string>
 
66
           </property>
 
67
           <property name="alignment">
 
68
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
69
           </property>
 
70
           <property name="buddy">
 
71
            <cstring>lockScreenOnResume</cstring>
 
72
           </property>
 
73
          </widget>
 
74
         </item>
 
75
         <item row="0" column="1">
 
76
          <widget class="QCheckBox" name="lockScreenOnResume">
 
77
           <property name="toolTip">
 
78
            <string>Locks screen when waking up from suspension</string>
 
79
           </property>
 
80
           <property name="statusTip">
 
81
            <string/>
 
82
           </property>
 
83
           <property name="whatsThis">
 
84
            <string>You will be asked for a password when resuming from sleep state</string>
 
85
           </property>
 
86
           <property name="text">
 
87
            <string/>
 
88
           </property>
 
89
          </widget>
 
90
         </item>
 
91
         <item row="1" column="0" colspan="2">
 
92
          <layout class="QHBoxLayout" name="horizontalLayout_2">
 
93
           <item>
 
94
            <widget class="QPushButton" name="notificationsButton">
 
95
             <property name="sizePolicy">
 
96
              <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
 
97
               <horstretch>0</horstretch>
 
98
               <verstretch>0</verstretch>
 
99
              </sizepolicy>
 
100
             </property>
 
101
             <property name="maximumSize">
 
102
              <size>
 
103
               <width>16777215</width>
 
104
               <height>16777215</height>
 
105
              </size>
 
106
             </property>
 
107
             <property name="text">
 
108
              <string>Configure Notifications...</string>
 
109
             </property>
 
110
            </widget>
 
111
           </item>
 
112
           <item>
 
113
            <spacer name="horizontalSpacer">
 
114
             <property name="orientation">
 
115
              <enum>Qt::Horizontal</enum>
 
116
             </property>
 
117
             <property name="sizeHint" stdset="0">
 
118
              <size>
 
119
               <width>40</width>
 
120
               <height>20</height>
 
121
              </size>
 
122
             </property>
 
123
            </spacer>
 
124
           </item>
 
125
          </layout>
 
126
         </item>
 
127
        </layout>
 
128
       </item>
 
129
       <item>
 
130
        <layout class="QHBoxLayout" name="horizontalLayout">
 
131
         <item>
 
132
          <widget class="QLabel" name="profileIconLabel">
 
133
           <property name="minimumSize">
 
134
            <size>
 
135
             <width>24</width>
 
136
             <height>24</height>
 
137
            </size>
 
138
           </property>
 
139
           <property name="maximumSize">
 
140
            <size>
 
141
             <width>24</width>
 
142
             <height>24</height>
 
143
            </size>
 
144
           </property>
 
145
           <property name="text">
 
146
            <string/>
 
147
           </property>
 
148
          </widget>
 
149
         </item>
 
150
         <item>
 
151
          <widget class="QLabel" name="label_2">
 
152
           <property name="text">
 
153
            <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
154
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
155
p, li { white-space: pre-wrap; }
 
156
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
157
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Profile Assignment&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
158
           </property>
 
159
          </widget>
 
160
         </item>
 
161
        </layout>
 
162
       </item>
 
163
       <item>
 
164
        <layout class="QFormLayout" name="formLayout_3">
 
165
         <property name="leftMargin">
 
166
          <number>30</number>
 
167
         </property>
 
168
         <item row="0" column="0">
 
169
          <widget class="QLabel" name="label_6">
 
170
           <property name="text">
 
171
            <string>When AC Adaptor is plugged in</string>
 
172
           </property>
 
173
           <property name="buddy">
 
174
            <cstring>acProfile</cstring>
 
175
           </property>
 
176
          </widget>
 
177
         </item>
 
178
         <item row="0" column="1">
 
179
          <widget class="KComboBox" name="acProfile">
 
180
           <property name="maximumSize">
 
181
            <size>
 
182
             <width>280</width>
 
183
             <height>16777215</height>
 
184
            </size>
 
185
           </property>
 
186
          </widget>
 
187
         </item>
 
188
         <item row="1" column="0">
 
189
          <widget class="QLabel" name="label_7">
 
190
           <property name="text">
 
191
            <string>When AC Adaptor is unplugged</string>
 
192
           </property>
 
193
           <property name="buddy">
 
194
            <cstring>batteryProfile</cstring>
 
195
           </property>
 
196
          </widget>
 
197
         </item>
 
198
         <item row="1" column="1">
 
199
          <widget class="KComboBox" name="batteryProfile">
 
200
           <property name="maximumSize">
 
201
            <size>
 
202
             <width>280</width>
 
203
             <height>16777215</height>
 
204
            </size>
 
205
           </property>
 
206
          </widget>
 
207
         </item>
 
208
         <item row="2" column="0">
 
209
          <widget class="QLabel" name="label_10">
 
210
           <property name="text">
 
211
            <string>When battery is at low level</string>
 
212
           </property>
 
213
           <property name="buddy">
 
214
            <cstring>lowProfile</cstring>
 
215
           </property>
 
216
          </widget>
 
217
         </item>
 
218
         <item row="2" column="1">
 
219
          <widget class="KComboBox" name="lowProfile">
 
220
           <property name="maximumSize">
 
221
            <size>
 
222
             <width>280</width>
 
223
             <height>16777215</height>
 
224
            </size>
 
225
           </property>
 
226
          </widget>
 
227
         </item>
 
228
         <item row="3" column="0">
 
229
          <widget class="QLabel" name="label_11">
 
230
           <property name="text">
 
231
            <string>When battery is at warning level</string>
 
232
           </property>
 
233
           <property name="buddy">
 
234
            <cstring>warningProfile</cstring>
 
235
           </property>
 
236
          </widget>
 
237
         </item>
 
238
         <item row="3" column="1">
 
239
          <widget class="KComboBox" name="warningProfile">
 
240
           <property name="maximumSize">
 
241
            <size>
 
242
             <width>280</width>
 
243
             <height>16777215</height>
 
244
            </size>
 
245
           </property>
 
246
          </widget>
 
247
         </item>
 
248
        </layout>
 
249
       </item>
 
250
       <item>
 
251
        <spacer name="verticalSpacer">
 
252
         <property name="orientation">
 
253
          <enum>Qt::Vertical</enum>
 
254
         </property>
 
255
         <property name="sizeHint" stdset="0">
 
256
          <size>
 
257
           <width>20</width>
 
258
           <height>40</height>
 
259
          </size>
 
260
         </property>
 
261
        </spacer>
 
262
       </item>
 
263
      </layout>
 
264
     </widget>
 
265
     <widget class="QWidget" name="tab_2">
 
266
      <attribute name="title">
 
267
       <string>Advanced Battery Settings</string>
 
268
      </attribute>
 
269
      <layout class="QGridLayout" name="gridLayout_2">
 
270
       <item row="0" column="0" colspan="2">
 
271
        <layout class="QFormLayout" name="formLayout">
 
272
         <item row="0" column="0">
 
273
          <widget class="QLabel" name="BatteryCriticalLabel">
 
274
           <property name="text">
 
275
            <string>When battery remaining is critical</string>
 
276
           </property>
 
277
           <property name="alignment">
 
278
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
279
           </property>
 
280
           <property name="wordWrap">
 
281
            <bool>false</bool>
 
282
           </property>
 
283
           <property name="buddy">
 
284
            <cstring>BatteryCriticalCombo</cstring>
 
285
           </property>
 
286
          </widget>
 
287
         </item>
 
288
         <item row="0" column="1">
 
289
          <widget class="KComboBox" name="BatteryCriticalCombo">
 
290
           <property name="maximumSize">
 
291
            <size>
 
292
             <width>300</width>
 
293
             <height>16777215</height>
 
294
            </size>
 
295
           </property>
 
296
          </widget>
 
297
         </item>
 
298
        </layout>
 
299
       </item>
 
300
       <item row="0" column="2">
 
301
        <spacer name="horizontalSpacer_3">
 
302
         <property name="orientation">
 
303
          <enum>Qt::Horizontal</enum>
 
304
         </property>
 
305
         <property name="sizeHint" stdset="0">
 
306
          <size>
 
307
           <width>369</width>
 
308
           <height>26</height>
 
309
          </size>
 
310
         </property>
 
311
        </spacer>
 
312
       </item>
 
313
       <item row="1" column="0">
 
314
        <spacer name="verticalSpacer_3">
 
315
         <property name="orientation">
 
316
          <enum>Qt::Vertical</enum>
 
317
         </property>
 
318
         <property name="sizeType">
 
319
          <enum>QSizePolicy::Fixed</enum>
 
320
         </property>
 
321
         <property name="sizeHint" stdset="0">
 
322
          <size>
 
323
           <width>20</width>
 
324
           <height>10</height>
 
325
          </size>
 
326
         </property>
 
327
        </spacer>
 
328
       </item>
 
329
       <item row="2" column="0" colspan="3">
 
330
        <widget class="QGroupBox" name="groupBox">
 
331
         <property name="title">
 
332
          <string>Battery Levels</string>
 
333
         </property>
 
334
         <layout class="QFormLayout" name="formLayout_2">
 
335
          <property name="fieldGrowthPolicy">
 
336
           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
 
337
          </property>
 
338
          <item row="0" column="0">
 
339
           <widget class="QLabel" name="label_3">
 
340
            <property name="text">
 
341
             <string>Battery is at low level at</string>
 
342
            </property>
 
343
            <property name="buddy">
 
344
             <cstring>lowSpin</cstring>
 
345
            </property>
 
346
           </widget>
 
347
          </item>
 
348
          <item row="0" column="1">
 
349
           <widget class="KIntSpinBox" name="lowSpin">
 
350
            <property name="maximumSize">
 
351
             <size>
 
352
              <width>100</width>
 
353
              <height>16777215</height>
 
354
             </size>
 
355
            </property>
 
356
            <property name="toolTip">
 
357
             <string>Low battery level</string>
 
358
            </property>
 
359
            <property name="whatsThis">
 
360
             <string>Battery will be considered low when it reaches this level</string>
 
361
            </property>
 
362
            <property name="suffix">
 
363
             <string>%</string>
 
364
            </property>
 
365
            <property name="maximum">
 
366
             <number>100</number>
 
367
            </property>
 
368
           </widget>
 
369
          </item>
 
370
          <item row="1" column="0">
 
371
           <widget class="QLabel" name="label_4">
 
372
            <property name="text">
 
373
             <string>Battery is at warning level at</string>
 
374
            </property>
 
375
            <property name="buddy">
 
376
             <cstring>warningSpin</cstring>
 
377
            </property>
 
378
           </widget>
 
379
          </item>
 
380
          <item row="1" column="1">
 
381
           <widget class="KIntSpinBox" name="warningSpin">
 
382
            <property name="maximumSize">
 
383
             <size>
 
384
              <width>100</width>
 
385
              <height>16777215</height>
 
386
             </size>
 
387
            </property>
 
388
            <property name="toolTip">
 
389
             <string>Warning battery level</string>
 
390
            </property>
 
391
            <property name="whatsThis">
 
392
             <string>Battery will be considered at warning level when it reaches this level</string>
 
393
            </property>
 
394
            <property name="suffix">
 
395
             <string>%</string>
 
396
            </property>
 
397
            <property name="maximum">
 
398
             <number>100</number>
 
399
            </property>
 
400
           </widget>
 
401
          </item>
 
402
          <item row="2" column="0">
 
403
           <widget class="QLabel" name="label_5">
 
404
            <property name="text">
 
405
             <string>Battery is at critical level at</string>
 
406
            </property>
 
407
            <property name="buddy">
 
408
             <cstring>criticalSpin</cstring>
 
409
            </property>
 
410
           </widget>
 
411
          </item>
 
412
          <item row="2" column="1">
 
413
           <widget class="KIntSpinBox" name="criticalSpin">
 
414
            <property name="maximumSize">
 
415
             <size>
 
416
              <width>100</width>
 
417
              <height>16777215</height>
 
418
             </size>
 
419
            </property>
 
420
            <property name="toolTip">
 
421
             <string>Critical battery level</string>
 
422
            </property>
 
423
            <property name="whatsThis">
 
424
             <string>Battery will be considered critical when it reaches this level</string>
 
425
            </property>
 
426
            <property name="suffix">
 
427
             <string>%</string>
 
428
            </property>
 
429
            <property name="maximum">
 
430
             <number>100</number>
 
431
            </property>
 
432
           </widget>
 
433
          </item>
 
434
         </layout>
 
435
        </widget>
 
436
       </item>
 
437
       <item row="3" column="1">
 
438
        <spacer name="verticalSpacer_2">
 
439
         <property name="orientation">
 
440
          <enum>Qt::Vertical</enum>
 
441
         </property>
 
442
         <property name="sizeHint" stdset="0">
 
443
          <size>
 
444
           <width>20</width>
 
445
           <height>119</height>
 
446
          </size>
 
447
         </property>
 
448
        </spacer>
 
449
       </item>
 
450
      </layout>
 
451
     </widget>
 
452
    </widget>
 
453
   </item>
 
454
  </layout>
 
455
 </widget>
 
456
 <customwidgets>
 
457
  <customwidget>
 
458
   <class>KIntSpinBox</class>
 
459
   <extends>QSpinBox</extends>
 
460
   <header>knuminput.h</header>
 
461
  </customwidget>
 
462
  <customwidget>
 
463
   <class>KComboBox</class>
 
464
   <extends>QComboBox</extends>
 
465
   <header>kcombobox.h</header>
 
466
  </customwidget>
 
467
  <customwidget>
 
468
   <class>KTabWidget</class>
 
469
   <extends>QTabWidget</extends>
 
470
   <header>ktabwidget.h</header>
 
471
   <container>1</container>
 
472
  </customwidget>
 
473
 </customwidgets>
 
474
 <resources/>
 
475
 <connections/>
 
476
</ui>