diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-01 16:38:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-01 22:15:39 +0100 |
commit | a1a0bcc5c4c011c0aa1339ca5dde1c9a2481c91a (patch) | |
tree | d784da8b406a35b60949b1e830ed89add56914a4 /cui/source/inc/insrc.hxx | |
parent | 6e12191749542d81f9b29f34148cbc8c511748d2 (diff) |
weld insert row/column dialog
Change-Id: Ib035e4ea18e65558e6b7cd7d7ebb643f68241ead
Reviewed-on: https://gerrit.libreoffice.org/50594
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/insrc.hxx')
-rw-r--r-- | cui/source/inc/insrc.hxx | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/cui/source/inc/insrc.hxx b/cui/source/inc/insrc.hxx index e6fa2a01b94f..b2e9cb96b70d 100644 --- a/cui/source/inc/insrc.hxx +++ b/cui/source/inc/insrc.hxx @@ -21,21 +21,17 @@ #include <rtl/string.hxx> #include <rtl/ustring.hxx> - #include <svx/stddlg.hxx> - -#include <vcl/fixed.hxx> -#include <vcl/field.hxx> -#include <vcl/group.hxx> -#include <vcl/button.hxx> +#include <vcl/weld.hxx> class SvxInsRowColDlg : public SvxAbstractInsRowColDlg { - VclPtr<ModalDialog> m_pDialog; - VclPtr<NumericField> m_pCountEdit; - - VclPtr<RadioButton> m_pBeforeBtn; - VclPtr<RadioButton> m_pAfterBtn; +private: + std::unique_ptr<weld::Builder> m_xBuilder; + std::unique_ptr<weld::Dialog> m_xDialog; + std::unique_ptr<weld::SpinButton> m_xCountEdit; + std::unique_ptr<weld::RadioButton> m_xBeforeBtn; + std::unique_ptr<weld::RadioButton> m_xAfterBtn; OUString aRow; OUString aCol; @@ -43,9 +39,7 @@ class SvxInsRowColDlg : public SvxAbstractInsRowColDlg bool bColumn; public: - SvxInsRowColDlg( vcl::Window* pParent, bool bCol, const OString& sHelpId ); - virtual ~SvxInsRowColDlg() override; - virtual void dispose() override; + SvxInsRowColDlg(weld::Window* pParent, bool bCol, const OString& rHelpId); virtual short Execute() override; |