PDA

View Full Version : Drop down checkbox list



rbp
15th October 2008, 03:51
hello,

how would I make a drop down checkbox list? Like the QComboBox but with selectable checkboxes for each item.
At the moment I use a height restricted QListView but it's very unintuitive because you don't get an overview of the available choices.

I found check boxes are supported in menus so I was considering trying a menu, but want to know first if there is a 'proper' way to do it.

Richard

aamer4yu
15th October 2008, 06:21
Did you search the forum ?
This (http://www.qtcentre.org/forum/f-qt-programming-2/t-multi-selection-combo-box-10015.html) might help you :)

rbp
28th October 2008, 01:36
thanks for the link.
I tried what wysota hinted at about manipulating the model but didn't manage to get it working. So in the end I went with the QxtCheckComboBox.

Richard