diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-24 20:26:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-25 20:17:01 +0200 |
commit | c9c361c8cf16bfd68a7d6ac4d6dceecfce72ee17 (patch) | |
tree | e1b02bf7fce5210d2fd6625d93fcbc4b05dcb9e2 /include/vcl | |
parent | d073cca5f7c04de3e1bcedda334d864e98ac7835 (diff) |
support activate-on-single-click
Change-Id: Iac0231b3bd84d664b1ab59023ef8242f3bd08940
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94773
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/treelistbox.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index aa161f0dd075..288314af8232 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -222,6 +222,7 @@ class VCL_DLLPUBLIC SvTreeListBox bool mbAlternatingRowColors; bool mbUpdateAlternatingRows; bool mbQuickSearch; // Enables type-ahead search in the check list box. + bool mbActivateOnSingleClick; // Make single click "activate" a row like a double-click normally does SvTreeListEntry* pHdlEntry; @@ -719,6 +720,9 @@ public: // Enables type-ahead search in the check list box. void SetQuickSearch(bool bEnable) { mbQuickSearch = bEnable; } + // Make single click "activate" a row like a double-click normally does + void SetActivateOnSingleClick(bool bEnable) { mbActivateOnSingleClick = bEnable; } + void SetForceMakeVisible(bool bEnable); virtual FactoryFunction GetUITestFactory() const override; |