Main Module
The __main__.py module serves as the entry point for the RionID+ application. It initializes the PyQt5 application and launches the main window.
Function
main()
The main() function initializes the application and displays the main GUI window.
Workflow:
- Creates a
QApplicationinstance. - Instantiates the
MainWindowclass from thegui.pymodule. - Displays the main window using
show(). - Starts the PyQt5 event loop using
app.exec_().
Example Usage
The __main__.py module is executed directly to start the application. Below is an example of how it works:
python -m rionidgui