@probiner
Wrong, you will be able to use QSortFilterProxyModel against QStandardItemModel. What I pointed out was: QSortFilterProxyModel::setSourceModel(QAbstractItemModel *sourceModel) means that it can act as a proxy on any QAbstractItemModel. The docs tell you that QStandardItemModel inherits QAbstractItemModel. Therefore QSFPM can accept QSIM as its source model. And if it some point you derive your own model class from QAbstractItemModel the proxy will work against that for the same reason. This is what inheritance means in C++ and in Python.
-
-
-
-
shiboken2 compiles
Solved Qt for Python -
-
-
-
-
change tick labels
Unsolved Qt for Python -
-
-
-
-
-
Hover stylesheet. PySide2
Moved Unsolved Qt for Python -
-
-
-