Kaydet (Commit) 82e91af8 authored tarafından Olivier Hallot's avatar Olivier Hallot Kaydeden (comit) Tomaž Vajngerl

HIG improvements for data sampling .ui

Change-Id: I84d5f6818e1cc729b87b606de00ea342061a10a2
Reviewed-on: https://gerrit.libreoffice.org/10696Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
Tested-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst 70df173d
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface> <interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 --> <!-- interface-requires LibreOffice 1.0 -->
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="period-adjustment"> <object class="GtkAdjustment" id="period-adjustment">
<property name="lower">1</property> <property name="lower">1</property>
<property name="upper">100</property> <property name="upper">100</property>
...@@ -16,14 +17,14 @@ ...@@ -16,14 +17,14 @@
</object> </object>
<object class="GtkDialog" id="SamplingDialog"> <object class="GtkDialog" id="SamplingDialog">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">6</property>
<property name="title" translatable="yes">Sampling</property> <property name="title" translatable="yes">Sampling</property>
<property name="type_hint">dialog</property> <property name="type_hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1"> <object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">2</property> <property name="spacing">12</property>
<child internal-child="action_area"> <child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1"> <object class="GtkButtonBox" id="dialog-action_area1">
<property name="can_focus">False</property> <property name="can_focus">False</property>
...@@ -69,254 +70,280 @@ ...@@ -69,254 +70,280 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkGrid" id="grid1"> <object class="GtkFrame" id="frame1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="row_spacing">6</property> <property name="label_xalign">0</property>
<property name="column_spacing">12</property> <property name="shadow_type">none</property>
<child> <child>
<object class="GtkLabel" id="input-range-label"> <object class="GtkAlignment" id="alignment1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property> <property name="top_padding">6</property>
<property name="label" translatable="yes">Input Range</property> <property name="bottom_padding">6</property>
<property name="use_underline">True</property> <property name="left_padding">12</property>
<property name="mnemonic_widget">input-range-edit</property> <property name="right_padding">12</property>
</object> <child>
<packing> <object class="GtkGrid" id="grid1">
<property name="left_attach">0</property> <property name="visible">True</property>
<property name="top_attach">0</property> <property name="can_focus">False</property>
<property name="width">1</property> <property name="row_spacing">6</property>
<property name="height">1</property> <property name="column_spacing">12</property>
</packing> <child>
</child> <object class="GtkLabel" id="input-range-label">
<child> <property name="visible">True</property>
<object class="foruilo-RefEdit" id="input-range-edit"> <property name="can_focus">False</property>
<property name="visible">True</property> <property name="xalign">0</property>
<property name="can_focus">True</property> <property name="label" translatable="yes">Input Range</property>
<property name="valign">center</property> <property name="use_underline">True</property>
<property name="hexpand">True</property> <property name="mnemonic_widget">input-range-edit</property>
<property name="invisible_char"></property> </object>
<property name="width_chars">30</property> <packing>
<property name="invisible_char_set">True</property> <property name="left_attach">0</property>
</object> <property name="top_attach">0</property>
<packing> <property name="width">1</property>
<property name="left_attach">1</property> <property name="height">1</property>
<property name="top_attach">0</property> </packing>
<property name="width">1</property> </child>
<property name="height">1</property> <child>
</packing> <object class="foruilo-RefEdit" id="input-range-edit">
</child> <property name="visible">True</property>
<child> <property name="can_focus">True</property>
<object class="foruilo-RefButton" id="input-range-button"> <property name="valign">center</property>
<property name="visible">True</property> <property name="hexpand">True</property>
<property name="can_focus">False</property> <property name="invisible_char"></property>
<property name="receives_default">True</property> <property name="width_chars">30</property>
</object> </object>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">1</property>
<property name="top_attach">0</property> <property name="top_attach">0</property>
<property name="width">1</property> <property name="width">1</property>
<property name="height">1</property> <property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="output-range-label"> <object class="foruilo-RefButton" id="input-range-button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">True</property>
<property name="xalign">0</property> <property name="receives_default">True</property>
<property name="label" translatable="yes">Results to</property> </object>
<property name="use_underline">True</property> <packing>
<property name="mnemonic_widget">output-range-edit</property> <property name="left_attach">2</property>
</object> <property name="top_attach">0</property>
<packing> <property name="width">1</property>
<property name="left_attach">0</property> <property name="height">1</property>
<property name="top_attach">1</property> </packing>
<property name="width">1</property> </child>
<property name="height">1</property> <child>
</packing> <object class="GtkLabel" id="output-range-label">
</child> <property name="visible">True</property>
<child> <property name="can_focus">False</property>
<object class="foruilo-RefEdit" id="output-range-edit"> <property name="xalign">0</property>
<property name="visible">True</property> <property name="label" translatable="yes">Results to</property>
<property name="can_focus">True</property> <property name="use_underline">True</property>
<property name="valign">center</property> <property name="mnemonic_widget">output-range-edit</property>
<property name="hexpand">True</property> </object>
<property name="invisible_char"></property> <packing>
<property name="width_chars">30</property> <property name="left_attach">0</property>
<property name="invisible_char_set">True</property> <property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="foruilo-RefEdit" id="output-range-edit">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property>
<property name="width_chars">30</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="foruilo-RefButton" id="output-range-button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object>
</child>
</object> </object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="foruilo-RefButton" id="output-range-button"> <object class="GtkLabel" id="label4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="receives_default">True</property> <property name="label" translatable="yes">Data</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object> </object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child> </child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="frame2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child> <child>
<object class="GtkFrame" id="frame2"> <object class="GtkAlignment" id="alignment2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label_xalign">0</property> <property name="top_padding">6</property>
<property name="shadow_type">none</property> <property name="bottom_padding">6</property>
<property name="left_padding">12</property>
<property name="right_padding">12</property>
<child> <child>
<object class="GtkAlignment" id="alignment2"> <object class="GtkGrid" id="grid2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="top_padding">6</property> <property name="row_spacing">6</property>
<property name="bottom_padding">6</property> <property name="column_spacing">12</property>
<property name="left_padding">12</property> <child>
<property name="right_padding">12</property> <object class="GtkSpinButton" id="sample-size-spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property>
<property name="text" translatable="yes">0</property>
<property name="adjustment">sample-size-adjustment</property>
<property name="update_policy">if-valid</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child> <child>
<object class="GtkGrid" id="grid2"> <object class="GtkLabel" id="label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="row_spacing">6</property> <property name="margin_left">12</property>
<property name="column_spacing">12</property> <property name="hexpand">True</property>
<child> <property name="xalign">0</property>
<object class="GtkSpinButton" id="sample-size-spin"> <property name="label" translatable="yes">Sample Size</property>
<property name="visible">True</property> <property name="use_underline">True</property>
<property name="can_focus">False</property> <property name="justify">center</property>
<property name="hexpand">True</property> <property name="mnemonic_widget">sample-size-spin</property>
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<property name="adjustment">sample-size-adjustment</property>
<property name="update_policy">if-valid</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Sample Size</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">sample-size-spin</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="random-method-radio">
<property name="label" translatable="yes">Random</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">periodic-method-radio</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="periodic-method-radio">
<property name="label" translatable="yes">Periodic</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">random-method-radio</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="period-spin">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<property name="adjustment">period-adjustment</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Period</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">period-spin</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object> </object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="random-method-radio">
<property name="label" translatable="yes">Random</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">periodic-method-radio</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="periodic-method-radio">
<property name="label" translatable="yes">Periodic</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">random-method-radio</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="period-spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property>
<property name="text" translatable="yes">1</property>
<property name="adjustment">period-adjustment</property>
<property name="value">1</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Period</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">period-spin</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child> </child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Sampling Method</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object> </object>
</child> </child>
</object> </object>
<packing> </child>
<property name="left_attach">0</property> <child type="label">
<property name="top_attach">2</property> <object class="GtkLabel" id="label2">
<property name="width">3</property> <property name="visible">True</property>
<property name="height">1</property> <property name="can_focus">False</property>
</packing> <property name="label" translatable="yes">Sampling Method</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child> </child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">1</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment