diff options
Diffstat (limited to 'data/preferences.ui')
-rw-r--r-- | data/preferences.ui | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/data/preferences.ui b/data/preferences.ui new file mode 100644 index 0000000..4d93aed --- /dev/null +++ b/data/preferences.ui @@ -0,0 +1,277 @@ +<?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> + <property name="has_separator">False</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">●</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> |