I was able to create an icon drop-down from python-qt5 by setting the text argument to empty text. But it’s not at looking good, I want icon drop-down as it looks in slicer. How can I create it from script?
Can you provide an image of an example that you are trying to replicate? Is it a QMenu, QComboBox?