add more spacing
[personal-kdebase.git] / workspace / ksysguard / gui / SensorDisplayLib / MultiMeterSettingsWidget.ui
blob18197a46e1d76a1e711449851fc46039279e4b83
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="QLineEdit" 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="QLineEdit" 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="QLineEdit" 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  <layoutdefault spacing="6" margin="11" />
263  <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
264  <customwidgets>
265   <customwidget>
266    <class>KColorButton</class>
267    <extends>QPushButton</extends>
268    <header>kcolorbutton.h</header>
269   </customwidget>
270  </customwidgets>
271  <includes>
272   <include location="local" >kcolorbutton.h</include>
273  </includes>
274  <resources/>
275  <connections>
276   <connection>
277    <sender>m_upperLimitActive</sender>
278    <signal>toggled(bool)</signal>
279    <receiver>m_upperLimit</receiver>
280    <slot>setEnabled(bool)</slot>
281    <hints>
282     <hint type="sourcelabel" >
283      <x>33</x>
284      <y>362</y>
285     </hint>
286     <hint type="destinationlabel" >
287      <x>396</x>
288      <y>362</y>
289     </hint>
290    </hints>
291   </connection>
292   <connection>
293    <sender>m_upperLimitActive</sender>
294    <signal>toggled(bool)</signal>
295    <receiver>m_lblUpperLimit</receiver>
296    <slot>setEnabled(bool)</slot>
297    <hints>
298     <hint type="sourcelabel" >
299      <x>33</x>
300      <y>362</y>
301     </hint>
302     <hint type="destinationlabel" >
303      <x>320</x>
304      <y>362</y>
305     </hint>
306    </hints>
307   </connection>
308   <connection>
309    <sender>m_lowerLimitActive</sender>
310    <signal>toggled(bool)</signal>
311    <receiver>m_lowerLimit</receiver>
312    <slot>setEnabled(bool)</slot>
313    <hints>
314     <hint type="sourcelabel" >
315      <x>33</x>
316      <y>362</y>
317     </hint>
318     <hint type="destinationlabel" >
319      <x>396</x>
320      <y>362</y>
321     </hint>
322    </hints>
323   </connection>
324   <connection>
325    <sender>m_lowerLimitActive</sender>
326    <signal>toggled(bool)</signal>
327    <receiver>m_lblLowerLimit</receiver>
328    <slot>setEnabled(bool)</slot>
329    <hints>
330     <hint type="sourcelabel" >
331      <x>33</x>
332      <y>362</y>
333     </hint>
334     <hint type="destinationlabel" >
335      <x>320</x>
336      <y>362</y>
337     </hint>
338    </hints>
339   </connection>
340  </connections>
341 </ui>