Main Window¶
Logseq Analyzer GUI using PySide6.
Classes:
| Name | Description |
|---|---|
Argument |
Arguments for the Logseq Analyzer. |
LogseqAnalyzerGUI |
Main GUI class for the Logseq Analyzer application. |
LogseqAnalyzerGUI()
dataclass
¶
Bases: QWidget
Main GUI class for the Logseq Analyzer application.
Methods:
| Name | Description |
|---|---|
__post_init__ |
Initialize the GUI components and layout. |
setup_ui_objects |
Set up the UI groups for the main window. |
initialize_layout |
Initialize the user interface. |
connect_signals |
Connect signals to their respective slots. |
run_analysis |
Run the analysis with the provided arguments. |
handle_analysis_complete |
Handle completion of analysis. |
create_graph_folder_layout |
Create and return the layout for the graph folder input field. |
create_global_config_layout |
Create and return the layout for the global config input field. |
close_analyzer |
Close the application. |
show_success |
Show a success message in a dialog. |
show_error |
Show an error message in a dialog. |
select_graph_folder |
Open a file dialog to select the Logseq graph folder. |
select_global_config_file |
Open a file dialog to select the Logseq global config file. |
save_settings |
Save current settings using QSettings. |
load_settings |
Load settings using QSettings. |
__post_init__() -> None
¶
Initialize the GUI components and layout.
setup_ui_objects() -> None
¶
Set up the UI groups for the main window.
initialize_layout() -> None
¶
Initialize the user interface.
connect_signals() -> None
¶
Connect signals to their respective slots.
run_analysis() -> None
¶
Run the analysis with the provided arguments.
handle_analysis_complete(error_message: str, elapsed_time: float, success: bool) -> None
¶
Handle completion of analysis.
create_graph_folder_layout() -> QWidget
¶
Create and return the layout for the graph folder input field.
create_global_config_layout() -> QWidget
¶
Create and return the layout for the global config input field.
close_analyzer() -> None
¶
Close the application.
show_success(time_elapsed: str) -> None
¶
Show a success message in a dialog.
show_error(message: str) -> None
¶
Show an error message in a dialog.
select_graph_folder() -> None
¶
Open a file dialog to select the Logseq graph folder.
select_global_config_file() -> None
¶
Open a file dialog to select the Logseq global config file.
save_settings() -> None
¶
Save current settings using QSettings.
load_settings() -> None
¶
Load settings using QSettings.