I'm running the clock on a pi with a touchscreen and no other external buttons and I've added some code to the PyQtPiClock.py to exit the clock at line 966
def mouseDoubleClickEvent(self, event):
if type(event) == QtGui.QMouseEvent:
myquit()
I'm just wondering if there was a cleaner way to exit because doing a "Double Click" doesn't always work. Sometimes I just cycle between the pages and I just have to keep tapping until it quits.
I'm running the clock on a pi with a touchscreen and no other external buttons and I've added some code to the PyQtPiClock.py to exit the clock at line 966
I'm just wondering if there was a cleaner way to exit because doing a "Double Click" doesn't always work. Sometimes I just cycle between the pages and I just have to keep tapping until it quits.