DigitApp.py 340 B

12345678910111213141516
  1. """
  2. """
  3. from PyQt5.QtWidgets import QApplication
  4. from .DigitForm import DigitForm
  5. import sys
  6. class DigitApp(QApplication):
  7. """
  8. """
  9. def __init__(self):
  10. """
  11. """
  12. super(DigitApp, self).__init__(sys.argv)
  13. # 创建应用主窗体
  14. self.dlg = DigitForm()
  15. self.dlg.show()