Qt 6.11 is out! See what's new in the release
blog
"Skype like" contact list control
General and Desktop
4
Posts
4
Posters
2.9k
Views
1
Watching
-
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.
-
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