Qt: Show pointer cursor for status bar buttons

This commit is contained in:
Johann Bauer 2019-01-01 20:39:27 +01:00
parent 549d71fb0b
commit bde655ae00

View file

@ -86,6 +86,7 @@ class StatusBarButton(QPushButton):
self.clicked.connect(self.onPress)
self.func = func
self.setIconSize(QSize(25,25))
self.setCursor(QCursor(Qt.PointingHandCursor))
def onPress(self, checked=False):
'''Drops the unwanted PyQt5 "checked" argument'''