“Blinking” buttons in PyQT5
问题 Here's the deal: I'm trying to make button A "blink" when button B is pushed, and the blinking should then stop when the user pushes button A. Furthermore, button A should then go back to its former state. After long reading through the documentation and other questions at SO, I have now following piece of code: Python 2.7 class Widget(QWidget): def __init__(self): super(Widget, self).__init__() self.resize(300,200) layout = QVBoxLayout(self) self.button_stop = QPushButton("Stop") layout