summaryrefslogtreecommitdiff
path: root/data/preferences.ui
blob: c804392bd0da0f92ecbfa331f8f73d53b413cb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<?xml version="1.0"?>
<interface>
  <requires lib="gtk+" version="2.16"/>
  <!-- interface-naming-policy toplevel-contextual -->
  <object class="GtkListStore" id="angle_unit_model">
    <columns>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name units -->
      <column type="gint"/>
    </columns>
  </object>
  <object class="GtkListStore" id="number_format_model">
    <columns>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name format -->
      <column type="gint"/>
    </columns>
  </object>
  <object class="GtkListStore" id="word_size_model">
    <columns>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name size -->
      <column type="gint"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes" comments="Word size combo: 8 bits">8-bit</col>
        <col id="1">8</col>
      </row>
      <row>
        <col id="0" translatable="yes" comments="Word size combo: 16 bits">16-bit</col>
        <col id="1">16</col>
      </row>
      <row>
        <col id="0" translatable="yes" comments="Word size combo: 32 bits">32-bit</col>
        <col id="1">32</col>
      </row>
      <row>
        <col id="0" translatable="yes" comments="Word size combo: 64 bits">64-bit</col>
        <col id="1">64</col>
      </row>
    </data>
  </object>
  <object class="GtkDialog" id="preferences_dialog">
    <property name="border_width">8</property>
    <property name="title" translatable="yes">Preferences</property>
    <property name="type_hint">normal</property>
    <signal name="response" handler="preferences_response_cb"/>
    <signal name="delete_event" handler="preferences_dialog_delete_cb"/>
    <child internal-child="vbox">
      <object class="GtkVBox" id="dialog-vbox4">
        <property name="visible">True</property>
        <property name="spacing">5</property>
        <child>
          <object class="GtkTable" id="preferences_table">
            <property name="visible">True</property>
            <property name="border_width">5</property>
            <property name="n_rows">4</property>
            <property name="n_columns">2</property>
            <property name="column_spacing">6</property>
            <property name="row_spacing">12</property>
            <child>
              <object class="GtkLabel" id="label8">
                <property name="visible">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes" comments="Preferences dialog: Label for angle unit combo box">_Angle units:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">angle_unit_combobox</property>
              </object>
              <packing>
                <property name="top_attach">2</property>
                <property name="bottom_attach">3</property>
                <property name="x_options">GTK_FILL</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="label9">
                <property name="visible">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes" comments="Preferences dialog: Label for display format combo box">Number _Format:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">number_format_combobox</property>
              </object>
              <packing>
                <property name="x_options">GTK_FILL</property>
              </packing>
            </child>
            <child>
              <object class="GtkComboBox" id="angle_unit_combobox">
                <property name="visible">True</property>
                <property name="model">angle_unit_model</property>
                <signal name="changed" handler="angle_unit_combobox_changed_cb"/>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="right_attach">2</property>
                <property name="top_attach">2</property>
                <property name="bottom_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkComboBox" id="number_format_combobox">
                <property name="visible">True</property>
                <property name="model">number_format_model</property>
                <signal name="changed" handler="number_format_combobox_changed_cb"/>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="right_attach">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="label11">
                <property name="visible">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes" comments="Preferences dialog: label for word size combo box">Word _size:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">word_size_combobox</property>
              </object>
              <packing>
                <property name="top_attach">3</property>
                <property name="bottom_attach">4</property>
                <property name="x_options">GTK_FILL</property>
              </packing>
            </child>
            <child>
              <object class="GtkComboBox" id="word_size_combobox">
                <property name="visible">True</property>
                <property name="model">word_size_model</property>
                <signal name="changed" handler="word_size_combobox_changed_cb"/>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="right_attach">2</property>
                <property name="top_attach">3</property>
                <property name="bottom_attach">4</property>
              </packing>
            </child>
            <child>
              <object class="GtkAlignment" id="alignment1">
                <property name="visible">True</property>
                <property name="bottom_padding">6</property>
                <property name="left_padding">12</property>
                <child>
                  <object class="GtkTable" id="table2">
                    <property name="visible">True</property>
                    <property name="n_rows">3</property>
                    <property name="row_spacing">6</property>
                    <child>
                      <object class="GtkCheckButton" id="trailing_zeroes_check">
                        <property name="label" translatable="yes" comments="Preferences dialog: label for show trailing zeroes check button">Show trailing _zeroes</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">False</property>
                        <property name="use_underline">True</property>
                        <property name="draw_indicator">True</property>
                        <signal name="toggled" handler="trailing_zeroes_check_toggled_cb"/>
                      </object>
                      <packing>
                        <property name="top_attach">1</property>
                        <property name="bottom_attach">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="thousands_separator_check">
                        <property name="label" translatable="yes" comments="Preferences dialog: label for show thousands separator check button">Show _thousands separators</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">False</property>
                        <property name="use_underline">True</property>
                        <property name="draw_indicator">True</property>
                        <signal name="toggled" handler="thousands_separator_check_toggled_cb"/>
                      </object>
                      <packing>
                        <property name="top_attach">2</property>
                        <property name="bottom_attach">3</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkHBox" id="hbox1">
                        <property name="visible">True</property>
                        <property name="spacing">6</property>
                        <child>
                          <object class="GtkLabel" id="decimal_places_label1">
                            <property name="visible">True</property>
                            <property name="xalign">0</property>
                            <property name="label" comments="Not translated by Gtk+, is translated as one string">Show</property>
                            <property name="use_underline">True</property>
                            <property name="mnemonic_widget">decimal_places_spin</property>
                          </object>
                          <packing>
                            <property name="expand">False</property>
                            <property name="position">0</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkSpinButton" id="decimal_places_spin">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="invisible_char">&#x25CF;</property>
                            <property name="adjustment">decimal_places_adjustment</property>
                            <signal name="value_changed" handler="decimal_places_spin_change_value_cb"/>
                          </object>
                          <packing>
                            <property name="expand">False</property>
                            <property name="position">1</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkLabel" id="decimal_places_label2">
                            <property name="visible">True</property>
                            <property name="xalign">0</property>
                            <property name="label" comments="Not translated by Gtk+, is translated as one string">decimal _places</property>
                            <property name="use_underline">True</property>
                            <property name="mnemonic_widget">decimal_places_spin</property>
                          </object>
                          <packing>
                            <property name="position">2</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
              <packing>
                <property name="right_attach">2</property>
                <property name="top_attach">1</property>
                <property name="bottom_attach">2</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="position">1</property>
          </packing>
        </child>
        <child internal-child="action_area">
          <object class="GtkHButtonBox" id="dialog-action_area4">
            <property name="visible">True</property>
            <property name="layout_style">end</property>
            <child>
              <object class="GtkButton" id="button1">
                <property name="label">gtk-close</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="use_stock">True</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">0</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="pack_type">end</property>
            <property name="position">0</property>
          </packing>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">button1</action-widget>
    </action-widgets>
  </object>
  <object class="GtkAdjustment" id="decimal_places_adjustment">
    <property name="upper">9</property>
    <property name="step_increment">1</property>
    <property name="page_increment">1</property>
  </object>
</interface>