Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
QTreeView similar to Yahoo or Skype
zolidznake last edited by
is there a way to create a model that accepts photo's on every child item ? thank you in advance .!
Yes. If you want it sparkly, though, consider using QML.
_rmn last edited by
Yes, you should define Qt::DecorationRole for your model index.
Read more: http://qt-project.org/doc/qt-4.8/qt.html#ItemDataRole-enum
He mentions QTreeView, so he means QtWidgets.