diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-25 16:19:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-28 22:03:17 +0200 |
commit | b93348cd30df08ae60f38fce3efdd3823b674d44 (patch) | |
tree | a669d8b73364670d9708134607cb5902ca321a7f /cui/source/inc | |
parent | 3dd0105d1c237fd5af619d6153802b3549678c80 (diff) |
weld SvxSlantTabPage
Change-Id: Ib3b1bf1fa434c63b66f388a1f1815787b642fb88
Reviewed-on: https://gerrit.libreoffice.org/54817
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 'cui/source/inc')
-rw-r--r-- | cui/source/inc/transfrm.hxx | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 94fa4836de51..654facf57c05 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -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; } |