QTabWidget Stylesheet problemme

  • 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?

  • Qt Champions 2017

    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.

    Note! in example he adds a .pro file. Here you would add the images(s)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.