fosKeyMan
Loading...
Searching...
No Matches
src.convertpyfile Namespace Reference

This script is used to convert the Qt Designer UI files and icons to Python files. More...

Functions

 convert_qrc_files ()
 Convert ressource files to Python files.
 
 convert_ui_files ()
 Convert Qt Designer UI files to Python files.
 
 modify_import_statement (py_file_path)
 

Variables

 base_dir = os.path.abspath(os.path.dirname(__file__))
 
 py_target_dir = os.path.join(base_dir, 'frontend/ui')
 
 qrc_source_dir = os.path.join(base_dir, 'resources')
 
 ui_source_dir = os.path.join(base_dir, 'resources/ui')
 

Detailed Description

This script is used to convert the Qt Designer UI files and icons to Python files.

Function Documentation

◆ convert_qrc_files()

src.convertpyfile.convert_qrc_files ( )

Convert ressource files to Python files.

Definition at line 47 of file convertpyfile.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_ui_files()

src.convertpyfile.convert_ui_files ( )

Convert Qt Designer UI files to Python files.

Definition at line 16 of file convertpyfile.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ modify_import_statement()

src.convertpyfile.modify_import_statement ( py_file_path)

Definition at line 38 of file convertpyfile.py.

Here is the caller graph for this function:

Variable Documentation

◆ base_dir

src.convertpyfile.base_dir = os.path.abspath(os.path.dirname(__file__))

Definition at line 10 of file convertpyfile.py.

◆ py_target_dir

src.convertpyfile.py_target_dir = os.path.join(base_dir, 'frontend/ui')

Definition at line 13 of file convertpyfile.py.

◆ qrc_source_dir

src.convertpyfile.qrc_source_dir = os.path.join(base_dir, 'resources')

Definition at line 12 of file convertpyfile.py.

◆ ui_source_dir

src.convertpyfile.ui_source_dir = os.path.join(base_dir, 'resources/ui')

Definition at line 11 of file convertpyfile.py.