QTabWidget Stylesheet problemme
Unsolved
General and Desktop
-
Hello,I used Stylesheet to modified tab ,the problem is that i want to set icon in the middle of tab tittle ,and the text under the icon,i don't now how ,i use QT Designer and c++ code .
another Question ,in window of "Edit style Sheet " i can set icon ? if yes how? -
hi and welcome
To use images/icons in stylesheets,
You must add a resource file to the project and then add the images(s) to this
resource file.
Then in StyleSHeet editor you can select them and use where images are valid.http://www.bogotobogo.com/Qt/Qt5_Resource_Files.php
Note! in example he adds a .pro file. Here you would add the images(s)