D21712: KateModeMenuList: move to QListView
Nibaldo González
noreply at phabricator.kde.org
Mon Jun 10 09:03:18 BST 2019
nibags created this revision.
nibags added reviewers: KTextEditor, cullmann, dhaumann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.
REVISION SUMMARY
The new Mode menu introduced in D20958 <https://phabricator.kde.org/D20958> is updated, removing the use of QListWidget.
This replaces:
QListWidget with **QListView + QStandardItemModel**
and KListWidgetSearchLine with **QLineEdit**
In addition, some changes are made:
- Decrease delay in displaying search results, after typing. The search clearing is done without delays.
- Add ToolTip in the search bar, with a brief description.
I also made small improvements to the code. From the user's point of view, this patch is almost imperceptible.
REPOSITORY
R39 KTextEditor
BRANCH
move-qlistview
REVISION DETAIL
https://phabricator.kde.org/D21712
AFFECTED FILES
src/mode/katemodemenulist.cpp
src/mode/katemodemenulist.h
To: nibags, #ktexteditor, cullmann, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190610/7fa6b66c/attachment.html>
More information about the KWrite-Devel
mailing list