summaryrefslogtreecommitdiff
path: root/cui/source/inc/cfg.hxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2017-08-04 20:03:47 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-09-04 22:39:46 +0200
commit283280ec542883d65cc97d4228434003a01be3e9 (patch)
treee2b8e2c76bf9dfc38e4ced22842300f683649774 /cui/source/inc/cfg.hxx
parentd69f9436b59e249af8dcac88ccadf09b920b1bab (diff)
Add custom widget class: CommandCategoryListBox
It now lists all command categories which can be added based on the current module (writer, calc etc.) This class will be expanded later with macros and styles handling stuff. It will also update the commands listbox when it is added. Change-Id: I4f50408641db067118f63fe0e9a1ee755873412f Reviewed-on: https://gerrit.libreoffice.org/40833 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/inc/cfg.hxx')
-rw-r--r--cui/source/inc/cfg.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 626445602213..843057131fc6 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -54,6 +54,7 @@
#include <vcl/msgbox.hxx>
#include "cfgutil.hxx"
+#include "CommandCategoryListBox.hxx"
static const char ITEM_DESCRIPTOR_COMMANDURL[] = "CommandURL";
static const char ITEM_DESCRIPTOR_CONTAINER[] = "ItemDescriptorContainer";
@@ -384,6 +385,7 @@ protected:
// the top section of the tab page where top level menus and toolbars
// are displayed in a listbox
VclPtr<ListBox> m_pTopLevelListBox;
+ VclPtr<CommandCategoryListBox> m_pCommandCategoryListBox;
// the contents section where the contents of the selected
// menu or toolbar are displayed