Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qtoolbox



  • I want to change the qtoolbox's button' style. this button'name is page1 ,page2.
    how to do it

    my English is bad.



  • Hi,
    If you only want to change colours etc, use the stylesheet. If you want a total other appearance, overwrite the paintEvent and draw it yourself. Or maybe there are possibilities to set non native display options for the buttons.



  • [quote author="Jeroentje@home" date="1379318047"]Hi,
    If you only want to change colours etc, use the stylesheet. If you want a total other appearance, overwrite the paintEvent and draw it yourself. Or maybe there are possibilities to set non native display options for the buttons.[/quote]
    how to paintEvent. can you help me ?can you give an example?


Log in to reply