diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-10 16:42:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-10 21:57:53 +0200 |
commit | a4d35e9ed6b26d329d05bc4f39e21aac34510e0a (patch) | |
tree | 37907984b564d1818841fc0161c81885474faaf2 /sd/uiconfig | |
parent | 8154d17893afff1b910dfe51cb6a6f9c78c301bb (diff) |
weld SdVectorizeDlg
Change-Id: I15469be36807bcfca9882d04dd5d55933692abf7
Reviewed-on: https://gerrit.libreoffice.org/54092
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/uiconfig')
-rw-r--r-- | sd/uiconfig/sdraw/ui/vectorize.ui | 100 |
1 files changed, 71 insertions, 29 deletions
diff --git a/sd/uiconfig/sdraw/ui/vectorize.ui b/sd/uiconfig/sdraw/ui/vectorize.ui index 0d7ccad1f96c..4bc9fecd61a9 100644 --- a/sd/uiconfig/sdraw/ui/vectorize.ui +++ b/sd/uiconfig/sdraw/ui/vectorize.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> +<!-- Generated with glade 3.20.4 --> <interface domain="sd"> <requires lib="gtk+" version="3.18"/> <object class="GtkAdjustment" id="adjustment1"> @@ -26,7 +26,10 @@ <property name="border_width">6</property> <property name="title" translatable="yes" context="vectorize|VectorizeDialog">Convert to Polygon</property> <property name="resizable">False</property> + <property name="modal">True</property> <property name="window_position">mouse</property> + <property name="default_width">0</property> + <property name="default_height">0</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -38,14 +41,12 @@ <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="ok"> - <property name="label">gtk-ok</property> + <object class="GtkButton" id="preview"> + <property name="label" translatable="yes" context="vectorize|preview">Preview</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> <property name="receives_default">True</property> - <property name="use_stock">True</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -54,10 +55,12 @@ </packing> </child> <child> - <object class="GtkButton" id="cancel"> - <property name="label">gtk-cancel</property> + <object class="GtkButton" id="ok"> + <property name="label">gtk-ok</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="use_stock">True</property> </object> @@ -68,12 +71,12 @@ </packing> </child> <child> - <object class="GtkButton" id="preview"> - <property name="label" translatable="yes" context="vectorize|preview">Preview</property> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_underline">True</property> + <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> @@ -114,10 +117,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="vectorize|label2">Number of colors:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">colors</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> @@ -128,6 +131,7 @@ <object class="GtkSpinButton" id="colors"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="activates_default">True</property> <property name="adjustment">adjustment1</property> </object> <packing> @@ -139,10 +143,10 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="vectorize|label3">Point reduction:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">points:0px</property> + <property name="mnemonic_widget">points</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> @@ -150,9 +154,10 @@ </packing> </child> <child> - <object class="GtkSpinButton" id="points:0px"> + <object class="GtkSpinButton" id="points"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="activates_default">True</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -165,11 +170,11 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_left">12</property> - <property name="xalign">0</property> <property name="xpad">12</property> <property name="label" translatable="yes" context="vectorize|tilesft">Tile size:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">tiles:0px</property> + <property name="mnemonic_widget">tiles</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> @@ -177,9 +182,10 @@ </packing> </child> <child> - <object class="GtkSpinButton" id="tiles:0px"> + <object class="GtkSpinButton" id="tiles"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="activates_default">True</property> <property name="adjustment">adjustment3</property> </object> <packing> @@ -222,10 +228,10 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="vectorize|label5">Source image:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">tiles:0px</property> + <property name="mnemonic_widget">source</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> @@ -236,10 +242,10 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="vectorize|label6">Vectorized image:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">tiles:0px</property> + <property name="mnemonic_widget">vectorized</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">1</property> @@ -247,11 +253,28 @@ </packing> </child> <child> - <object class="svxlo-GraphCtrl" id="source:border"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_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="source"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </child> + </object> + </child> </object> <packing> <property name="left_attach">0</property> @@ -259,11 +282,28 @@ </packing> </child> <child> - <object class="svxlo-GraphCtrl" id="vectorized:border"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_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="vectorized"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </child> + </object> + </child> </object> <packing> <property name="left_attach">1</property> @@ -294,8 +334,10 @@ <action-widgets> <action-widget response="-5">ok</action-widget> <action-widget response="-6">cancel</action-widget> - <action-widget response="0">preview</action-widget> <action-widget response="-11">help</action-widget> </action-widgets> + <child> + <placeholder/> + </child> </object> </interface> |