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

Mouse hover not working on tab widget in QT C++



  • 0

    I am working on GUI application in QT C++. I have a form with grid layout. One of the cell of grid filled with tab widget with some buttons, combo box and text boxes. All the widget in this tab are not working with mouse hover effect. I am using style sheet, I applied it one centeralwidget stylesheet and also for individual widgets to further verify but it is still not working. If I place button in grid other than tab than hover effect are working on that grid button but still not on tab button.

    QPushButton:hover { background-color: #66c011; }

    Other than hover like changing color, backgroundcolor and font are working fine.

    How this can be fixed. Any help will be appreciated.

    Best Regards


Log in to reply