QStyle is a very flexible tool that helps customize your widgets. But how can I remove that icon using QStyle?
Asked
Active
Viewed 113 times
2
-
is that a MainWindow? – ΦXocę 웃 Пepeúpa ツ Jun 04 '19 at 08:46
-
This can be dialog or window – 123Sparky321 Jun 04 '19 at 08:54
-
You can remove the window decorations and use your own styling, the way Spotify does. But your users won't be happy with the theming opstions. – Dilyan Trayanov Jun 04 '19 at 10:40
-
Have you looked into https://doc.qt.io/archives/qt-4.8/qstyleoptiontitlebar.html ? Maybe this would help to achieve the goal you want to achieve? – Vaidotas Strazdas Jun 04 '19 at 13:26
-
You can use a empty or 1x1 pixel icon if you dont need it in system displaying. – Tom Kim Jun 04 '19 at 19:53