D25311: Add KColumnHeadersProxyModel
Arjen Hiemstra
noreply at phabricator.kde.org
Thu Nov 14 18:56:54 GMT 2019
ahiemstra created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ahiemstra requested review of this revision.
REVISION 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.
REPOSITORY
R275 KItemModels
BRANCH
columnheadersmodel
REVISION DETAIL
https://phabricator.kde.org/D25311
AFFECTED FILES
src/core/CMakeLists.txt
src/core/kcolumnheadersproxymodel.cpp
src/core/kcolumnheadersproxymodel.h
src/qml/plugin.cpp
tests/qml/columnheaders.qml
To: ahiemstra
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191114/85abab2e/attachment.html>
More information about the Kde-frameworks-devel
mailing list