summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaviya Vivekkumar Dineshbhai <vivek.javiya@collabora.com>2024-08-05 19:47:14 +0530
committerMiklos Vajna <vmiklos@collabora.com>2024-10-16 13:18:21 +0200
commit92f6b0ae399281fe49398ab1e009e1e5e14960b9 (patch)
treea481271c3d583b3b8c9157203760185dc1250e75 /include
parenta157f82649e33f05c40aba7fc152733f38fe3f67 (diff)
jsdialog: support textWithIconEnabled into Dump icon view
Change-Id: Ib005da05fe500aae5729095533aab05578e567d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171679 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolkit/treelistbox.hxx5
1 files changed, 5 insertions, 0 deletions
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; }