summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-07 12:04:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-08 17:05:40 +0100
commitd799e19c0e1ff629fc3c9464c45039f64bdbbf7e (patch)
tree642ec5803765655dd4ae8507c8687ec09e5c04ab /include/sfx2
parentd122a9d12d970d55f4dc9e4268e0681fd2e6786f (diff)
weld ListsPropertyPanel
Change-Id: I8fdf25a7e34bf3cf2b25a8b1a19af95a3a08af2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86348 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/weldutils.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/sfx2/weldutils.hxx b/include/sfx2/weldutils.hxx
index e87295c23abc..8ea999675ad1 100644
--- a/include/sfx2/weldutils.hxx
+++ b/include/sfx2/weldutils.hxx
@@ -16,6 +16,9 @@
#include <com/sun/star/uno/Reference.hxx>
#include <tools/link.hxx>
#include <sfx2/dllapi.h>
+#include <svtools/toolbarmenu.hxx>
+#include <vcl/svapp.hxx>
+#include <vcl/weld.hxx>
#include <map>
@@ -50,6 +53,19 @@ public:
~ToolbarUnoDispatcher();
};
+class SFX2_DLLPUBLIC WeldToolbarPopup : public svtools::ToolbarPopupBase
+{
+protected:
+ std::unique_ptr<weld::Builder> m_xBuilder;
+ std::unique_ptr<weld::Container> m_xTopLevel;
+
+public:
+ WeldToolbarPopup(const css::uno::Reference<css::frame::XFrame>& rFrame, weld::Widget* pParent,
+ const OUString& rUIFile, const OString& rId);
+ virtual ~WeldToolbarPopup() override;
+ weld::Container* getTopLevel() { return m_xTopLevel.get(); }
+};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */