18 std::unique_ptr<weld::Menu> xMenu,
19 std::unique_ptr<weld::TreeView> xTreeView);
33 void createContextMenu(
const bool bIsDefault,
const bool bIsBuiltIn,
const bool bIsSingleSel,
34 const OUString& rDefaultImg);
36 virtual void Show()
override;
38 virtual void Hide()
override;
49 void insertItems(
const std::vector<TemplateItemProperties>& rTemplates,
bool isRegionSelected,
50 bool bShowCategoryInTooltip);
void showRegion(TemplateContainerItem const *pItem)
virtual void Hide() override
void insertItems(const std::vector< TemplateItemProperties > &rTemplates, bool isRegionSelected, bool bShowCategoryInTooltip)
void connect_focus_rect(const Link< weld::Widget &, tools::Rectangle > &rLink)
DECL_LINK(PopupMenuHdl, const CommandEvent &, bool)
void insertFilteredItems()
virtual void Show() override
virtual void showAllTemplates() override
void ContextMenuSelectHdl(std::u16string_view rIdent)
void MakeItemVisible(sal_uInt16 nId)
TemplateDlgLocalView(std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Menu > xMenu, std::unique_ptr< weld::TreeView > xTreeView)
TemplateViewMode mViewMode
DECL_LINK(ListViewChangedHdl, weld::TreeView &, void)
void setTemplateViewMode(TemplateViewMode eMode)
virtual bool KeyInput(const KeyEvent &rKEvt) override
DECL_LINK(KeyPressHdl, const KeyEvent &, bool)
void createContextMenu(const bool bIsDefault, const bool bIsBuiltIn, const bool bIsSingleSel, const OUString &rDefaultImg)
DECL_LINK(RowActivatedHdl, weld::TreeView &, bool)
void MakeItemVisible(sal_uInt16 nId)
void connect_focus_rect(const Link< Widget &, tools::Rectangle > &rLink)