FOSSredder 0.5.0
Loading...
Searching...
No Matches
MainWindowContext.cpp File Reference

Implements main window service wiring between widgets, QML and UI services. More...

#include "ui/shell/window/MainWindowContext.h"
#include <QAction>
#include <QApplication>
#include <QCoreApplication>
#include <QQmlEngine>
#include "MainWindow.h"
#include "ui/i18n/Text.h"
#include "ui/observability/Origins.h"
#include "ui/platform/FileDialogs.h"
#include "ui/platform/FileSystemBrowser.h"
#include "ui/platform/LanguageService.h"
#include "ui/shell/AppActions.h"
#include "ui/shell/Navigation.h"
#include "ui/shell/Settings.h"
#include "ui/shell/Status.h"
#include "ui/shell/window/MainWindowTrace.h"
#include "ui/workspace/WorkspaceCommands.h"
#include "ui/workspace/WorkspaceSelection.h"
#include "ui/workspace/WorkspaceSelectors.h"
#include "ui/workspace/WorkspaceStore.h"
Include dependency graph for MainWindowContext.cpp:

Go to the source code of this file.

Namespaces

namespace  ui
namespace  ui::window

Functions

MainWindowServices ui::window::installMainWindowContext (QQmlEngine *qmlEngine, QObject *parent)
 Creates shell services used by the main window and QML context.
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.

Detailed Description

Implements main window service wiring between widgets, QML and UI services.

Definition in file MainWindowContext.cpp.