src/eric7/Utilities/uic.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
98 (defaults to 4) 98 (defaults to 4)
99 @type int (optional) 99 @type int (optional)
100 @param uiheadername UI file name to be placed in the header (defaults to "") 100 @param uiheadername UI file name to be placed in the header (defaults to "")
101 @type str ((optional) 101 @type str ((optional)
102 """ 102 """
103 from PyQt6.QtCore import PYQT_VERSION_STR # noqa: I102 103 from PyQt6.QtCore import PYQT_VERSION_STR # noqa: I-102
104 from PyQt6.uic.compile_ui import _display_code, _header # noqa: I102 104 from PyQt6.uic.compile_ui import _display_code, _header # noqa: I-102
105 from PyQt6.uic.Compiler import compiler, indenter # noqa: I102 105 from PyQt6.uic.Compiler import compiler, indenter # noqa: I-102
106 106
107 if uiheadername: 107 if uiheadername:
108 uifname = uiheadername 108 uifname = uiheadername
109 else: 109 else:
110 try: 110 try:

eric ide

mercurial