- from PyQt5.QtWidgets import QApplication
- from forms.facepform import FacePForm
- import sys
- class FacePApp(QApplication):
- def __init__(self):
- super(FacePApp, self).__init__(sys.argv)
- self.dlg = FacePForm()
- # self.dlg.showFullScreen() # 全屏
- self.dlg.show()
|