sc/inc/strings.hrc            |    1 +
 sc/source/ui/view/tabview.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit 928081ac7288eecf7cafe0f1ac6e803dc611b39a
Author:     Adesola Samuel <adesolasamuel2...@outlook.com>
AuthorDate: Sun Dec 8 16:06:52 2024 +0100
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Mon Dec 9 16:44:49 2024 +0100

    tdf#157747 Add tooltip to Calc select all rows
    
    Added a tooltip that says "Click here to select all cells" to calc
    select all rows corner. The report shows a tooltip
    will suffice instead of an added icon
    
    Change-Id: I33f9bcb48f9185267be760219f58b196e4d5874d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178092
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    Tested-by: Jenkins

diff --git a/sc/inc/strings.hrc b/sc/inc/strings.hrc
index 193061581938..50549907ade0 100644
--- a/sc/inc/strings.hrc
+++ b/sc/inc/strings.hrc
@@ -189,6 +189,7 @@
 #define SCSTR_QHELP_BTNEQUAL                        
NC_("SCSTR_QHELP_BTNEQUAL", "Formula")
 #define SCSTR_QHELP_EXPAND_FORMULA                  
NC_("SCSTR_QHELP_EXPAND_FORMULA", "Expand Formula Bar")
 #define SCSTR_QHELP_COLLAPSE_FORMULA                
NC_("SCSTR_QHELP_COLLAPSE_FORMULA", "Collapse Formula Bar")
+#define SCSTR_QHELP_SELECT_ALL_CELLS                
NC_("SCSTR_QHELP_SELECT_ALL_CELLS", "Click here to select all cells")
 
 #define STR_UNKNOWN_USER_CONFLICT                   
NC_("STR_UNKNOWN_USER_CONFLICT", "Unknown User")
 
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 0761018fd089..03258c9fdaf2 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -41,6 +41,7 @@
 #include <tabcont.hxx>
 #include <scmod.hxx>
 #include <sc.hrc>
+#include <strings.hrc>
 #include <globstr.hrc>
 #include <scresid.hxx>
 #include <drawview.hxx>
@@ -80,6 +81,7 @@ ScCornerButton::ScCornerButton( vcl::Window* pParent, 
ScViewData* pData ) :
     pViewData( pData )
 {
     ScCornerButton::EnableRTL( false );
+    SetQuickHelpText(ScResId(SCSTR_QHELP_SELECT_ALL_CELLS));
 }
 
 ScCornerButton::~ScCornerButton()

Reply via email to