David Faure
ecaa9e1745
autotests: check that mapFromSource returns invalid for unmapped columns.
...
Inspired by QTBUG-76976
6 years ago
David Faure
81529406d8
Port away from deprecated method QModelIndex::child()
7 years ago
Laurent Montel
eb24817495
Remove unused includes
7 years ago
David Faure
78d35e3d19
KRearrangeColumnsProxyModel: make the two column-mapping methods public
...
This can be useful for setting up column delegates at the right place,
no matter what the column mapping actually is:
tree->setItemDelegateForColumn(reorderProxy->proxyColumnForSourceColumn(MySourceColumn), ...)
CCMAIL: jesper.pedersen@kdab.com
7 years ago
David Faure
9145c173d2
KRearrangeColumnsProxyModel: fix crash when there's no source model
8 years ago
David Faure
18ab467c11
KRearrangeColumnsProxyModel: reimplement sibling() so it works as expected
8 years ago
David Faure
2380ac105d
KRearrangeColumnsProxyModel: fix assert in index(0, 0) on empty model
...
REVIEW: 128578
10 years ago
Andrey Cygankov
1e48795134
Fix most Clazy warnings in KItemModels.
...
Fixed most Clazy warnings in KItemModels.
REVIEW: 126735
10 years ago
Montel Laurent
73e876abe3
Use QStringLiteral
11 years ago
David Faure
71d2e8c665
New proxy model: KRearrangeColumnsProxyModel.
...
It supports reordering and hiding columns from the source model.
REVIEW: 124156
11 years ago