diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-10 16:20:07 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-04-06 11:58:20 +0200 |
commit | ac1aefd5174258d9bcb41465ce566ed1a0819f3d (patch) | |
tree | 4032ae853c330f9360e58f7401294e37da517d43 /vcl/inc | |
parent | 88cca903a88902e51c24853f1d10aeae39b39cdd (diff) |
Extend ToolBarManager to build weld::Toolbar
- used for SubToolBarController eg. framework shape toolbar popup
present in the sidebar fontwork panel
- add separate implementation for vcl and weld based ToolBarManager
- provide basic functionality for weld based (just inserting standard items with icons
and controllers)
- not implemented: addons items merging etc.
Change-Id: I8e460f34abd512d70e95a1d484d728b7d809ce9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113387
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salvtables.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx index 1afffdfe280d..60041654521f 100644 --- a/vcl/inc/salvtables.hxx +++ b/vcl/inc/salvtables.hxx @@ -1214,6 +1214,8 @@ public: virtual void set_item_menu(const OString& rIdent, weld::Menu* pMenu) override; + virtual void insert_item(int pos, const OUString& rId) override; + virtual void insert_separator(int pos, const OUString& /*rId*/) override; virtual int get_n_items() const override; |