Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Model of listview
m.hamdy last edited by
can i assign a model as a return of a method and call it in the mode of the listview
and method getmodel return an abstractlistmodel and is public slot
admiralfluff last edited by
yep, I've successfully implemented this with getModel returning a standard ListModel element. I assume you mean
I don't know if having currentIndex as a the parameter for the getModel method will work the way you want though. What functionality are you looking for?