Hello!

I have the QListView widget and add my custom widget (QLabel and QPushButton placed on QHBoxLayout) with setIndexWidget().
Is it possible to overload any method of QListView to specify sorting function?

I was trying to use QSortFilterProxyModel but I'm not sure of how to link my custom widget with QModelIndex.

Thanks.