No there isn't yet, but you could take a look at QxtCheckComboBox from the QxtGui package.
It does exactly what you want, except it is a combo box.
Maybe you can port it in a list widget?
Regards
No there isn't yet, but you could take a look at QxtCheckComboBox from the QxtGui package.
It does exactly what you want, except it is a combo box.
Maybe you can port it in a list widget?
Regards
Oh, yes, damn it!
Add this to the item flags: Qt::ItemIsUserCheckable.
This will make the items checkable.
Then you have QListWidgetItem::setCheckState and checkState.
Regards
stealth86,
Here is an example using model -> treeview.
Hope this helps.
Junior
stealth86 (7th August 2007)
Bookmarks