Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
"Skype like" contact list control
ronM71 last edited by
my project calls for a "skype like" contact list control. These are some of my requirements
- graphical representation for the type/status of contact (e.g. busy, free, do not disturb)
- the name
- depending on status, a few clickable images to the right of the contact name
- Ability to multi-select
- context menu for each contact row.
Now, If I was in Win32/.NET/MFC, i'd probably use an owner drawn list view. I guess my question is QListWidget what I'd need to use here?
goetz last edited by
One possible solution would be to create your own item delegate and reimplement "QAbstractItemDelegate::paint() ":http://doc.qt.nokia.com/latest/qabstractitemdelegate.html#paint and sizeHint().
The context menu can be handled by the controlling class.
andre last edited by
There are several ways to do what you want. QTableView (or QTableWidget) and doing it in QML (perhaps in combination with some C++) come to mind.
vishwajeet last edited by
You can also download skype source code as its open source, and have a look at how they have implemented it and may be you would be able to use the same code provided licencing terms and usability