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: |