diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-22 13:51:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-23 17:32:34 +0200 |
commit | caf72fd8a19d5544bfc86fba1306b4066c3c2d20 (patch) | |
tree | 916f6343657393ab892ecd9a716ab42716be1280 /svx/uiconfig | |
parent | 8b7f8f54a8ee35df98f8107a42981d3a0a659541 (diff) |
weld FloatingContour
Change-Id: I055f01d2ce462009986801d4a603b0b72b1a621c
Reviewed-on: https://gerrit.libreoffice.org/72787
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/uiconfig')
-rw-r--r-- | svx/uiconfig/ui/floatingcontour.ui | 610 | ||||
-rw-r--r-- | svx/uiconfig/ui/imapdialog.ui | 2 |
2 files changed, 362 insertions, 250 deletions
diff --git a/svx/uiconfig/ui/floatingcontour.ui b/svx/uiconfig/ui/floatingcontour.ui index 819e2b2ab95a..bf4d5b03a568 100644 --- a/svx/uiconfig/ui/floatingcontour.ui +++ b/svx/uiconfig/ui/floatingcontour.ui @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.16.1 --> +<!-- Generated with glade 3.22.1 --> <interface domain="svx"> - <requires lib="LibreOffice" version="1.0"/> <requires lib="gtk+" version="3.18"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">99</property> @@ -9,339 +8,452 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> - <object class="GtkWindow" id="FloatingContour"> + <object class="GtkDialog" id="FloatingContour"> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> <property name="border_width">6</property> <property name="title" translatable="yes" context="floatingcontour|FloatingContour">Contour Editor</property> + <property name="default_width">0</property> + <property name="default_height">0</property> + <property name="type_hint">dialog</property> <child> - <object class="GtkBox" id="mainbox"> + <placeholder/> + </child> + <child internal-child="vbox"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> <property name="orientation">vertical</property> <property name="spacing">6</property> - <child> - <object class="GtkGrid" id="grid1"> + <child internal-child="action_area"> + <object class="GtkButtonBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> <property name="hexpand">True</property> - <property name="column_spacing">12</property> + <property name="layout_style">end</property> <child> - <object class="GtkToolbar" id="toolbar"> + <object class="GtkStatusbar" id="statusbar"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">end</property> <property name="hexpand">True</property> - <property name="toolbar_style">icons</property> - <child> - <object class="GtkToolButton" id="TBI_APPLY"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_APPLY</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_APPLY">Apply</property> - <property name="icon_name">svx/res/cd01.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkSeparatorToolItem" id="separatortoolitem1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_WORKPLACE"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_WORKPLACE</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_WORKPLACE">Workspace</property> - <property name="icon_name">svx/res/cd02.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkSeparatorToolItem" id="separatortoolitem2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_SELECT"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_SELECT</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_SELECT">Select</property> - <property name="icon_name">svx/res/cd05.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_RECT"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_RECT</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_RECT">Rectangle</property> - <property name="icon_name">svx/res/cd06.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_CIRCLE"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_CIRCLE</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_CIRCLE">Ellipse</property> - <property name="icon_name">svx/res/cd07.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_POLY"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_POLY</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_POLY">Polygon</property> - <property name="icon_name">svx/res/cd08.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkSeparatorToolItem" id="separatortoolitem3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> + <property name="spacing">12</property> <child> - <object class="GtkToolButton" id="TBI_POLYEDIT"> + <object class="GtkDrawingArea" id="statuscolor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_POLYEDIT</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_POLYEDIT">Edit Points</property> - <property name="icon_name">svx/res/cd015.png</property> + <property name="tooltip_text" translatable="yes" context="floatingcontour|statuscolor">Color</property> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkToolButton" id="TBI_POLYMOVE"> + <object class="GtkSeparator" id="separator1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_POLYMOVE</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_POLYMOVE">Move Points</property> - <property name="icon_name">svx/res/cd016.png</property> + <property name="orientation">vertical</property> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">1</property> </packing> </child> <child> - <object class="GtkToolButton" id="TBI_POLYINSERT"> + <object class="GtkLabel" id="statussize"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_POLYINSERT</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_POLYINSERT">Insert Points</property> - <property name="icon_name">svx/res/cd017.png</property> + <property name="label">100%</property> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">2</property> </packing> </child> <child> - <object class="GtkToolButton" id="TBI_POLYDELETE"> + <object class="GtkSeparator" id="separator4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_POLYDELETE</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_POLYDELETE">Delete Points</property> - <property name="icon_name">svx/res/cd018.png</property> + <property name="orientation">vertical</property> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">3</property> </packing> </child> <child> - <object class="GtkSeparatorToolItem" id="separatortoolitem4"> + <object class="GtkLabel" id="statuspos"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="label">100%</property> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_AUTOCONTOUR"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="action_name">TBI_AUTOCONTOUR</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_AUTOCONTOUR">AutoContour</property> - <property name="use_underline">True</property> - <property name="icon_name">svx/res/cd025.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkSeparatorToolItem" id="separatortoolitem5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_UNDO"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_UNDO</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_UNDO">Undo </property> - <property name="icon_name">svx/res/cd020.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_REDO"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_REDO</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_REDO">Redo</property> - <property name="icon_name">svx/res/cd021.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="TBI_PIPETTE"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="action_name">TBI_PIPETTE</property> - <property name="label" translatable="yes" context="floatingcontour|TBI_PIPETTE">Pipette</property> - <property name="icon_name">svx/res/cd026.png</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">4</property> </packing> </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkSpinButton" id="spinbutton:0%"> - <property name="visible">True</property> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes" context="floatingcontour|spinbutton|tooltip_text">Color Tolerance</property> - <property name="adjustment">adjustment1</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> </object> <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> + <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkBox" id="container"> + <object class="GtkBox" id="mainbox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="orientation">vertical</property> <property name="spacing">6</property> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="svxlo-StatusBar" id="statusbar"> - <property name="height_request">25</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="orientation">vertical</property> - <property name="spacing">2</property> + <child> + <object class="GtkGrid" id="grid1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkToolbar" id="toolbar"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="toolbar_style">icons</property> + <property name="show_arrow">False</property> + <property name="icon_size">2</property> + <child> + <object class="GtkToolButton" id="TBI_APPLY"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_APPLY">Apply</property> + <property name="icon_name">svx/res/cd01.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="separatortoolitem1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">False</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_WORKPLACE"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_WORKPLACE">Workspace</property> + <property name="icon_name">svx/res/cd02.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="separatortoolitem2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">False</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_SELECT"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_SELECT">Select</property> + <property name="icon_name">svx/res/cd05.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_RECT"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_RECT">Rectangle</property> + <property name="icon_name">svx/res/cd06.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_CIRCLE"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_CIRCLE">Ellipse</property> + <property name="icon_name">svx/res/cd07.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_POLY"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLY">Polygon</property> + <property name="icon_name">svx/res/cd08.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="separatortoolitem3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">False</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_POLYEDIT"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYEDIT">Edit Points</property> + <property name="icon_name">svx/res/cd015.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_POLYMOVE"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYMOVE">Move Points</property> + <property name="icon_name">svx/res/cd016.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_POLYINSERT"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYINSERT">Insert Points</property> + <property name="icon_name">svx/res/cd017.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="TBI_POLYDELETE"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYDELETE">Delete Points</property> + <property name="icon_name">svx/res/cd018.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="separatortoolitem4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">False</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="TBI_AUTOCONTOUR"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_AUTOCONTOUR">AutoContour</property> + <property name="use_underline">True</property> + <property name="icon_name">svx/res/cd025.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="separatortoolitem5"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">False</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="TBI_UNDO"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_UNDO">Undo </property> + <property name="icon_name">svx/res/cd020.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="TBI_REDO"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_REDO">Redo</property> + <property name="icon_name">svx/res/cd021.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToggleToolButton" id="TBI_PIPETTE"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_PIPETTE">Pipette</property> + <property name="icon_name">svx/res/cd026.png</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinbutton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes" context="floatingcontour|spinbutton|tooltip_text">Color Tolerance</property> + <property name="adjustment">adjustment1</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</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="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="container"> + <property name="visible">True</property> + <property name="can_focus">True</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="fill">True</property> + <property name="position">2</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">3</property> + <property name="position">1</property> </packing> </child> </object> </child> + <action-widgets> + <action-widget response="-6">cancel</action-widget> + </action-widgets> </object> </interface> diff --git a/svx/uiconfig/ui/imapdialog.ui b/svx/uiconfig/ui/imapdialog.ui index d64c38b22336..298a409be23f 100644 --- a/svx/uiconfig/ui/imapdialog.ui +++ b/svx/uiconfig/ui/imapdialog.ui @@ -139,7 +139,7 @@ <property name="hexpand">True</property> <property name="toolbar_style">icons</property> <property name="show_arrow">False</property> - <property name="icon_size">1</property> + <property name="icon_size">2</property> <child> <object class="GtkToolButton" id="TBI_APPLY"> <property name="visible">True</property> |