Kaydet (Commit) b93348cd authored tarafından Caolán McNamara's avatar Caolán McNamara

weld SvxSlantTabPage

Change-Id: Ib3b1bf1fa434c63b66f388a1f1815787b642fb88
Reviewed-on: https://gerrit.libreoffice.org/54817Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3dd0105d
......@@ -227,17 +227,6 @@ class SvxSlantTabPage : public SvxTabPage
static const sal_uInt16 pSlantRanges[];
private:
VclPtr<VclFrame> m_pFlRadius;
VclPtr<MetricField> m_pMtrRadius;
VclPtr<VclFrame> m_pFlAngle;
VclPtr<MetricField> m_pMtrAngle;
VclPtr<VclFrame> m_aControlGroups[2];
VclPtr<VclContainer> m_aControlGroupX[2];
VclPtr<MetricField> m_aControlX[2];
VclPtr<VclContainer> m_aControlGroupY[2];
VclPtr<MetricField> m_aControlY[2];
const SfxItemSet& rOutAttrs;
const SdrView* pView;
......@@ -248,10 +237,19 @@ private:
MapUnit ePoolUnit;
FieldUnit eDlgUnit;
std::unique_ptr<weld::Widget> m_xFlRadius;
std::unique_ptr<weld::MetricSpinButton> m_xMtrRadius;
std::unique_ptr<weld::Widget> m_xFlAngle;
std::unique_ptr<weld::MetricSpinButton> m_xMtrAngle;
std::unique_ptr<weld::Widget> m_aControlGroups[2];
std::unique_ptr<weld::Widget> m_aControlGroupX[2];
std::unique_ptr<weld::MetricSpinButton> m_aControlX[2];
std::unique_ptr<weld::Widget> m_aControlGroupY[2];
std::unique_ptr<weld::MetricSpinButton> m_aControlY[2];
public:
SvxSlantTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs );
SvxSlantTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs);
virtual ~SvxSlantTabPage() override;
virtual void dispose() override;
static VclPtr<SfxTabPage> Create( TabPageParent, const SfxItemSet* );
static const sal_uInt16* GetRanges() { return pSlantRanges; }
......
<?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="GtkAdjustment" id="adjustment1">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment2">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment3">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment4">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustmentRADIUS">
<property name="upper">500</property>
<property name="step_increment">10</property>
......@@ -49,7 +69,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|label5">_X:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">controlx1:0.00cm</property>
<property name="mnemonic_widget">controlx1</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -59,9 +79,11 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="controlx1:0.00cm">
<object class="GtkSpinButton" id="controlx1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustment1</property>
<property name="digits">2</property>
</object>
<packing>
......@@ -87,7 +109,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|label6">_Y:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">controly1:0.00cm</property>
<property name="mnemonic_widget">controly1</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -97,9 +119,11 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="controly1:0.00cm">
<object class="GtkSpinButton" id="controly1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustment3</property>
<property name="digits">2</property>
</object>
<packing>
......@@ -158,7 +182,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|FT_RADIUS">_Radius:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_RADIUS:0.00cm</property>
<property name="mnemonic_widget">MTR_FLD_RADIUS</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -167,9 +191,10 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="MTR_FLD_RADIUS:0.00cm">
<object class="GtkSpinButton" id="MTR_FLD_RADIUS">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustmentRADIUS</property>
<property name="digits">2</property>
</object>
......@@ -222,7 +247,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|FT_ANGLE">_Angle:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_ANGLE:0.00degrees</property>
<property name="mnemonic_widget">MTR_FLD_ANGLE</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -231,9 +256,10 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="MTR_FLD_ANGLE:0.00degrees">
<object class="GtkSpinButton" id="MTR_FLD_ANGLE">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustmentSLANT</property>
<property name="digits">2</property>
</object>
......@@ -293,7 +319,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|label4">_X:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">controlx2:0.00cm</property>
<property name="mnemonic_widget">controlx2</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -303,9 +329,11 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="controlx2:0.00cm">
<object class="GtkSpinButton" id="controlx2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustment2</property>
<property name="digits">2</property>
</object>
<packing>
......@@ -331,7 +359,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="slantcornertabpage|label7">_Y:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">controly2:0.00cm</property>
<property name="mnemonic_widget">controly2</property>
<property name="xalign">0</property>
</object>
<packing>
......@@ -341,9 +369,11 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="controly2:0.00cm">
<object class="GtkSpinButton" id="controly2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="adjustment">adjustment4</property>
<property name="digits">2</property>
</object>
<packing>
......@@ -392,16 +422,16 @@
</object>
<object class="GtkSizeGroup" id="sizegroup2">
<widgets>
<widget name="MTR_FLD_RADIUS:0.00cm"/>
<widget name="MTR_FLD_ANGLE:0.00degrees"/>
<widget name="MTR_FLD_RADIUS"/>
<widget name="MTR_FLD_ANGLE"/>
</widgets>
</object>
<object class="GtkSizeGroup" id="sizegroup5">
<widgets>
<widget name="controlx1:0.00cm"/>
<widget name="controly1:0.00cm"/>
<widget name="controlx2:0.00cm"/>
<widget name="controly2:0.00cm"/>
<widget name="controlx1"/>
<widget name="controly1"/>
<widget name="controlx2"/>
<widget name="controly2"/>
</widgets>
</object>
</interface>
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