|
FOSSredder 0.5.0
|
Classes | |
| class | CloseWorkflow |
| Coordinates close requests that may need a pending workspace save. More... | |
| struct | DropEventOutcome |
| Result of handling a drag/drop event. More... | |
| class | DropHandler |
| Extracts local file drops from Qt drag/drop events. More... | |
| struct | MainWindowServices |
| Container for shell services owned by the main window context. More... | |
Functions | |
| MainWindowServices | installMainWindowContext (QQmlEngine *qmlEngine, QObject *parent) |
| Creates shell services used by the main window and QML context. | |
| void | wireMainWindowActions (MainWindow &window, const MainWindowServices &services, const std::shared_ptr< core::ports::diagnostics::IErrorReporter > &errorReporter, const std::function< void()> &showAbout) |
| Wires main window actions to dialogs, status text and window signals. | |
| core::errors::ErrorContext | makePathContext (const QString &path) |
| Builds trace context for a single filesystem path. | |
| core::errors::ErrorContext | makeFileListContext (const QStringList &files) |
| Builds trace context for a list of selected or dropped files. | |
| void | reportMainWindowFlow (core::ports::diagnostics::IErrorReporter *reporter, const char *origin, std::string message, core::errors::ErrorSeverity severity=core::errors::ErrorSeverity::Info, core::errors::ErrorContext context={}) |
| Emits a structured main-window flow diagnostic. | |
| MainWindowServices ui::window::installMainWindowContext | ( | QQmlEngine * | qmlEngine, |
| QObject * | parent ) |
Creates shell services used by the main window and QML context.
| qmlEngine | QML engine bound to runtime language switching. |
| parent | QObject parent that owns the created services. |
Definition at line 32 of file MainWindowContext.cpp.

|
inline |
Builds trace context for a list of selected or dropped files.
| files | Files selected through a dialog or dropped into the UI. |
Definition at line 33 of file MainWindowTrace.h.

|
inline |
Builds trace context for a single filesystem path.
| path | Filesystem path reported by the main window flow. |
Definition at line 23 of file MainWindowTrace.h.
|
inline |
Emits a structured main-window flow diagnostic.
| origin | Stable origin identifier. |
| message | Human-readable diagnostic message. |
| severity | Diagnostic severity. |
| context | Optional structured diagnostic context. |
Definition at line 49 of file MainWindowTrace.h.

| void ui::window::wireMainWindowActions | ( | MainWindow & | window, |
| const MainWindowServices & | services, | ||
| const std::shared_ptr< core::ports::diagnostics::IErrorReporter > & | errorReporter, | ||
| const std::function< void()> & | showAbout ) |
Wires main window actions to dialogs, status text and window signals.
| window | Main window receiving action callbacks. |
| services | Shell service bundle containing actions and status state. |
| showAbout | Callback that opens the about dialog. |
Definition at line 55 of file MainWindowContext.cpp.
