Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
91de8c53
Commit
91de8c53
authored
Aug 26, 2022
by
Jan Bidler
Browse files
Add tooltip to split view button
parent
c587a607
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateviewspace.cpp
View file @
91de8c53
...
...
@@ -118,6 +118,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager, QWidget *parent, cons
m_split
->
addAction
(
m_viewManager
->
mainWindow
()
->
actionCollection
()
->
action
(
QStringLiteral
(
"view_close_current_space"
)));
m_split
->
addAction
(
m_viewManager
->
mainWindow
()
->
actionCollection
()
->
action
(
QStringLiteral
(
"view_close_others"
)));
m_split
->
addAction
(
m_viewManager
->
mainWindow
()
->
actionCollection
()
->
action
(
QStringLiteral
(
"view_hide_others"
)));
m_split
->
setToolTip
(
i18n
(
"Split View"
));
m_split
->
setWhatsThis
(
i18n
(
"Control view space splitting"
));
m_split
->
installEventFilter
(
this
);
// on click, active this view space
hLayout
->
addWidget
(
m_split
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment