A
A
Adven4er2020-10-31 17:58:34
PyQt
Adven4er, 2020-10-31 17:58:34

How to add image to combobox in Pyqt using Qt designer?

I need to add an image to a button that invokes a dropdown list. Preferably through qt designer. I searched the Internet, found only this option, but it does not work.

QComboBox::down-arrow {
     image: url(путь к картинке);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WolfInChains, 2020-10-31
@Adven4er

Working, you most likely did not add an image to the resource root5f9d827ac3752651860592.png
5f9d82bb18216849835222.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question