I wish to use qComboBox->setStyleSheet("*******");
to change QComboBox background with a picture.
First, I change QComboBox background with color, it works.
qComboBox->setStyleSheet("QComboBox:editable{background: red;});
Second, I try to change QComboBox background with a picture, it does not works.
qComboBox->setStyleSheet("QComboBox:editable{background: url(:/QReaderFrame/Resources/settingdialog/combox_normal.png);});
qComboBox->setStyleSheet("QComboBox {background: url(:/QReaderFrame/Resources/settingdialog/combox_normal.png);});
So why I swith color with picture, it does not work?
And what should I do for this situation?
Thanks!
Bookmarks