diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-29 20:01:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-30 09:52:54 +0200 |
commit | 16073ff56f792144bf262795869f7e5413eca8fc (patch) | |
tree | 999417d9322a6a18479cb09f6f2f236e49dad639 /cui/source/options/optgdlg.hxx | |
parent | c673b171ba243dc96eb5ddedcb575b295d136310 (diff) |
weld OfaViewTabPage
Change-Id: I259e10ad8bdf3d1630ab1d24590c43919a351a86
Reviewed-on: https://gerrit.libreoffice.org/76567
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optgdlg.hxx')
-rw-r--r-- | cui/source/options/optgdlg.hxx | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index c1ab0bc765af..e9d2666ec633 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -78,31 +78,6 @@ class SvtTabAppearanceCfg; class OfaViewTabPage : public SfxTabPage { private: - VclPtr<ListBox> m_pIconSizeLB; - VclPtr<ListBox> m_pSidebarIconSizeLB; - VclPtr<ListBox> m_pNotebookbarIconSizeLB; - VclPtr<ListBox> m_pIconStyleLB; - - VclPtr<CheckBox> m_pFontAntiAliasing; - VclPtr<FixedText> m_pAAPointLimitLabel; - VclPtr<MetricField> m_pAAPointLimit; - - VclPtr<ListBox> m_pMenuIconsLB; - VclPtr<ListBox> m_pContextMenuShortcutsLB; - - VclPtr<CheckBox> m_pFontShowCB; - - VclPtr<CheckBox> m_pUseHardwareAccell; - VclPtr<CheckBox> m_pUseAntiAliase; - VclPtr<CheckBox> m_pUseOpenGL; - VclPtr<CheckBox> m_pForceOpenGL; - - VclPtr<FixedText> m_pOpenGLStatusEnabled; - VclPtr<FixedText> m_pOpenGLStatusDisabled; - - VclPtr<ListBox> m_pMousePosLB; - VclPtr<ListBox> m_pMouseMiddleLB; - sal_Int32 nSizeLB_InitialSelection; sal_Int32 nSidebarSizeLB_InitialSelection; sal_Int32 nNotebookbarSizeLB_InitialSelection; @@ -115,16 +90,40 @@ private: std::vector<vcl::IconThemeInfo> mInstalledIconThemes; + std::unique_ptr<weld::ComboBox> m_xIconSizeLB; + std::unique_ptr<weld::ComboBox> m_xSidebarIconSizeLB; + std::unique_ptr<weld::ComboBox> m_xNotebookbarIconSizeLB; + std::unique_ptr<weld::ComboBox> m_xIconStyleLB; + + std::unique_ptr<weld::CheckButton> m_xFontAntiAliasing; + std::unique_ptr<weld::Label> m_xAAPointLimitLabel; + std::unique_ptr<weld::MetricSpinButton> m_xAAPointLimit; + + std::unique_ptr<weld::ComboBox> m_xMenuIconsLB; + std::unique_ptr<weld::ComboBox> m_xContextMenuShortcutsLB; + + std::unique_ptr<weld::CheckButton> m_xFontShowCB; + + std::unique_ptr<weld::CheckButton> m_xUseHardwareAccell; + std::unique_ptr<weld::CheckButton> m_xUseAntiAliase; + std::unique_ptr<weld::CheckButton> m_xUseOpenGL; + std::unique_ptr<weld::CheckButton> m_xForceOpenGL; + + std::unique_ptr<weld::Label> m_xOpenGLStatusEnabled; + std::unique_ptr<weld::Label> m_xOpenGLStatusDisabled; + + std::unique_ptr<weld::ComboBox> m_xMousePosLB; + std::unique_ptr<weld::ComboBox> m_xMouseMiddleLB; + #if defined( UNX ) - DECL_LINK( OnAntialiasingToggled, CheckBox&, void ); + DECL_LINK(OnAntialiasingToggled, weld::ToggleButton&, void); #endif - DECL_LINK(OnForceOpenGLToggled, CheckBox&, void); + DECL_LINK(OnForceOpenGLToggled, weld::ToggleButton&, void); void UpdateOGLStatus(); public: - OfaViewTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); + OfaViewTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~OfaViewTabPage() override; - virtual void dispose() override; static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet ); |