Pierre,
Thanks for the tip. It worked. I got that from an example online, but not from
official documentation.
IPatch extends QObject so it is basically a QObject. I have changed the cast to
QObject and it is working now!
Thanks!
Best regards,
Nuno
> On 16 Oct 2017, at 22:16, Pierre-Yves
2017-10-16 20:11 GMT+02:00 Nuno Santos :
> Hi,
>
> I have for the first time defined a QAbstractItemModel to use on Qml
> because I needed to have a filtered version of this model
> using QSortFilterProxyModel.
>
> I have the documentation here ->
Hi,
I have for the first time defined a QAbstractItemModel to use on Qml because I
needed to have a filtered version of this model using QSortFilterProxyModel.
I have the documentation here ->
http://doc.qt.io/archives/qt-5.5/qtquick-modelviewsdata-cppmodels.html