"Skype like" contact list control
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?
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.
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.
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