PDA

View Full Version : Qmenu as View in a QCombobox



tyrdal
25th September 2009, 10:56
I need to create a ComboBox that does not use the usual popup (a list) but something that looks like a Qmenu. I suppose I cannot just set the QMenu as a view to the QComboBox. Do you have any ideas how to realize that?

yogeshgokul
25th September 2009, 11:04
You need to re-implement these also along-with setting custom view.

QComboBox::showPopup() and
QComboBox::hidePopup()