fosKeyMan
|
Defines the main Graphical User Interface. More...
Classes | |
class | MainWindow |
Main User Interface for the application. More... | |
Functions | |
file_path (relative_path) | |
Join the base directory with the given relative path to generate an absolute path. | |
main () | |
Initialize and run the application. | |
resource_path (relative_path) | |
Similar to file_path, it generates the absolute path to a resource. | |
Variables | |
datefmt | |
filename | |
format | |
level | |
Defines the main Graphical User Interface.
src.frontend.mainwindow.file_path | ( | relative_path | ) |
Join the base directory with the given relative path to generate an absolute path.
This function determines the base directory based on whether the application is running in a frozen state (e.g., when packaged with PyInstaller) or in a regular environment.
relative_path | (str): The relative path to the target file or directory. |
Definition at line 1020 of file mainwindow.py.
src.frontend.mainwindow.main | ( | ) |
Initialize and run the application.
Definition at line 1049 of file mainwindow.py.
src.frontend.mainwindow.resource_path | ( | relative_path | ) |
Similar to file_path, it generates the absolute path to a resource.
If the application is frozen (e.g., packaged with PyInstaller), it uses the _MEIPASS directory.
relative_path | (str): The relative path to the resource. |
Definition at line 1035 of file mainwindow.py.
src.frontend.mainwindow.datefmt |
Definition at line 42 of file mainwindow.py.
src.frontend.mainwindow.filename |
Definition at line 39 of file mainwindow.py.
src.frontend.mainwindow.format |
Definition at line 41 of file mainwindow.py.
src.frontend.mainwindow.level |
Definition at line 40 of file mainwindow.py.