Important: Please read the Qt Code of Conduct -

QPalette VS stylesheet

  • QPalette VS stylesheet

    When we want to set the color of a wideget ,there are to ways to do this ,
    QPalette and stylesheet
    So which way is better ?

  • Stylesheets are usually quicker/simpler to use and offer more control than QPalette.
    In the future, could you please not write your questions in that SMS style but in plain old English? This will for sure help you get some answers. At first I did not even want to reply since your post was so hurtful to read.

Log in to reply