PyQt5--StatusBar

 # -*- coding:utf-8 -*-
'''
Created on Sep 13, 2018 @author: SaShuangYiBing
'''
import sys
from PyQt5.QtWidgets import QApplication,QWidget,QMainWindow class New_test(QMainWindow):
def __init__(self):
super().__init__()
self.initUI() def initUI(self):
self.statusBar().showMessage('Ready')
self.setGeometry(300,300,250,150)
self.setWindowTitle('StatusBar')
self.show() if __name__ == "__main__":
app = QApplication(sys.argv)
ex = New_test()
sys.exit(app.exec_())

PyQt5--StatusBar

上一篇:SQL Server2012 安装方法详解


下一篇:Http&Tomcat