Port Kickoff to shared view component using single-MouseArea pattern

Authored by hein on Oct 24 2018, 8:00 AM.

Description

Port Kickoff to shared view component using single-MouseArea pattern

Summary:
This:

  • Moves MouseArea out of the item delegate and uses a single MouseArea per view.
  • Ports all the pages to using a shared view component.

Aside from saving a lot of QObjects, using a single MouseArea also
has the advantage that MouseArea.positionChanged isn't fired when
QQuickWindow synthesizes a hover event per frame, unlike MouseArea
.containsMouse. This fixes a user-reported bug in the search page,
and the same pattern is used by various other UIs we have for
similar reasons.

BUG:397693

Reviewers: Plasma, ngraham, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: davidedmundson, ngraham, plasma-devel

Tags: Plasma

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

Details

Committed
heinOct 24 2018, 8:01 AM
Reviewer
Plasma
Differential Revision
D15855: Port Kickoff to shared view component using single-MouseArea pattern
Parents
R119:74db6d8ee24f: Merge branch 'Plasma/5.14'
Branches
Unknown
Tags
Unknown