o4i2ddlmZmZdZdZddZdZd dZy) )indentercompilerz# Form implementation generated from reading ui file '{}' # # Created by: PyQt6 UI code generator {} # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. z if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) %(widgetname)s = QtWidgets.%(baseclass)s() ui = %(uiclass)s() ui.setupUi(%(widgetname)s) %(widgetname)s.show() sys.exit(app.exec())Nc ddlm}ddlgfd}|r+j|D]\}}} | D] } |||  nUj |D]A} j j j j|| s9||| Cr;|dk7r6ddlm } | |5} | j|tfi|dddyD]} t| fi|y#1swYyxYw)alcompileUiDir(dir, recurse=False, map=None, **compileUi_args) Creates Python modules from Qt Designer .ui files in a directory or directory tree. dir is the name of the directory to scan for files whose name ends with '.ui'. By default the generated Python module is created in the same directory ending with '.py'. recurse is set if any sub-directories should be scanned. The default is False. map is an optional callable that is passed the name of the directory containing the '.ui' file and the name of the Python module that will be created. The callable should return a tuple of the name of the directory in which the Python module will be created and the (possibly modified) name of the module. The default is None. max_workers is the maximum number of worker processes to use. A value of 0 means only the current process is used. A value of None means that the number of processors on the machine is used. compileUi_args are any additional keyword arguments that are passed to the compileUi() function that is called to create each Python module. )partialNc|jdrI|}|dddz} ||\}}jj||}j|||fyy)Nz.uiz.py)endswithpathjoinappend)ui_dirui_filepy_dirpy_fileui_pathjobsmaposs `/mnt/ssd/data/python-lab/DaemonControl/venv/lib/python3.12/site-packages/PyQt6/uic/compile_ui.pyadd_jobzcompileUiDir..add_job\si   E "FcrlU*G"%fg"6ggll673G KK&'2 3 #)ProcessPoolExecutor) max_workers) functoolsrrwalklistdirr isfiler concurrent.futuresrr_run_job)dirrecurserrcompileUi_argsrrroot_filesuirexecutorjobrrs ` @@r compileUiDirr*?s." D 4 ggcl "ND!U "b! " "**S/ !Bww~~bggll334R  ! q : [ 9 DX LL<^233   33sAA%A"%A.c2ddlm} |j}|t_|j tj||tjj||}|rt jt|zyy#t$r|}YwxYw)acompileUi(uifile, pyfile, execute=False, indent=4) Creates a Python module from a Qt Designer .ui file. uifile is a file name or file-like object containing the .ui file. pyfile is the file-like object to which the Python code will be written to. execute is optionally set to generate extra Python code that allows the code to be run as a standalone application. The default is False. indent is the optional indentation width using spaces. If it is 0 then a tab is used. The default is 4. r)PYQT_VERSION_STRN) PyQt6.QtCorer4nameAttributeErrorr indentwidthwrite_headerformatr UICompilerr0 write_code _display_code)uifilepyfileexecuteindentr4uifnamewinfos rr0r0s.++"H LL)9:;    ! + +FF ;EME12 s B BB)FNr)F)Compilerrrr:r>r*r r0rrrHs)J)   <,~3&3r