Re: [SailfishDevel] Show limited items in listview

2018-03-19 Thread Sylvain B .
] Show limited items in listview Hello. I want to show only limited count of items from in ListView. I create QSortFilterProxyModel subclass and reimplement rowCount method. But this doesn't work. If I return some number from rowCount - view doesn't show anything. If I return QSortFilter

[SailfishDevel] Show limited items in listview

2018-03-15 Thread Oleg Linkin
Hello. I want to show only limited count of items from in ListView. I create QSortFilterProxyModel subclass and reimplement rowCount method. But this doesn't work. If I return some number from rowCount - view doesn't show anything. If I return QSortFilterProxyModel::rowCount(parent) - ListView s