Add KColumnHeadersProxyModel

Authored by ahiemstra on Dec 5 2019, 11:21 AM.

Description

Add KColumnHeadersProxyModel

Summary:
It converts a model's column headers into a simple list model. It is
mainly useful as a helper to create headers for QtQuick TableView but
may also be useful for other things.

Test Plan: The added test QML file shows a single 1 as described in the test.

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: kossebau, vkrause, davidedmundson, kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
ahiemstraDec 10 2019, 3:13 PM
Reviewer
davidedmundson
Differential Revision
D25311: Add KColumnHeadersProxyModel
Parents
R275:38ddc43100ab: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.65.0 release.
Branches
Unknown
Tags
Unknown