Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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.