thresold from -255 to 255
[psensor.git] / src / glade / sensor-edit.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <object class="GtkAdjustment" id="alarm_low_thresold_value">
5     <property name="lower">-255</property>
6     <property name="upper">255</property>
7     <property name="step_increment">1</property>
8     <property name="page_increment">10</property>
9   </object>
10   <object class="GtkDialog" id="dialog1">
11     <property name="can_focus">False</property>
12     <property name="border_width">5</property>
13     <property name="title" translatable="yes">Edit Sensor Preferences</property>
14     <property name="modal">True</property>
15     <property name="destroy_with_parent">True</property>
16     <property name="type_hint">dialog</property>
17     <child internal-child="vbox">
18       <object class="GtkBox" id="dialog-vbox1">
19         <property name="visible">True</property>
20         <property name="can_focus">False</property>
21         <property name="spacing">2</property>
22         <child internal-child="action_area">
23           <object class="GtkButtonBox" id="dialog-action_area1">
24             <property name="visible">True</property>
25             <property name="can_focus">False</property>
26             <property name="layout_style">end</property>
27             <child>
28               <object class="GtkButton" id="btn_ok">
29                 <property name="label">gtk-ok</property>
30                 <property name="use_action_appearance">False</property>
31                 <property name="visible">True</property>
32                 <property name="can_focus">True</property>
33                 <property name="receives_default">True</property>
34                 <property name="use_action_appearance">False</property>
35                 <property name="use_stock">True</property>
36               </object>
37               <packing>
38                 <property name="expand">False</property>
39                 <property name="fill">False</property>
40                 <property name="position">0</property>
41               </packing>
42             </child>
43             <child>
44               <object class="GtkButton" id="btn_cancel">
45                 <property name="label">gtk-cancel</property>
46                 <property name="use_action_appearance">False</property>
47                 <property name="visible">True</property>
48                 <property name="can_focus">True</property>
49                 <property name="receives_default">True</property>
50                 <property name="use_action_appearance">False</property>
51                 <property name="use_stock">True</property>
52               </object>
53               <packing>
54                 <property name="expand">False</property>
55                 <property name="fill">False</property>
56                 <property name="position">1</property>
57               </packing>
58             </child>
59           </object>
60           <packing>
61             <property name="expand">False</property>
62             <property name="fill">True</property>
63             <property name="pack_type">end</property>
64             <property name="position">0</property>
65           </packing>
66         </child>
67         <child>
68           <object class="GtkHPaned" id="hpaned1">
69             <property name="visible">True</property>
70             <property name="can_focus">True</property>
71             <child>
72               <object class="GtkTreeView" id="sensors_list">
73                 <property name="visible">True</property>
74                 <property name="can_focus">True</property>
75                 <property name="model">sensors_liststore</property>
76                 <child internal-child="selection">
77                   <object class="GtkTreeSelection" id="treeview-selection1"/>
78                 </child>
79               </object>
80               <packing>
81                 <property name="resize">False</property>
82                 <property name="shrink">True</property>
83               </packing>
84             </child>
85             <child>
86               <object class="GtkTable" id="table1">
87                 <property name="visible">True</property>
88                 <property name="can_focus">False</property>
89                 <property name="n_rows">11</property>
90                 <property name="n_columns">2</property>
91                 <child>
92                   <object class="GtkLabel" id="sensor_id">
93                     <property name="visible">True</property>
94                     <property name="can_focus">False</property>
95                     <property name="xalign">0</property>
96                     <property name="label" translatable="yes">N/A</property>
97                   </object>
98                   <packing>
99                     <property name="left_attach">1</property>
100                     <property name="right_attach">2</property>
101                     <property name="top_attach">1</property>
102                     <property name="bottom_attach">2</property>
103                     <property name="x_padding">4</property>
104                     <property name="y_padding">4</property>
105                   </packing>
106                 </child>
107                 <child>
108                   <object class="GtkLabel" id="label3">
109                     <property name="visible">True</property>
110                     <property name="can_focus">False</property>
111                     <property name="xalign">0</property>
112                     <property name="xpad">10</property>
113                     <property name="label" translatable="yes">Name:</property>
114                   </object>
115                   <packing>
116                     <property name="top_attach">3</property>
117                     <property name="bottom_attach">4</property>
118                     <property name="x_options">GTK_FILL</property>
119                     <property name="x_padding">4</property>
120                     <property name="y_padding">4</property>
121                   </packing>
122                 </child>
123                 <child>
124                   <object class="GtkEntry" id="sensor_name">
125                     <property name="visible">True</property>
126                     <property name="can_focus">True</property>
127                     <property name="invisible_char">•</property>
128                     <property name="invisible_char_set">True</property>
129                     <property name="primary_icon_activatable">False</property>
130                     <property name="secondary_icon_activatable">False</property>
131                   </object>
132                   <packing>
133                     <property name="left_attach">1</property>
134                     <property name="right_attach">2</property>
135                     <property name="top_attach">3</property>
136                     <property name="bottom_attach">4</property>
137                     <property name="x_padding">4</property>
138                     <property name="y_padding">4</property>
139                   </packing>
140                 </child>
141                 <child>
142                   <object class="GtkLabel" id="label4">
143                     <property name="visible">True</property>
144                     <property name="can_focus">False</property>
145                     <property name="xalign">0</property>
146                     <property name="label" translatable="yes">Type:</property>
147                   </object>
148                   <packing>
149                     <property name="top_attach">2</property>
150                     <property name="bottom_attach">3</property>
151                     <property name="x_padding">14</property>
152                     <property name="y_padding">4</property>
153                   </packing>
154                 </child>
155                 <child>
156                   <object class="GtkLabel" id="sensor_type">
157                     <property name="visible">True</property>
158                     <property name="can_focus">False</property>
159                     <property name="xalign">0</property>
160                     <property name="label" translatable="yes">N/A</property>
161                   </object>
162                   <packing>
163                     <property name="left_attach">1</property>
164                     <property name="right_attach">2</property>
165                     <property name="top_attach">2</property>
166                     <property name="bottom_attach">3</property>
167                     <property name="x_padding">4</property>
168                     <property name="y_padding">4</property>
169                   </packing>
170                 </child>
171                 <child>
172                   <object class="GtkLabel" id="label2">
173                     <property name="visible">True</property>
174                     <property name="can_focus">False</property>
175                     <property name="xalign">0</property>
176                     <property name="label" translatable="yes">Id:</property>
177                   </object>
178                   <packing>
179                     <property name="top_attach">1</property>
180                     <property name="bottom_attach">2</property>
181                     <property name="x_options">GTK_FILL</property>
182                     <property name="x_padding">14</property>
183                     <property name="y_padding">4</property>
184                   </packing>
185                 </child>
186                 <child>
187                   <object class="GtkLabel" id="label5">
188                     <property name="visible">True</property>
189                     <property name="can_focus">False</property>
190                     <property name="xalign">0</property>
191                     <property name="label" translatable="yes">Graph</property>
192                     <attributes>
193                       <attribute name="weight" value="bold"/>
194                     </attributes>
195                   </object>
196                   <packing>
197                     <property name="right_attach">2</property>
198                     <property name="top_attach">4</property>
199                     <property name="bottom_attach">5</property>
200                     <property name="x_padding">4</property>
201                     <property name="y_padding">4</property>
202                   </packing>
203                 </child>
204                 <child>
205                   <object class="GtkLabel" id="label7">
206                     <property name="visible">True</property>
207                     <property name="can_focus">False</property>
208                     <property name="xalign">0</property>
209                     <property name="label" translatable="yes">Color:</property>
210                   </object>
211                   <packing>
212                     <property name="top_attach">6</property>
213                     <property name="bottom_attach">7</property>
214                     <property name="x_padding">14</property>
215                     <property name="y_padding">4</property>
216                   </packing>
217                 </child>
218                 <child>
219                   <object class="GtkLabel" id="label6">
220                     <property name="visible">True</property>
221                     <property name="can_focus">False</property>
222                     <property name="xalign">0</property>
223                     <property name="label" translatable="yes">Alarm</property>
224                     <attributes>
225                       <attribute name="weight" value="bold"/>
226                     </attributes>
227                   </object>
228                   <packing>
229                     <property name="right_attach">2</property>
230                     <property name="top_attach">7</property>
231                     <property name="bottom_attach">8</property>
232                     <property name="x_padding">4</property>
233                     <property name="y_padding">4</property>
234                   </packing>
235                 </child>
236                 <child>
237                   <object class="GtkCheckButton" id="sensor_alarm">
238                     <property name="label" translatable="yes">Activate desktop notifications</property>
239                     <property name="use_action_appearance">False</property>
240                     <property name="visible">True</property>
241                     <property name="can_focus">True</property>
242                     <property name="receives_default">False</property>
243                     <property name="use_action_appearance">False</property>
244                     <property name="draw_indicator">True</property>
245                   </object>
246                   <packing>
247                     <property name="right_attach">2</property>
248                     <property name="top_attach">8</property>
249                     <property name="bottom_attach">9</property>
250                     <property name="x_padding">14</property>
251                     <property name="y_padding">4</property>
252                   </packing>
253                 </child>
254                 <child>
255                   <object class="GtkLabel" id="label1">
256                     <property name="visible">True</property>
257                     <property name="can_focus">False</property>
258                     <property name="xalign">0</property>
259                     <property name="label" translatable="yes">Sensor Information</property>
260                     <attributes>
261                       <attribute name="weight" value="bold"/>
262                     </attributes>
263                   </object>
264                   <packing>
265                     <property name="right_attach">2</property>
266                     <property name="x_padding">4</property>
267                     <property name="y_padding">4</property>
268                   </packing>
269                 </child>
270                 <child>
271                   <object class="GtkCheckButton" id="sensor_draw">
272                     <property name="label" translatable="yes">Draw sensor curve</property>
273                     <property name="use_action_appearance">False</property>
274                     <property name="visible">True</property>
275                     <property name="can_focus">True</property>
276                     <property name="receives_default">False</property>
277                     <property name="use_action_appearance">False</property>
278                     <property name="yalign">0.41999998688697815</property>
279                     <property name="draw_indicator">True</property>
280                   </object>
281                   <packing>
282                     <property name="right_attach">2</property>
283                     <property name="top_attach">5</property>
284                     <property name="bottom_attach">6</property>
285                     <property name="x_padding">14</property>
286                     <property name="y_padding">4</property>
287                   </packing>
288                 </child>
289                 <child>
290                   <object class="GtkHBox" id="hbox1">
291                     <property name="visible">True</property>
292                     <property name="can_focus">False</property>
293                     <child>
294                       <object class="GtkSpinButton" id="sensor_alarm_high_thresold">
295                         <property name="visible">True</property>
296                         <property name="can_focus">True</property>
297                         <property name="invisible_char">•</property>
298                         <property name="invisible_char_set">True</property>
299                         <property name="primary_icon_activatable">False</property>
300                         <property name="secondary_icon_activatable">False</property>
301                         <property name="adjustment">temp_limit</property>
302                         <property name="climb_rate">1</property>
303                         <property name="snap_to_ticks">True</property>
304                         <property name="numeric">True</property>
305                         <property name="update_policy">if-valid</property>
306                       </object>
307                       <packing>
308                         <property name="expand">False</property>
309                         <property name="fill">True</property>
310                         <property name="position">0</property>
311                       </packing>
312                     </child>
313                     <child>
314                       <object class="GtkLabel" id="sensor_alarm_high_thresold_unit">
315                         <property name="visible">True</property>
316                         <property name="can_focus">False</property>
317                         <property name="valign">start</property>
318                         <property name="xalign">0</property>
319                         <property name="label" translatable="yes">N/A</property>
320                       </object>
321                       <packing>
322                         <property name="expand">True</property>
323                         <property name="fill">True</property>
324                         <property name="position">1</property>
325                       </packing>
326                     </child>
327                   </object>
328                   <packing>
329                     <property name="left_attach">1</property>
330                     <property name="right_attach">2</property>
331                     <property name="top_attach">9</property>
332                     <property name="bottom_attach">10</property>
333                   </packing>
334                 </child>
335                 <child>
336                   <object class="GtkColorButton" id="sensor_color">
337                     <property name="use_action_appearance">False</property>
338                     <property name="visible">True</property>
339                     <property name="can_focus">True</property>
340                     <property name="receives_default">True</property>
341                     <property name="use_action_appearance">False</property>
342                     <property name="xalign">0</property>
343                     <property name="color">#000000000000</property>
344                   </object>
345                   <packing>
346                     <property name="left_attach">1</property>
347                     <property name="right_attach">2</property>
348                     <property name="top_attach">6</property>
349                     <property name="bottom_attach">7</property>
350                     <property name="x_options"></property>
351                     <property name="x_padding">4</property>
352                     <property name="y_padding">4</property>
353                   </packing>
354                 </child>
355                 <child>
356                   <object class="GtkLabel" id="alarm_high_thresold_label">
357                     <property name="visible">True</property>
358                     <property name="can_focus">False</property>
359                     <property name="xalign">0.0099999997764825821</property>
360                     <property name="label" translatable="yes">High thresold:</property>
361                   </object>
362                   <packing>
363                     <property name="top_attach">9</property>
364                     <property name="bottom_attach">10</property>
365                     <property name="x_options">GTK_FILL</property>
366                     <property name="x_padding">14</property>
367                     <property name="y_padding">4</property>
368                   </packing>
369                 </child>
370                 <child>
371                   <object class="GtkLabel" id="alarm_low_thresold_label">
372                     <property name="visible">True</property>
373                     <property name="can_focus">False</property>
374                     <property name="xalign">0.0099999997764825821</property>
375                     <property name="label" translatable="yes">Low thresold:</property>
376                   </object>
377                   <packing>
378                     <property name="top_attach">10</property>
379                     <property name="bottom_attach">11</property>
380                     <property name="x_options">GTK_FILL</property>
381                     <property name="x_padding">14</property>
382                     <property name="y_padding">4</property>
383                   </packing>
384                 </child>
385                 <child>
386                   <object class="GtkHBox" id="alarm_low_thresold_box">
387                     <property name="visible">True</property>
388                     <property name="can_focus">False</property>
389                     <child>
390                       <object class="GtkSpinButton" id="sensor_alarm_low_thresold">
391                         <property name="visible">True</property>
392                         <property name="can_focus">True</property>
393                         <property name="invisible_char">•</property>
394                         <property name="invisible_char_set">True</property>
395                         <property name="primary_icon_activatable">False</property>
396                         <property name="secondary_icon_activatable">False</property>
397                         <property name="adjustment">alarm_low_thresold_value</property>
398                         <property name="climb_rate">1</property>
399                         <property name="snap_to_ticks">True</property>
400                         <property name="numeric">True</property>
401                         <property name="update_policy">if-valid</property>
402                       </object>
403                       <packing>
404                         <property name="expand">False</property>
405                         <property name="fill">True</property>
406                         <property name="position">0</property>
407                       </packing>
408                     </child>
409                     <child>
410                       <object class="GtkLabel" id="sensor_alarm_low_thresold_unit">
411                         <property name="visible">True</property>
412                         <property name="can_focus">False</property>
413                         <property name="valign">start</property>
414                         <property name="xalign">0</property>
415                         <property name="label" translatable="yes">N/A</property>
416                       </object>
417                       <packing>
418                         <property name="expand">True</property>
419                         <property name="fill">True</property>
420                         <property name="position">1</property>
421                       </packing>
422                     </child>
423                   </object>
424                   <packing>
425                     <property name="left_attach">1</property>
426                     <property name="right_attach">2</property>
427                     <property name="top_attach">10</property>
428                     <property name="bottom_attach">11</property>
429                   </packing>
430                 </child>
431               </object>
432               <packing>
433                 <property name="resize">True</property>
434                 <property name="shrink">False</property>
435               </packing>
436             </child>
437           </object>
438           <packing>
439             <property name="expand">True</property>
440             <property name="fill">True</property>
441             <property name="position">1</property>
442           </packing>
443         </child>
444       </object>
445     </child>
446     <action-widgets>
447       <action-widget response="-3">btn_ok</action-widget>
448       <action-widget response="0">btn_cancel</action-widget>
449     </action-widgets>
450   </object>
451   <object class="GtkListStore" id="sensors_liststore">
452     <columns>
453       <!-- column-name sensor_name -->
454       <column type="gchararray"/>
455     </columns>
456   </object>
457   <object class="GtkAdjustment" id="temp_limit">
458     <property name="lower">-255</property>
459     <property name="upper">255</property>
460     <property name="step_increment">1</property>
461     <property name="page_increment">10</property>
462   </object>
463 </interface>