![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Full GUI application object — creates the main window and splash screen. More...
#include <swmmvisapplication.h>
Public Member Functions | |
| SWMMVisApplication (int &argc, char *argv[]) | |
| Constructs the application, creates the main window, and shows the startup splash screen. | |
| virtual | ~SWMMVisApplication () |
| Destructor. Closes the main window if still open and cleans up GDAL resources. | |
Protected Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) override |
| Application-wide event filter that keeps every QDialog stacked above the main window. When a top-level QDialog is shown it is reparented to the main window (if orphaned) and raised so it cannot be hidden by clicks on the main window. | |
| bool | notify (QObject *receiver, QEvent *event) override |
| Last-resort guard around event delivery: an exception thrown by a slot or event handler is logged (qCritical → Message Log tee) and reported once through a throttled message box instead of propagating out of exec() and terminating the application. | |
Full GUI application object — creates the main window and splash screen.
On construction, SWMMVisApplication:
The application object remains alive for the full run of exec().
| SWMMVisApplication::SWMMVisApplication | ( | int & | argc, |
| char * | argv[] | ||
| ) |
Constructs the application, creates the main window, and shows the startup splash screen.
SWMMVisApplication::SWMMVisApplication.
| argc | Command-line argument count (from main). |
| argv | Command-line argument vector (from main). |
| argc | The number of arguments passed to the application. |
| argv | The arguments passed to the application. |
Read settings
Load components
|
virtual |
Destructor. Closes the main window if still open and cleans up GDAL resources.
SWMMVisApplication::~SWMMVisApplication The destructor for the SWMMVisApplication class.
|
overrideprotected |
Application-wide event filter that keeps every QDialog stacked above the main window. When a top-level QDialog is shown it is reparented to the main window (if orphaned) and raised so it cannot be hidden by clicks on the main window.
|
overrideprotected |
Last-resort guard around event delivery: an exception thrown by a slot or event handler is logged (qCritical → Message Log tee) and reported once through a throttled message box instead of propagating out of exec() and terminating the application.