PDA

View Full Version : question on the QComboBox



xiongxiongchuan
4th September 2013, 17:30
i want to set size of the QComboBox item QIcon Size and the QIcon size of the QCombobox dosen't change.

$ATHEES
5th September 2013, 06:04
bro...
use this link it will show how to design the widget eg .. size , images
http://harmattan-dev.nokia.com/docs/library/html/qt4/stylesheet-examples.html#customizing-qcheckbox

for my suggestion
use
QIcon Icon_Obj;
Icon_Obj->setIconsize();

Rajesh.Rathod
5th September 2013, 07:04
Open your ui file in designer and select combobox and in property window set icon size 32 for both width and height.
Now right click on the combobox and from menu select "Edit items..." .
new dialog will open, press "+" button to add item.
select item and press properties button on this dialog and it will allow you to set icon here select your icon and it will work, I have tested this and it's working.

This can be done programmatically also, you can try that.

RameshNani
6th February 2014, 10:32
Hi All,

I have so much of curia-city to know why should i unable to select checkbox from qcombobox when the list of checkbox having only one checkbox.

if the checkbox list has many checkboxes am able to select or unselect checkboxes, but why not in this case. please any one conclude my problem..

your help will unforgettable .