diff options
author | Adesola Samuel <adesolasamuel2022@outlook.com> | 2024-12-08 16:06:52 +0100 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-12-09 16:44:49 +0100 |
commit | 928081ac7288eecf7cafe0f1ac6e803dc611b39a (patch) | |
tree | 14e9be6e61c0966144a7a59dec0671de98698278 /sc | |
parent | e8b7fe1809d07576276ebec9f321216bd0b7d184 (diff) |
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.tietze@documentfoundation.org>
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/strings.hrc | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
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() |