PDA

View Full Version : Doubt about Drop Down Widget



sudheer168
18th October 2010, 08:41
Hi everybody ,
I am creating a new application where I need rich UI . Here I want a Drop Down widget which should contain both image and text of a particular item . Here I have attached one image file which I actually looking for . Is this possible in QT widget ,if yes please suggest me how to work on that.

Regards,
Sudheer.

wysota
18th October 2010, 10:04
Use QComboBox or QPushButton/QToolButton with a menu attached to it.

willowir
16th November 2010, 06:23
qtoolbutton maybe works
setPopupMode( QToolButton::MenuButtonPopup)
use addaction()