Commit Graph

109 Commits

Author SHA1 Message Date
Jeroen Oomkes 02f8f9ef65 Cmake support (#55)
* Added cmake support. This builds an object library target that can be included with generator expression in the executable.
2018-10-20 00:27:31 +02:00
Alberto Mardegan a4b7b6e1d1 proxyroles: Fix warning on unused parameter 2018-10-11 22:27:09 +02:00
Grecko f77d371786 doc: regenerate doc 2018-10-01 21:24:50 +02:00
Grecko 8d6f679f49 doc: fix FilterRole and RegExpRole doc 2018-10-01 21:24:24 +02:00
Grecko fd147bbb57 doc: Add doc for RegExpRole
small changes to SwitchRole and RegExpFilter doc
2018-10-01 21:19:41 +02:00
Grecko a15a86be81 chore: correct typo in a test 2018-10-01 21:18:39 +02:00
Grecko f08fd2eaed feat: Add FilterRole role type 2018-09-30 03:00:36 +02:00
Grecko 2b3a368ae1 feat: Add FilterSorter sorter type 2018-09-29 12:02:15 +02:00
Grecko 1ae65bca74 misc: set filters as the default property of SwitchRole 2018-09-28 22:16:41 +02:00
Grecko 51c6a62f4d fix SwitchRole compilation
closes #54
2018-08-28 00:13:24 +02:00
Grecko 3a55ea0d8c feat: Add RegExpRole proxy role type
Add support for multiple roles for one proxy role.
2018-08-08 01:37:20 +02:00
oKcerG d2772bd6e4
fix: compilation error due to bad includes
oops
2018-04-30 10:43:46 +02:00
Grecko 88b5ba4260 refactor: move proxyroles in separate files 2018-04-30 03:16:20 +02:00
Grecko 2ee1936545 refactor: move sorters in separate files 2018-04-30 03:15:52 +02:00
Grecko df41e94e45 refactor: move filters in separate files 2018-04-30 03:14:08 +02:00
Grecko febeade02b refactor: Add container interfaces for filters, sorters and roles 2018-04-30 03:13:46 +02:00
Grecko d844e7dcfd test: add tests for Filter containers 2018-04-24 01:49:08 +02:00
Grecko 8499099464 fix: Handle source model with no roles better
They are now handled in setSourceModel instead of resetInternalData
Fixes #46
2018-03-22 23:41:36 +01:00
Grecko 9c3e57c02e fix: don't call sourceData with an invalid role
This is related to bug #46
2018-03-22 23:36:59 +01:00
Grecko 6ff055d47d test: Add a test case for sorting on a model with no initial roles
This cause a crash when adding 2 rows to an empty ListModel
2018-03-22 19:16:00 +01:00
Grecko 6211989a48 test: Simplify IndexFilter tests 2017-12-01 00:40:52 +01:00
Kenn Sebesta 18218454e2 Include checkbox in README.md
This includes the missing checkbox component for the sorting demo.
2017-11-21 19:04:22 +01:00
oKcerG d1c46fd13f
doc: Add link to showcase in readme 2017-11-21 18:41:38 +01:00
Grecko 23faaeea22 doc: Regenerate the doc 2017-10-13 01:10:47 +02:00
mitchcurtis 26e2a983eb Fix ExpressionSorter docs (#45) 2017-10-13 00:50:57 +02:00
Grecko 15ccba1f14 doc: Regenerate the doc 2017-09-26 22:34:19 +02:00
Grecko 2a439497ae doc: document the proxy role types 2017-09-26 22:28:07 +02:00
Grecko 38903de8f8 feat: add ExpressionRole proxy role type 2017-09-26 22:28:06 +02:00
Grecko 4dc2eb1d7a fix: fix StringSorter case sensitive test 2017-09-26 22:28:05 +02:00
Grecko d19e22fd54 feat: add a defaultValue property to SwitchRole 2017-09-26 22:28:05 +02:00
Grecko 9a475e52ac feature: Add SwitchRole proxy role type 2017-09-17 21:16:26 +02:00
Grecko 94a08b49ec refactor: Refactor Sorter and Fitler to be consistent with ProxyRole
remove the friendness with QQSFPM
2017-09-17 21:01:53 +02:00
Grecko 7a2e70b980 fix: emit modelReset signal after a ProxyRole changes its name
refactor proxy roles tests
2017-09-17 15:54:56 +02:00
Grecko dc154fd46b fix: correctly emit dataChanged
emit dataChanged for all of our proxyRoles when another roles has changed
2017-09-16 19:33:22 +02:00
Grecko c81dcafc35 fix: Allow filters to filters on proxy roles 2017-09-16 19:22:57 +02:00
Grecko 5b071c9526 feat: Add JoinRole proxy role type 2017-09-16 16:53:11 +02:00
Grecko 48ac2bfcd7 test: Add tests for the proxy role functionality 2017-09-16 16:50:39 +02:00
Unknown 400f453d91 feature: Add new basic ProxyRole functionality
Add a base ProxyRole type and proxyRoles handling
2017-09-16 16:44:56 +02:00
oKcerG 25b506a3d7 Update README.md 2017-09-12 01:50:42 +02:00
oKcerG e5b90a47df Update README.md 2017-09-12 01:46:41 +02:00
Pierre-Yves Siret 3f52c81299 doc: Regenerate documentation for StringSorter 2017-09-12 01:29:47 +02:00
Pierre-Yves Siret 9e37e58eef feature: add StringSorter type 2017-09-12 01:28:28 +02:00
Pierre-Yves Siret 2f555860ff tests: Fix order of values in assert message 2017-09-12 00:02:18 +02:00
Pierre-Yves Siret 27af0544ec test: add more tests for sorters
Test RoleSorter and add a test to check tie resolutions in sorters
2017-09-11 21:40:59 +02:00
Pierre-Yves Siret e260eac830 [fix] Fix IndexFilter bug with negative limits 2017-09-03 18:11:46 +02:00
Pierre-Yves Siret a96701bb85 [test] Add a new test revealing a bug in IndexFilter 2017-09-03 17:43:17 +02:00
Pierre-Yves Siret 84519a2a8e [doc] Generate documentation 2017-09-02 18:32:31 +02:00
Pierre-Yves Siret 9009d18554 Merge branch 'feature/filters-and-sorters' 2017-09-02 18:31:04 +02:00
Pierre-Yves Siret 14c0acc993 [doc] Adding some documentation
🔥 📖
2017-09-02 18:10:01 +02:00
Pierre-Yves Siret 985c5b0e55 refactor: ascendingSortOrder property becomes sortOrder
Changed type from a bool to the Qt::SortOrder enum.

It's still possible to use the ascendingSortOrder bool property (for
now).
2017-09-02 16:07:22 +02:00