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

« back to all changes in this revision

Viewing changes to ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.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
<ui version="4.0" >
 
2
 <comment>MultiMeterSettingsWidget</comment>
 
3
 <class>MultiMeterSettingsWidget</class>
 
4
 <widget class="QWidget" name="MultiMeterSettingsWidget" >
 
5
  <property name="geometry" >
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>352</width>
 
10
    <height>244</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="sizePolicy" >
 
14
   <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
 
15
    <horstretch>0</horstretch>
 
16
    <verstretch>0</verstretch>
 
17
   </sizepolicy>
 
18
  </property>
 
19
  <layout class="QVBoxLayout" >
 
20
   <item>
 
21
    <layout class="QHBoxLayout" >
 
22
     <item>
 
23
      <widget class="QLabel" name="label" >
 
24
       <property name="text" >
 
25
        <string>&amp;Title:</string>
 
26
       </property>
 
27
       <property name="buddy" >
 
28
        <cstring>m_title</cstring>
 
29
       </property>
 
30
      </widget>
 
31
     </item>
 
32
     <item>
 
33
      <widget class="KLineEdit" name="m_title" >
 
34
       <property name="whatsThis" >
 
35
        <string>Enter the title of the display here.</string>
 
36
       </property>
 
37
      </widget>
 
38
     </item>
 
39
     <item>
 
40
      <widget class="QCheckBox" name="m_showUnit" >
 
41
       <property name="whatsThis" >
 
42
        <string>Enable this to append the unit to the title of the display.</string>
 
43
       </property>
 
44
       <property name="text" >
 
45
        <string>&amp;Show unit</string>
 
46
       </property>
 
47
      </widget>
 
48
     </item>
 
49
    </layout>
 
50
   </item>
 
51
   <item>
 
52
    <layout class="QHBoxLayout" >
 
53
     <item>
 
54
      <widget class="QCheckBox" name="m_lowerLimitActive" >
 
55
       <property name="whatsThis" >
 
56
        <string>Enable the minimum value alarm.</string>
 
57
       </property>
 
58
       <property name="text" >
 
59
        <string>&amp;Enable alarm</string>
 
60
       </property>
 
61
      </widget>
 
62
     </item>
 
63
     <item>
 
64
      <spacer>
 
65
       <property name="orientation" >
 
66
        <enum>Qt::Horizontal</enum>
 
67
       </property>
 
68
       <property name="sizeType" >
 
69
        <enum>QSizePolicy::Expanding</enum>
 
70
       </property>
 
71
       <property name="sizeHint" stdset="0" >
 
72
        <size>
 
73
         <width>20</width>
 
74
         <height>20</height>
 
75
        </size>
 
76
       </property>
 
77
      </spacer>
 
78
     </item>
 
79
     <item>
 
80
      <widget class="QLabel" name="m_lblLowerLimit" >
 
81
       <property name="enabled" >
 
82
        <bool>false</bool>
 
83
       </property>
 
84
       <property name="text" >
 
85
        <string>Lo&amp;wer limit:</string>
 
86
       </property>
 
87
       <property name="wordWrap" >
 
88
        <bool>false</bool>
 
89
       </property>
 
90
       <property name="buddy" >
 
91
        <cstring>m_lowerLimit</cstring>
 
92
       </property>
 
93
      </widget>
 
94
     </item>
 
95
     <item>
 
96
      <widget class="KLineEdit" name="m_lowerLimit" >
 
97
       <property name="enabled" >
 
98
        <bool>false</bool>
 
99
       </property>
 
100
       <property name="minimumSize" >
 
101
        <size>
 
102
         <width>70</width>
 
103
         <height>0</height>
 
104
        </size>
 
105
       </property>
 
106
      </widget>
 
107
     </item>
 
108
    </layout>
 
109
   </item>
 
110
   <item>
 
111
    <layout class="QHBoxLayout" >
 
112
     <item>
 
113
      <widget class="QCheckBox" name="m_upperLimitActive" >
 
114
       <property name="whatsThis" >
 
115
        <string>Enable the maximum value alarm.</string>
 
116
       </property>
 
117
       <property name="text" >
 
118
        <string>E&amp;nable alarm</string>
 
119
       </property>
 
120
      </widget>
 
121
     </item>
 
122
     <item>
 
123
      <spacer>
 
124
       <property name="orientation" >
 
125
        <enum>Qt::Horizontal</enum>
 
126
       </property>
 
127
       <property name="sizeType" >
 
128
        <enum>QSizePolicy::Expanding</enum>
 
129
       </property>
 
130
       <property name="sizeHint" stdset="0" >
 
131
        <size>
 
132
         <width>20</width>
 
133
         <height>20</height>
 
134
        </size>
 
135
       </property>
 
136
      </spacer>
 
137
     </item>
 
138
     <item>
 
139
      <widget class="QLabel" name="m_lblUpperLimit" >
 
140
       <property name="enabled" >
 
141
        <bool>false</bool>
 
142
       </property>
 
143
       <property name="text" >
 
144
        <string>&amp;Upper limit:</string>
 
145
       </property>
 
146
       <property name="wordWrap" >
 
147
        <bool>false</bool>
 
148
       </property>
 
149
       <property name="buddy" >
 
150
        <cstring>m_upperLimit</cstring>
 
151
       </property>
 
152
      </widget>
 
153
     </item>
 
154
     <item>
 
155
      <widget class="KLineEdit" name="m_upperLimit" >
 
156
       <property name="enabled" >
 
157
        <bool>false</bool>
 
158
       </property>
 
159
       <property name="minimumSize" >
 
160
        <size>
 
161
         <width>70</width>
 
162
         <height>0</height>
 
163
        </size>
 
164
       </property>
 
165
      </widget>
 
166
     </item>
 
167
    </layout>
 
168
   </item>
 
169
   <item>
 
170
    <layout class="QGridLayout" >
 
171
     <item row="0" column="0" >
 
172
      <widget class="QLabel" name="textLabel1_2" >
 
173
       <property name="text" >
 
174
        <string>Normal digit color:</string>
 
175
       </property>
 
176
       <property name="alignment" >
 
177
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
178
       </property>
 
179
       <property name="wordWrap" >
 
180
        <bool>false</bool>
 
181
       </property>
 
182
      </widget>
 
183
     </item>
 
184
     <item row="0" column="1" >
 
185
      <widget class="KColorButton" name="m_normalDigitColor" >
 
186
       <property name="text" >
 
187
        <string/>
 
188
       </property>
 
189
       <property name="color" >
 
190
        <color>
 
191
         <red>0</red>
 
192
         <green>0</green>
 
193
         <blue>0</blue>
 
194
        </color>
 
195
       </property>
 
196
      </widget>
 
197
     </item>
 
198
     <item row="1" column="0" >
 
199
      <widget class="QLabel" name="textLabel2_2" >
 
200
       <property name="text" >
 
201
        <string>Alarm digit color:</string>
 
202
       </property>
 
203
       <property name="alignment" >
 
204
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
205
       </property>
 
206
       <property name="wordWrap" >
 
207
        <bool>false</bool>
 
208
       </property>
 
209
      </widget>
 
210
     </item>
 
211
     <item row="1" column="1" >
 
212
      <widget class="KColorButton" name="m_alarmDigitColor" >
 
213
       <property name="text" >
 
214
        <string/>
 
215
       </property>
 
216
       <property name="color" >
 
217
        <color>
 
218
         <red>0</red>
 
219
         <green>0</green>
 
220
         <blue>0</blue>
 
221
        </color>
 
222
       </property>
 
223
      </widget>
 
224
     </item>
 
225
     <item row="2" column="0" >
 
226
      <widget class="QLabel" name="textLabel3_2" >
 
227
       <property name="text" >
 
228
        <string>Background color:</string>
 
229
       </property>
 
230
       <property name="alignment" >
 
231
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
232
       </property>
 
233
       <property name="wordWrap" >
 
234
        <bool>false</bool>
 
235
       </property>
 
236
      </widget>
 
237
     </item>
 
238
     <item row="2" column="1" >
 
239
      <widget class="KColorButton" name="m_backgroundColor" >
 
240
       <property name="text" >
 
241
        <string/>
 
242
       </property>
 
243
      </widget>
 
244
     </item>
 
245
     <item row="1" column="2" >
 
246
      <spacer name="horizontalSpacer" >
 
247
       <property name="orientation" >
 
248
        <enum>Qt::Horizontal</enum>
 
249
       </property>
 
250
       <property name="sizeHint" stdset="0" >
 
251
        <size>
 
252
         <width>40</width>
 
253
         <height>20</height>
 
254
        </size>
 
255
       </property>
 
256
      </spacer>
 
257
     </item>
 
258
    </layout>
 
259
   </item>
 
260
  </layout>
 
261
 </widget>
 
262
 <customwidgets>
 
263
  <customwidget>
 
264
   <class>KColorButton</class>
 
265
   <extends>QPushButton</extends>
 
266
   <header>kcolorbutton.h</header>
 
267
  </customwidget>
 
268
 </customwidgets>
 
269
 <includes>
 
270
  <include location="local" >kcolorbutton.h</include>
 
271
 </includes>
 
272
 <resources/>
 
273
 <connections>
 
274
  <connection>
 
275
   <sender>m_upperLimitActive</sender>
 
276
   <signal>toggled(bool)</signal>
 
277
   <receiver>m_upperLimit</receiver>
 
278
   <slot>setEnabled(bool)</slot>
 
279
   <hints>
 
280
    <hint type="sourcelabel" >
 
281
     <x>33</x>
 
282
     <y>362</y>
 
283
    </hint>
 
284
    <hint type="destinationlabel" >
 
285
     <x>396</x>
 
286
     <y>362</y>
 
287
    </hint>
 
288
   </hints>
 
289
  </connection>
 
290
  <connection>
 
291
   <sender>m_upperLimitActive</sender>
 
292
   <signal>toggled(bool)</signal>
 
293
   <receiver>m_lblUpperLimit</receiver>
 
294
   <slot>setEnabled(bool)</slot>
 
295
   <hints>
 
296
    <hint type="sourcelabel" >
 
297
     <x>33</x>
 
298
     <y>362</y>
 
299
    </hint>
 
300
    <hint type="destinationlabel" >
 
301
     <x>320</x>
 
302
     <y>362</y>
 
303
    </hint>
 
304
   </hints>
 
305
  </connection>
 
306
  <connection>
 
307
   <sender>m_lowerLimitActive</sender>
 
308
   <signal>toggled(bool)</signal>
 
309
   <receiver>m_lowerLimit</receiver>
 
310
   <slot>setEnabled(bool)</slot>
 
311
   <hints>
 
312
    <hint type="sourcelabel" >
 
313
     <x>33</x>
 
314
     <y>362</y>
 
315
    </hint>
 
316
    <hint type="destinationlabel" >
 
317
     <x>396</x>
 
318
     <y>362</y>
 
319
    </hint>
 
320
   </hints>
 
321
  </connection>
 
322
  <connection>
 
323
   <sender>m_lowerLimitActive</sender>
 
324
   <signal>toggled(bool)</signal>
 
325
   <receiver>m_lblLowerLimit</receiver>
 
326
   <slot>setEnabled(bool)</slot>
 
327
   <hints>
 
328
    <hint type="sourcelabel" >
 
329
     <x>33</x>
 
330
     <y>362</y>
 
331
    </hint>
 
332
    <hint type="destinationlabel" >
 
333
     <x>320</x>
 
334
     <y>362</y>
 
335
    </hint>
 
336
   </hints>
 
337
  </connection>
 
338
 </connections>
 
339
</ui>