diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-02 14:45:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-06 16:44:21 +0100 |
commit | 40fe5b93bc0838e04b46bfc7942d1ee6a2482ce0 (patch) | |
tree | 151814d0863c9912d18722732beb13b1e22e0ff1 /include/svtools | |
parent | tdf#129549: hide .uno:BulletsAndNumberingDialog from customization UI (diff) | |
download | core-40fe5b93bc0838e04b46bfc7942d1ee6a2482ce0.tar.gz core-40fe5b93bc0838e04b46bfc7942d1ee6a2482ce0.zip |
weld AreaPropertyPanel
Change-Id: I5f4c4b43067b99cd57f8ea941002481ef5977e09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86144
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/popupwindowcontroller.hxx | 10 | ||||
-rw-r--r-- | include/svtools/toolboxcontroller.hxx | 11 |
2 files changed, 19 insertions, 2 deletions
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx index 41de1cbee9c7..1666c8ad1513 100644 --- a/include/svtools/popupwindowcontroller.hxx +++ b/include/svtools/popupwindowcontroller.hxx @@ -32,6 +32,11 @@ namespace vcl { class Window; } +namespace svtools +{ + class ToolbarPopupBase; +} + namespace svt { class PopupWindowControllerImpl; @@ -45,6 +50,8 @@ public: const OUString& aCommandURL ); virtual ~PopupWindowController() override; + void EndPopupMode(); + virtual VclPtr<vcl::Window> createPopupWindow( vcl::Window* pParent ) = 0; // XServiceInfo @@ -61,6 +68,9 @@ public: // XToolbarController virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override; +protected: + std::unique_ptr<svtools::ToolbarPopupBase> mxPopover; + private: std::unique_ptr<PopupWindowControllerImpl, o3tl::default_delete<PopupWindowControllerImpl>> mxImpl; }; diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx index 5d86aeb35930..0ec7228fe5a8 100644 --- a/include/svtools/toolboxcontroller.hxx +++ b/include/svtools/toolboxcontroller.hxx @@ -45,6 +45,11 @@ namespace com :: sun :: star :: util { class XURLTransformer; } class ToolBox; +namespace weld +{ + class Toolbar; +} + namespace svt { @@ -165,8 +170,9 @@ class SVT_DLLPUBLIC ToolboxController : // TODO remove const css::uno::Reference< css::awt::XWindow >& getParent() const { return m_xParentWindow;} - bool m_bInitialized : 1, - m_bDisposed : 1; + bool m_bInitialized, + m_bDisposed, + m_bSidebar; sal_uInt16 m_nToolBoxId; css::uno::Reference< css::frame::XFrame > m_xFrame; css::uno::Reference< css::uno::XComponentContext > m_xContext; @@ -177,6 +183,7 @@ class SVT_DLLPUBLIC ToolboxController : css::uno::Reference< css::awt::XWindow > m_xParentWindow; css::uno::Reference< css::util::XURLTransformer > m_xUrlTransformer; OUString m_sModuleName; + weld::Toolbar* m_pToolbar; }; } |