Wrapper class to launch the settings application. More...
#include <SettingsApp.h>
Signals | |
| void | indicate_open_settings_window () |
| Signal emitted to indicate that the settings window should be opened. | |
Signals inherited from ApplicationWrapper | |
| void | self_depatched_success () |
| self_depatched_success signals is using for depatch time success | |
| void | self_mission_finished () |
| self_mission_finished mission finished | |
Public Member Functions | |
| SettingsLaunch (DesktopMainWindow *parent) | |
| Constructs the SettingsLaunch object. | |
| void | depatch_app () override |
| Dispatches the settings application. | |
Public Member Functions inherited from ApplicationWrapper | |
| ApplicationWrapper (QObject *parent, DesktopMainWindow *desktopWindow) | |
| Constructs an ApplicationWrapper instance. | |
| Q_DISABLE_COPY (ApplicationWrapper) | |
| Disable copy constructor and assignment operator. This class is not copyable. | |
| void | bindAppWidget (AppWidget *appWidget) noexcept |
| Bind the UI widget associated with the application. | |
| AppWidget * | app_widget () const |
| Returns the bound application widget. | |
| AppCode | app_code () const |
| Returns the installed app code. | |
| void | set_app_path (const QString &app_path) noexcept |
| Sets the file system path to the application executable. | |
| QString | get_app_path () const |
| Returns the application executable path. | |
| void | install_args (const QStringList &args) noexcept |
| Sets the arguments to pass to the application on launch. | |
| QStringList | args () const |
| Returns the argument list for the application. | |
| QProcess * | process_handle () const |
| Returns the internal QProcess handle. | |
| virtual bool | depatchable () |
| depatchable | |
| void | install_finhook (HandlingFinHook hook) |
| Installs a hook called when the application finishes. | |
| void | install_error_handler (ErrorDepatchHook hook) |
| Installs an error handler hook for depatch failures. | |
Additional Inherited Members | |
Public Types inherited from ApplicationWrapper | |
| using | AppCode = QString |
| AppCode is used to uniquely identify applications. | |
| using | HandlingFinHook = void(*)(ApplicationWrapper *wrapper, int exit_hook, QProcess::ExitStatus status) |
| Function pointer type for handling application finish hooks. | |
| using | ErrorDepatchHook = void(*)(ApplicationWrapper *wrapper) |
| Function pointer type for handling depatch errors. | |
Wrapper class to launch the settings application.
Manages the initialization and dispatch of the settings application window.
|
explicit |
Constructs the SettingsLaunch object.
| parent | Pointer to the main desktop window. |
|
overridevirtual |
Dispatches the settings application.
Overrides the base class method to handle specific launch behavior.
Reimplemented from ApplicationWrapper.