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

Qss style override AutoRaise property on QToolButton



  • Hi,

    I'm creating global QSS style for my application. I have style for QToolButton widget. So it is :

    @QToolButton{
    }

    QToolButton:hover {
    }

    QToolButton:pressed {
    }@

    The problem is that some of my QToolButtons have AutoRise property set to True and after apply this style they look like without this property (they have border and background). Is exist some trick for that?

    Regards


Log in to reply