diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-05 10:30:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-05 16:12:28 +0200 |
commit | a91dfea300a379c2f754dbb1d5a002d093b73032 (patch) | |
tree | 28cf11a210c73fe939f1a68f97652c16957a8023 /sw/source/uibase | |
parent | ad6286ce92e7536f0aec9fd1bd9e2eec8ccc21bf (diff) |
weld SwFootNotePage
Change-Id: Iadc26837cc71537cd6a8533d731a51117ebf56fc
Reviewed-on: https://gerrit.libreoffice.org/60021
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/pgfnote.hxx | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/sw/source/uibase/inc/pgfnote.hxx b/sw/source/uibase/inc/pgfnote.hxx index 79b8c6c45115..3ed547b17389 100644 --- a/sw/source/uibase/inc/pgfnote.hxx +++ b/sw/source/uibase/inc/pgfnote.hxx @@ -34,7 +34,7 @@ class SwFootNotePage: public SfxTabPage { friend class VclPtr<SwFootNotePage>; static const sal_uInt16 aPageRg[]; - SwFootNotePage(vcl::Window *pParent, const SfxItemSet &rSet); + SwFootNotePage(TabPageParent pParent, const SfxItemSet &rSet); public: static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet *rSet); static const sal_uInt16* GetRanges() { return aPageRg; } @@ -46,26 +46,25 @@ public: virtual void dispose() override; private: - VclPtr<RadioButton> m_pMaxHeightPageBtn; - VclPtr<RadioButton> m_pMaxHeightBtn; - VclPtr<MetricField> m_pMaxHeightEdit; - VclPtr<MetricField> m_pDistEdit; - - VclPtr<ListBox> m_pLinePosBox; - VclPtr<LineListBox> m_pLineTypeBox; - VclPtr<MetricField> m_pLineWidthEdit; - VclPtr<SvxColorListBox> m_pLineColorBox; - VclPtr<MetricField> m_pLineLengthEdit; - VclPtr<MetricField> m_pLineDistEdit; - - DECL_LINK( HeightPage, Button*, void ); - DECL_LINK( HeightMetric, Button*, void ); - DECL_LINK( HeightModify, Control&, void ); - DECL_LINK( LineWidthChanged_Impl, Edit&, void ); - DECL_LINK( LineColorSelected_Impl, SvxColorListBox&, void ); - long lMaxHeight; + std::unique_ptr<weld::RadioButton> m_xMaxHeightPageBtn; + std::unique_ptr<weld::RadioButton> m_xMaxHeightBtn; + std::unique_ptr<weld::MetricSpinButton> m_xMaxHeightEdit; + std::unique_ptr<weld::MetricSpinButton> m_xDistEdit; + std::unique_ptr<weld::ComboBoxText> m_xLinePosBox; + std::unique_ptr<SvtLineListBox> m_xLineTypeBox; + std::unique_ptr<weld::MetricSpinButton> m_xLineWidthEdit; + std::unique_ptr<ColorListBox> m_xLineColorBox; + std::unique_ptr<weld::MetricSpinButton> m_xLineLengthEdit; + std::unique_ptr<weld::MetricSpinButton> m_xLineDistEdit; + + DECL_LINK(HeightPage, weld::ToggleButton&, void); + DECL_LINK(HeightMetric, weld::ToggleButton&, void); + DECL_LINK(HeightModify, weld::MetricSpinButton&, void); + DECL_LINK(LineWidthChanged_Impl, weld::MetricSpinButton&, void); + DECL_LINK(LineColorSelected_Impl, ColorListBox&, void); + using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; |