摘要:
1 # -*- coding:utf-8 -*- 2 ''' 3 Created on Sep 14, 2018 4 5 @author: SaShuangYiBing 6 7 Comment: 8 ''' 9 import sys 10 from PyQt5.QtWidgets import QApplication,QInputDialog,QLineEdit,QPu... 阅读全文
摘要:
当程序运行后,在窗口中点击鼠标键时该窗口就会自动退出 阅读全文
摘要:
按下 button1时在status bar的提示语: 按下 button2时在 status bar的提示语: 阅读全文
摘要:
程序运行后窗口打开,此时按 Ctrl+Q 组合键即可关闭该窗口 阅读全文
摘要:
1 # -*- coding:utf-8 -*- 2 ''' 3 Created on Sep 14, 2018 4 5 @author: SaShuangYiBing 6 ''' 7 import sys 8 from PyQt5.QtCore import Qt 9 from PyQt5.QtWidgets import QApplication,QWidget,QLCD... 阅读全文
摘要:
1 # -*- coding:utf-8 -*- 2 ''' 3 Created on Sep 14, 2018 4 5 @author: SaShuangYiBing 6 ''' 7 import sys 8 from PyQt5.QtWidgets import QApplication,QMainWindow,QTextEdit,QAction 9 from PyQt5... 阅读全文
摘要:
1 # -*- coding:utf-8 -*- 2 ''' 3 Created on Sep 14, 2018 4 5 @author: SaShuangYiBing 6 ''' 7 import sys 8 from PyQt5.QtWidgets import QApplication,QMainWindow,QAction,qApp 9 from PyQt5.QtGu... 阅读全文