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

[Resolved] Select Button Effect without use CSS style...



  • I'm trying to make a button appears to be selected, but I want to use some Qt Default resource, because I will follow the SO style or UI Theme from SO.

    I want to do something like "focus appearance" without UI Button has focus...

    Thanks all



  • Resolved using CSS:

    @
    pushButton->setStyleSheet("QPushButton {font-weight:bold;}")
    @


Log in to reply