diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-19 19:51:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-21 13:20:55 +0100 |
commit | b1f4bc27c0a6ec868bcce969f87aaf8ffc8b9d1f (patch) | |
tree | cda252baa6862079e6b912226c3bb18cb1d9ba79 /cui/uiconfig/ui/hangulhanjaconversiondialog.ui | |
parent | 3d31e57fba29d3bf852abafad16f840adcfb33d9 (diff) |
weld HangulHanjaConversionDialog
Change-Id: Ia41f1a03581a0a48d59706ac5b3c569fc39c7f4d
Reviewed-on: https://gerrit.libreoffice.org/68099
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/uiconfig/ui/hangulhanjaconversiondialog.ui')
-rw-r--r-- | cui/uiconfig/ui/hangulhanjaconversiondialog.ui | 362 |
1 files changed, 203 insertions, 159 deletions
diff --git a/cui/uiconfig/ui/hangulhanjaconversiondialog.ui b/cui/uiconfig/ui/hangulhanjaconversiondialog.ui index bed6c495cc16..08bb1b277071 100644 --- a/cui/uiconfig/ui/hangulhanjaconversiondialog.ui +++ b/cui/uiconfig/ui/hangulhanjaconversiondialog.ui @@ -1,11 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> +<!-- Generated with glade 3.22.1 --> <interface domain="cui"> <requires lib="gtk+" version="3.18"/> <object class="GtkDialog" id="HangulHanjaConversionDialog"> <property name="can_focus">False</property> + <property name="border_width">6</property> <property name="title" translatable="yes" context="hangulhanjaconversiondialog|HangulHanjaConversionDialog">Hangul/Hanja Conversion</property> + <property name="modal">True</property> + <property name="default_width">0</property> + <property name="default_height">0</property> <property name="type_hint">normal</property> + <child> + <placeholder/> + </child> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> @@ -78,45 +85,48 @@ <property name="margin_bottom">6</property> <property name="spacing">12</property> <child> - <object class="GtkBox" id="box3"> + <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> + <property name="row_spacing">12</property> + <property name="column_spacing">6</property> <child> - <object class="GtkBox" id="box4"> + <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_right">28</property> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label1">Original</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="originalword"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label1">Original</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">originalword</property> + <property name="xalign">0</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="originalword"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label3">Word</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">wordinput</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> <child> @@ -125,19 +135,6 @@ <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="label3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_right">42</property> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label3">Word</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> <object class="GtkEntry" id="wordinput"> <property name="visible">True</property> <property name="can_focus">True</property> @@ -164,9 +161,21 @@ </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label4">Suggestions</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> </packing> </child> <child> @@ -175,132 +184,173 @@ <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="label4"> + <object class="GtkScrolledWindow" id="scrollwin"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label4">Suggestions</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="hscrollbar_policy">never</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkDrawingArea" id="valueset"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </child> + </object> + </child> </object> <packing> - <property name="expand">True</property> + <property name="expand">False</property> <property name="fill">True</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> <child> - <object class="cuilo-SuggestionDisplay" id="suggestions:border"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="listbox"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="model">liststore2</property> + <property name="search_column">0</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn5"> + <property name="resizable">True</property> + <property name="spacing">6</property> + <child> + <object class="GtkCellRendererText" id="cellrenderer4"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> + <property name="left_attach">1</property> + <property name="top_attach">2</property> </packing> </child> <child> - <object class="GtkBox" id="box7"> + <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">baseline</property> - <property name="hexpand">True</property> - <property name="spacing">6</property> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label5">Format</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="grid1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">12</property> + <property name="column_spacing">12</property> <child> - <object class="GtkLabel" id="label5"> + <object class="GtkRadioButton" id="hanja_above"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_right">28</property> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label5">Format</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes" context="hangulhanjaconversiondialog|hanja_above">Hanja above</property> + <property name="xalign">0</property> + <property name="always_show_image">True</property> + <property name="draw_indicator">True</property> + <property name="group">simpleconversion</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkRadioButton" id="simpleconversion"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|simpleconversion">_Hangul/Hanja</property> + <object class="GtkRadioButton" id="hanja_below"> <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="tooltip_text" translatable="yes" context="hangulhanjaconversiondialog|hanja_below">Hanja below</property> <property name="xalign">0</property> - <property name="active">True</property> + <property name="always_show_image">True</property> <property name="draw_indicator">True</property> - <property name="group">hangulbracket</property> + <property name="group">simpleconversion</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="left_attach">1</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkRadioButton" id="hangulbracket"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hangulbracket">Hanja (Han_gul)</property> + <object class="GtkRadioButton" id="hangul_above"> <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="tooltip_text" translatable="yes" context="hangulhanjaconversiondialog|hangul_above">Hangul above</property> <property name="xalign">0</property> - <property name="active">True</property> + <property name="always_show_image">True</property> <property name="draw_indicator">True</property> + <property name="group">simpleconversion</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> + <property name="left_attach">0</property> + <property name="top_attach">2</property> </packing> </child> <child> - <object class="GtkRadioButton" id="hanjabracket"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hanjabracket">Hang_ul (Hanja)</property> + <object class="GtkRadioButton" id="hangul_below"> <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="tooltip_text" translatable="yes" context="hangulhanjaconversiondialog|hangul_below">Hangul below</property> <property name="xalign">0</property> - <property name="active">True</property> + <property name="always_show_image">True</property> <property name="draw_indicator">True</property> <property name="group">simpleconversion</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> + <property name="left_attach">1</property> + <property name="top_attach">2</property> </packing> </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> - </packing> - </child> - <child> - <object class="GtkGrid" id="grid1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="row_spacing">12</property> - <property name="column_spacing">12</property> <child> - <object class="cuilo-RubyRadioButton" id="hanja_above:border"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hanja_above">Hanja</property> + <object class="GtkRadioButton" id="simpleconversion"> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|simpleconversion">_Hangul/Hanja</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="margin_left">88</property> - <property name="xalign">0.2</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> - <property name="group">hanja_below</property> </object> <packing> <property name="left_attach">0</property> @@ -308,15 +358,15 @@ </packing> </child> <child> - <object class="cuilo-RubyRadioButton" id="hanja_below:border"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hanja_below">Hanja</property> + <object class="GtkRadioButton" id="hangulbracket"> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hangulbracket">Hanja (Han_gul)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="margin_left">12</property> - <property name="xalign">0.2</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> <property name="draw_indicator">True</property> - <property name="group">hangul_above</property> + <property name="group">simpleconversion</property> </object> <packing> <property name="left_attach">1</property> @@ -324,42 +374,44 @@ </packing> </child> <child> - <object class="cuilo-RubyRadioButton" id="hangul_above:border"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hangul_above">Hangul</property> + <object class="GtkRadioButton" id="hanjabracket"> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hanjabracket">Hang_ul (Hanja)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="margin_left">88</property> - <property name="xalign">0.2</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> <property name="draw_indicator">True</property> - <property name="group">hangul_below</property> + <property name="group">simpleconversion</property> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> + <property name="left_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="cuilo-RubyRadioButton" id="hangul_below:border"> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hangul_below">Hangul</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="margin_left">12</property> - <property name="xalign">0.2</property> - <property name="draw_indicator">True</property> - <property name="group">hanja_above</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - </packing> + <placeholder/> + </child> + <child> + <placeholder/> </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">4</property> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label6">Conversion</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> </packing> </child> <child> @@ -369,24 +421,11 @@ <property name="vexpand">True</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="label6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="hangulhanjaconversiondialog|label6">Conversion</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> <object class="GtkCheckButton" id="hangulonly"> <property name="label" translatable="yes" context="hangulhanjaconversiondialog|hangulonly">Hangul _only</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="margin_left">6</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -403,7 +442,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="margin_left">6</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -416,9 +454,8 @@ </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">6</property> + <property name="left_attach">1</property> + <property name="top_attach">4</property> </packing> </child> </object> @@ -432,6 +469,7 @@ <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">start</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <property name="homogeneous">True</property> @@ -494,9 +532,6 @@ </packing> </child> <child> - <placeholder/> - </child> - <child> <object class="GtkCheckButton" id="replacebychar"> <property name="label" translatable="yes" context="hangulhanjaconversiondialog|replacebychar">Replace b_y character</property> <property name="visible">True</property> @@ -547,4 +582,13 @@ <action-widget response="-11">help</action-widget> </action-widgets> </object> + <object class="GtkSizeGroup"/> + <object class="GtkTreeStore" id="liststore2"> + <columns> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name id --> + <column type="gchararray"/> + </columns> + </object> </interface> |