QtWidgets import QApplication, QWidget, QPushButton ... print("Button 1 clicked") ... setWindowTitle("PyQt5 Button Click Example").
確定! 回上一頁