Skip to content

Commit

Permalink
版本更新 v2.0.2
Browse files Browse the repository at this point in the history
移除了开发中的文档识别部分代码
  • Loading branch information
hiroi-sora committed Jan 15, 2024
1 parent dbe5618 commit 0724bd0
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 1,176 deletions.
68 changes: 0 additions & 68 deletions UmiOCR-data/py_src/mission/doc_preview_connector.py

This file was deleted.

117 changes: 0 additions & 117 deletions UmiOCR-data/py_src/mission/mission_doc.py

This file was deleted.

4 changes: 0 additions & 4 deletions UmiOCR-data/py_src/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def runQml():

from .tag_pages.tag_pages_connector import TagPageConnector # 页面连接器
from .mission.mission_connector import MissionConnector # 任务连接器
from .mission.doc_preview_connector import DocPreviewConnector # 文档预览连接器
from .event_bus.pubsub_connector import PubSubConnector # 发布/订阅连接器
from .event_bus.key_mouse.key_mouse_connector import KeyMouseConnector # 键盘/鼠标连接器
from .plugins_controller.plugins_connector import PluginsConnector # 插件连接器
Expand Down Expand Up @@ -66,9 +65,6 @@ def runQml():
qmlRegisterType(
GlobalConfigsConnector, "GlobalConfigsConnector", 1, 0, "GlobalConfigsConnector"
)
qmlRegisterType(
DocPreviewConnector, "DocPreviewConnector", 1, 0, "DocPreviewConnector"
)

# 5. 启动翻译
trans = QTranslator()
Expand Down
90 changes: 0 additions & 90 deletions UmiOCR-data/py_src/tag_pages/BatchDOC.py

This file was deleted.

3 changes: 1 addition & 2 deletions UmiOCR-data/py_src/tag_pages/tag_pages_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

# 导入本模块内定义的控制器类
from .BatchOCR import BatchOCR
from .BatchDOC import BatchDOC
from .ScreenshotOCR import ScreenshotOCR
from .QRcode import QRcode
from ..utils.call_func import CallFunc

# 控制器类列表
PageClass = [BatchOCR, ScreenshotOCR, QRcode, BatchDOC]
PageClass = [BatchOCR, ScreenshotOCR, QRcode]


TagPageConnObj = None # 记录实例
Expand Down
Loading

0 comments on commit 0724bd0

Please sign in to comment.