Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KPimTextEdit
Commits
fc347567
Commit
fc347567
authored
Sep 16, 2021
by
Laurent Montel
😁
Browse files
Add tooltip
parent
072ebc27
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/emoticon/emoticonunicodemodel.cpp
View file @
fc347567
...
...
@@ -39,6 +39,8 @@ QVariant EmoticonUnicodeModel::data(const QModelIndex &index, int role) const
case
Identifier
:
case
Qt
::
DisplayRole
:
return
unicodeEmoti
.
emoticonCode
;
case
Qt
::
ToolTipRole
:
return
unicodeEmoti
.
emoticonName
;
}
return
{};
}
...
...
src/emoticon/emoticonunicodetab.cpp
View file @
fc347567
...
...
@@ -47,10 +47,7 @@ void EmoticonUnicodeTab::createSearchTab()
mEmoticonUnicodeProxyModel
->
setSourceModel
(
emoticonModel
);
emoticonModel
->
setEmoticonList
(
EmoticonUnicodeUtils
::
unicodeFaceEmoji
()
+
EmoticonUnicodeUtils
::
unicodeAnimalsEmoji
());
allEmojisView
->
setModel
(
mEmoticonUnicodeProxyModel
);
mSearchTabIndex
=
addTab
(
allEmojisView
,
i18n
(
"full"
));
// if (!str.isEmpty()) {
// setTabToolTip(index, str);
// }
mSearchTabIndex
=
addTab
(
allEmojisView
,
i18n
(
"Search"
));
}
void
EmoticonUnicodeTab
::
loadEmoticons
()
...
...
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