From 92f6b0ae399281fe49398ab1e009e1e5e14960b9 Mon Sep 17 00:00:00 2001 From: Javiya Vivekkumar Dineshbhai Date: Mon, 5 Aug 2024 19:47:14 +0530 Subject: jsdialog: support textWithIconEnabled into Dump icon view Change-Id: Ib005da05fe500aae5729095533aab05578e567d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171679 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- include/vcl/toolkit/treelistbox.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx index 7d3213bfa1bc..78db5bcc2231 100644 --- a/include/vcl/toolkit/treelistbox.hxx +++ b/include/vcl/toolkit/treelistbox.hxx @@ -217,6 +217,7 @@ class UNLESS_MERGELIBS_MORE(VCL_DLLPUBLIC) SvTreeListBox bool mbActivateOnSingleClick; // Make single click "activate" a row like a double-click normally does bool mbHoverSelection; // Make mouse over a row "select" a row like a single-click normally does bool mbSelectingByHover; // true during "Select" if it was due to hover + bool mbIsTextColumEnabled; // true if the property name text-column is enabled sal_Int8 mnClicksToToggle; // 0 == Click on a row not toggle its checkbox. // 1 == Every click on row toggle its checkbox. // 2 == First click select, second click toggle. @@ -669,6 +670,10 @@ public: void SetHoverSelection(bool bEnable) { mbHoverSelection = bEnable; } bool GetHoverSelection() const { return mbHoverSelection; } + // to get enable or disable the text-column + void SetTextColumnEnabled(bool bEnable) { mbIsTextColumEnabled = bEnable; } + bool IsTextColumnEnabled() const { return mbIsTextColumEnabled; } + // only true during Select if the Select is due to a Hover bool IsSelectDueToHover() const { return mbSelectingByHover; } -- cgit