# -*- coding: utf-8 -*-
"""
# @SoftwareIDE          : PyCharm2020Pro
# @ProjectName          : PySide2MVCFramework
# @FileName             : view.py
# @Author               : 胡守杰
# @Email                : 2839414139@qq.com
# @ZhFileDescription    :
# @EnFileDescription    :
"""
import os
from pyside2mvcframework.core.view import View
from conf.global_settings import BASE_PATH


class InputWindowView(View):
    uiFilePath = os.path.join(BASE_PATH, "src\\window\\inputWindow\\inputWindow.ui")


if __name__ == '__main__':
    print("unit test from {filename}".format(filename=__file__))
    import sys
    from PySide2.QtWidgets import QApplication

    app = QApplication(sys.argv)
    view = InputWindowView().birth()
    view.show()
    sys.exit(app.exec_())

[((17, 17, 17, 84), 'os.path.join', 'os.path.join', ({(17, 30, 17, 39): 'BASE_PATH', (17, 41, 17, 83): '"""src\\\\window\\\\inputWindow\\\\inputWindow.ui"""'}, {}), "(BASE_PATH, 'src\\\\window\\\\inputWindow\\\\inputWindow.ui')", False, 'import os\n'), ((25, 10, 25, 32), 'PySide2.QtWidgets.QApplication', 'QApplication', ({(25, 23, 25, 31): 'sys.argv'}, {}), '(sys.argv)', False, 'from PySide2.QtWidgets import QApplication\n')]