这是使用PyQT5作为UI的首次提交,将后端和UI合并到1个工程中,统一使用了Python,没有使用JS和HTML
This commit is contained in:
22
UI/__init__.py
Normal file
22
UI/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
DTM-PyQt5 Frontend GUI Module
|
||||
|
||||
This module can be used as a standalone GUI application or
|
||||
integrated into a larger backend project.
|
||||
|
||||
Usage:
|
||||
As standalone:
|
||||
python dtmgtUI.py
|
||||
|
||||
As subprocess from backend:
|
||||
import subprocess
|
||||
subprocess.Popen(['python', 'frontend_gui/dtmgtUI.py'])
|
||||
"""
|
||||
|
||||
__version__ = '1.0.0'
|
||||
__author__ = 'DTM Team'
|
||||
|
||||
# 允许作为模块导入时的接口
|
||||
from .dtmgtUI import main
|
||||
|
||||
__all__ = ['main']
|
||||
Reference in New Issue
Block a user