Hi,

I need to display a push button (for example an instance of QPushButton) which would contain an icon and text.

I do not want the text to show beside, above or below the icon. I want the text to show ON TOP OF the icon. That is, I want the icon to be centered in the push button, and I also want the text to be centered in the push button. Then the text will hide part of the icon below it, and that's OK.

I have found several threads on this and other forums explaining how to display text beside, above or below an icon within a push button, but nothing that would solve what I want.

Any idea?