KateModeMenuList: move to QListView

Authored by nibags on Jun 12 2019, 7:02 AM.

Description

KateModeMenuList: move to QListView

Summary:
The new Mode menu introduced in 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.

Reviewers: KTextEditor, cullmann, dhaumann

Reviewed By: KTextEditor, cullmann

Subscribers: ngraham, kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D21712

Details

Committed
nibagsJun 15 2019, 9:19 AM
Reviewer
KTextEditor
Differential Revision
D21712: KateModeMenuList: move to QListView
Parents
R39:5cf141cc633d: Install in new logging directory when we use kf5 5.59.0
Branches
Unknown
Tags
Unknown