Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
Artikulate
Commits
83e102a8
Commit
83e102a8
authored
Feb 16, 2020
by
Andreas Cord-Landwehr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tooltips for shortcuts
parent
05d780b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/qml/ActionListItem.qml
src/qml/ActionListItem.qml
+5
-1
No files found.
src/qml/ActionListItem.qml
View file @
83e102a8
...
...
@@ -5,7 +5,7 @@
*/
import
QtQuick
2.5
import
QtQuick
.
Controls
2.
0
import
QtQuick
.
Controls
2.
5
import
org
.
kde
.
kirigami
2.7
as
Kirigami
Kirigami.BasicListItem
...
...
@@ -25,6 +25,10 @@ Kirigami.BasicListItem
Kirigami.MnemonicData.label
:
action
.
text
label
:
Kirigami
.
MnemonicData
.
richTextLabel
readonly
property
var
tooltip
:
ToolTip
{
text
:
action
.
shortcut
?
action
.
shortcut
:
p0
.
nativeText
}
readonly
property
var
p0
:
Shortcut
{
sequence
:
item
.
Kirigami
.
MnemonicData
.
sequence
onActivated
:
item
.
clicked
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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