main_window
Main window class for the BRMS application.
Classes:
-
MainWindow
–Main window class for the BRMS application.
MainWindow
MainWindow()
Bases: QMainWindow
Main window class for the BRMS application.
Methods:
-
center_window
–Center the main window on the screen.
-
connect_signals
–Connect signals to their respective slots.
-
create_actions
–Create actions for the main window.
-
create_central_widget
–Create the central widget.
-
create_dock_widgets
–Create and dock the inspector widget.
-
create_menubar
–Create the menubar for the main window.
-
create_statusbar
–Create the status bar for the main window.
-
create_toolbar
–Create the toolbar for the main window.
-
init_ui
–Initialize the user interface.
-
on_about_action
–Handle the about action.
-
on_exit
–Handle the exit action.
-
on_fushion_style_action
–Handle the Fushion style action.
-
on_github_action
–Handle the GitHub action.
-
on_homepage_action
–Handle the homepage action.
-
on_mq_style_action
–Handle the MQ style action.
-
on_restore_views
–Restore the dock widgets to their default positions and sizes.
-
read_settings
–Read and set the default window settings.
-
set_window_properties
–Set the properties of the main window.
center_window
center_window() -> None
Center the main window on the screen.
connect_signals
connect_signals() -> None
Connect signals to their respective slots.
create_actions
create_actions() -> None
Create actions for the main window.
create_central_widget
create_central_widget() -> None
Create the central widget.
create_dock_widgets
create_dock_widgets() -> None
Create and dock the inspector widget.
create_menubar
create_menubar() -> None
Create the menubar for the main window.
create_statusbar
create_statusbar() -> None
Create the status bar for the main window.
create_toolbar
create_toolbar() -> None
Create the toolbar for the main window.
init_ui
init_ui() -> None
Initialize the user interface.
on_about_action
on_about_action() -> None
Handle the about action.
Show the about dialog with information about the BRMS application.
on_exit
on_exit() -> None
Handle the exit action.
Emit the exit signal and delegate the closing tasks to the controller.
on_fushion_style_action
on_fushion_style_action() -> None
Handle the Fushion style action.
Apply or remove the Fushion style based on the action's checked state.
on_github_action
on_github_action() -> None
Handle the GitHub action.
Open the GitHub page of the BRMS application in the default web browser.
on_homepage_action
on_homepage_action() -> None
Handle the homepage action.
Open the homepage of the BRMS application in the default web browser.
on_mq_style_action
on_mq_style_action() -> None
Handle the MQ style action.
Apply or remove the MQ style based on the action's checked state.
on_restore_views
on_restore_views() -> None
Restore the dock widgets to their default positions and sizes.
read_settings
read_settings() -> None
Read and set the default window settings.
set_window_properties
set_window_properties() -> None
Set the properties of the main window.