Questions tagged [qt5.13]

3 questions
4
votes
1 answer

How to set QCheckBox checked area stylesheet?

I want to show QCheckBox on black background. I don't want add images to .qrc to configure my own style. I wants to configure style only with .qss. When i try to change the background, all (expect area of checked rect) shows ok So, with my style.qss…
chabapok
  • 921
  • 1
  • 8
  • 14
2
votes
1 answer

How can I disable changing tabs in a QTabWidget?

I have a QTabWidget with multiple tabs. I want to disble the tabwidget itself so that the user cannot change the current tab, but the contents of the current tab have to stay enabled. How can I achive this in Qt? If I disable the entire QTabWidget,…
Zciurus
  • 786
  • 4
  • 23
1
vote
0 answers

How do I obtain the current icon theme?

How can I obtain the current system icon theme in a Qt application? I tried QIcon::themeName, but it just returns an empty string. (But QIcon::fallbackThemeName works?!) Is there some "special trick" to using this method I am missing, or some other…
Matthew
  • 2,593
  • 22
  • 25