Я использую PySide2 на своем MacOS, и когда я добавляю btn.setStyleSheet('background-color: rgb(110, 110, 110);')
в свой QPushButton, нативная кнопка больше не вызывает сигнал щелчка. Как я могу сделать кнопку кликабельной с помощью моего собственного стиля? кнопка выводит clicked
как и ожидалось.
![enter image description here](https://i.stack.imgur.com/405v7.png)
When I change # btn.setStyleSheet('background-color: rgb(110, 110, 110);')
to btn.setStyleSheet('background-color: rgb(110, 110, 110);')
this results in the result shown below and when I click the button it does not print clicked
введите описание изображения здесь