FOSSredder 0.5.0
Loading...
Searching...
No Matches
ui::bootstrap::AppContext Class Reference

#include <AppContext.h>

Inheritance diagram for ui::bootstrap::AppContext:
Collaboration diagram for ui::bootstrap::AppContext:

Signals

void actionsChanged ()
 Emitted when actions changed.
void navigationChanged ()
 Emitted when navigation changed.
void fileSystemBrowserChanged ()
 Emitted when filesystem browser changed.
void statusChanged ()
 Emitted when status state changed.
void actorViewModelChanged ()
 Emitted when actor view model changed.
void bookingViewModelChanged ()
 Emitted when booking view model changed.
void contractViewModelChanged ()
 Emitted when contract view model changed.
void propertyViewModelChanged ()
 Emitted when property view model changed.
void analysisViewModelChanged ()
 Emitted when analysis view model changed.
void annualViewModelChanged ()
 Emitted when annual view model changed.
void exportViewModelChanged ()
 Emitted when export view model changed.
void importViewModelChanged ()
 Emitted when import view model changed.
void settingsViewModelChanged ()
 Emitted when settings view model changed.
void languageServiceChanged ()
 Emitted when language service changed.
void isDebugBuildChanged ()
 Emitted when debug build flag changed.

Public Member Functions

 AppContext (QObject *parent=nullptr)
 Creates the QML application context.
ui::Actions * actions () const noexcept
ui::Navigation * navigation () const noexcept
ui::FileSystemBrowser * fileSystemBrowser () const noexcept
ui::Status * status () const noexcept
ui::ActorViewModel * actorViewModel () const noexcept
ui::BookingViewModel * bookingViewModel () const noexcept
ui::ContractViewModel * contractViewModel () const noexcept
ui::PropertyViewModel * propertyViewModel () const noexcept
ui::AnalysisViewModel * analysisViewModel () const noexcept
ui::AnnualViewModel * annualViewModel () const noexcept
ui::ExportViewModel * exportViewModel () const noexcept
ui::ImportViewModel * importViewModel () const noexcept
ui::SettingsViewModel * settingsViewModel () const noexcept
ui::LanguageService * languageService () const noexcept
bool isDebugBuild () const noexcept
void setActions (ui::Actions *value)
 Sets shell actions exposed to QML.
void setNavigation (ui::Navigation *value)
 Sets navigation state exposed to QML.
void setFileSystemBrowser (ui::FileSystemBrowser *value)
 Sets filesystem browsing service exposed to QML.
void setStatus (ui::Status *value)
 Sets status state exposed to QML.
void setActorViewModel (ui::ActorViewModel *value)
 Sets actor view model exposed to QML.
void setBookingViewModel (ui::BookingViewModel *value)
 Sets booking view model exposed to QML.
void setContractViewModel (ui::ContractViewModel *value)
 Sets contract view model exposed to QML.
void setPropertyViewModel (ui::PropertyViewModel *value)
 Sets property view model exposed to QML.
void setAnalysisViewModel (ui::AnalysisViewModel *value)
 Sets analysis view model exposed to QML.
void setAnnualViewModel (ui::AnnualViewModel *value)
 Sets annual view model exposed to QML.
void setExportViewModel (ui::ExportViewModel *value)
 Sets export view model exposed to QML.
void setImportViewModel (ui::ImportViewModel *value)
 Sets import view model exposed to QML.
void setSettingsViewModel (ui::SettingsViewModel *value)
 Sets settings view model exposed to QML.
void setLanguageService (ui::LanguageService *value)
 Sets language service exposed to QML.
void setIsDebugBuild (bool value)
 Sets whether the running binary is a debug build.

Properties

ui::Actions * actions
ui::Navigation * navigation
ui::FileSystemBrowser * fileSystemBrowser
ui::Status * status
ui::ActorViewModel * actorViewModel
ui::BookingViewModel * bookingViewModel
ui::ContractViewModel * contractViewModel
ui::PropertyViewModel * propertyViewModel
ui::AnalysisViewModel * analysisViewModel
ui::AnnualViewModel * annualViewModel
ui::ExportViewModel * exportViewModel
ui::ImportViewModel * importViewModel
ui::SettingsViewModel * settingsViewModel
ui::LanguageService * languageService
bool isDebugBuild

Detailed Description

Definition at line 27 of file AppContext.h.

Constructor & Destructor Documentation

◆ AppContext()

ui::bootstrap::AppContext::AppContext ( QObject * parent = nullptr)
explicit

Creates the QML application context.

Parameters
parentOptional Qt parent.

Definition at line 10 of file AppContext.cpp.

Member Function Documentation

◆ actions()

ui::Actions * ui::bootstrap::AppContext::actions ( ) const
inlinenoexcept

Definition at line 67 of file AppContext.h.

◆ actionsChanged

void ui::bootstrap::AppContext::actionsChanged ( )
signal

Emitted when actions changed.

Here is the caller graph for this function:

◆ actorViewModel()

ui::ActorViewModel * ui::bootstrap::AppContext::actorViewModel ( ) const
inlinenoexcept

Definition at line 79 of file AppContext.h.

◆ actorViewModelChanged

void ui::bootstrap::AppContext::actorViewModelChanged ( )
signal

Emitted when actor view model changed.

Here is the caller graph for this function:

◆ analysisViewModel()

ui::AnalysisViewModel * ui::bootstrap::AppContext::analysisViewModel ( ) const
inlinenoexcept

Definition at line 91 of file AppContext.h.

◆ analysisViewModelChanged

void ui::bootstrap::AppContext::analysisViewModelChanged ( )
signal

Emitted when analysis view model changed.

Here is the caller graph for this function:

◆ annualViewModel()

ui::AnnualViewModel * ui::bootstrap::AppContext::annualViewModel ( ) const
inlinenoexcept

Definition at line 94 of file AppContext.h.

◆ annualViewModelChanged

void ui::bootstrap::AppContext::annualViewModelChanged ( )
signal

Emitted when annual view model changed.

Here is the caller graph for this function:

◆ bookingViewModel()

ui::BookingViewModel * ui::bootstrap::AppContext::bookingViewModel ( ) const
inlinenoexcept

Definition at line 82 of file AppContext.h.

◆ bookingViewModelChanged

void ui::bootstrap::AppContext::bookingViewModelChanged ( )
signal

Emitted when booking view model changed.

Here is the caller graph for this function:

◆ contractViewModel()

ui::ContractViewModel * ui::bootstrap::AppContext::contractViewModel ( ) const
inlinenoexcept

Definition at line 85 of file AppContext.h.

◆ contractViewModelChanged

void ui::bootstrap::AppContext::contractViewModelChanged ( )
signal

Emitted when contract view model changed.

Here is the caller graph for this function:

◆ exportViewModel()

ui::ExportViewModel * ui::bootstrap::AppContext::exportViewModel ( ) const
inlinenoexcept

Definition at line 97 of file AppContext.h.

◆ exportViewModelChanged

void ui::bootstrap::AppContext::exportViewModelChanged ( )
signal

Emitted when export view model changed.

Here is the caller graph for this function:

◆ fileSystemBrowser()

ui::FileSystemBrowser * ui::bootstrap::AppContext::fileSystemBrowser ( ) const
inlinenoexcept

Definition at line 73 of file AppContext.h.

◆ fileSystemBrowserChanged

void ui::bootstrap::AppContext::fileSystemBrowserChanged ( )
signal

Emitted when filesystem browser changed.

Here is the caller graph for this function:

◆ importViewModel()

ui::ImportViewModel * ui::bootstrap::AppContext::importViewModel ( ) const
inlinenoexcept

Definition at line 100 of file AppContext.h.

◆ importViewModelChanged

void ui::bootstrap::AppContext::importViewModelChanged ( )
signal

Emitted when import view model changed.

Here is the caller graph for this function:

◆ isDebugBuild()

bool ui::bootstrap::AppContext::isDebugBuild ( ) const
inlinenoexcept

Definition at line 109 of file AppContext.h.

◆ isDebugBuildChanged

void ui::bootstrap::AppContext::isDebugBuildChanged ( )
signal

Emitted when debug build flag changed.

Here is the caller graph for this function:

◆ languageService()

ui::LanguageService * ui::bootstrap::AppContext::languageService ( ) const
inlinenoexcept

Definition at line 106 of file AppContext.h.

◆ languageServiceChanged

void ui::bootstrap::AppContext::languageServiceChanged ( )
signal

Emitted when language service changed.

Here is the caller graph for this function:

◆ navigation()

ui::Navigation * ui::bootstrap::AppContext::navigation ( ) const
inlinenoexcept

Definition at line 70 of file AppContext.h.

◆ navigationChanged

void ui::bootstrap::AppContext::navigationChanged ( )
signal

Emitted when navigation changed.

Here is the caller graph for this function:

◆ propertyViewModel()

ui::PropertyViewModel * ui::bootstrap::AppContext::propertyViewModel ( ) const
inlinenoexcept

Definition at line 88 of file AppContext.h.

◆ propertyViewModelChanged

void ui::bootstrap::AppContext::propertyViewModelChanged ( )
signal

Emitted when property view model changed.

Here is the caller graph for this function:

◆ setActions()

void ui::bootstrap::AppContext::setActions ( ui::Actions * value)

Sets shell actions exposed to QML.

Parameters
valueActions object or nullptr.

Definition at line 25 of file AppContext.cpp.

Here is the call graph for this function:

◆ setActorViewModel()

void ui::bootstrap::AppContext::setActorViewModel ( ui::ActorViewModel * value)

Sets actor view model exposed to QML.

Parameters
valueActor view model or nullptr.

Definition at line 42 of file AppContext.cpp.

Here is the call graph for this function:

◆ setAnalysisViewModel()

void ui::bootstrap::AppContext::setAnalysisViewModel ( ui::AnalysisViewModel * value)

Sets analysis view model exposed to QML.

Parameters
valueAnalysis view model or nullptr.

Definition at line 62 of file AppContext.cpp.

Here is the call graph for this function:

◆ setAnnualViewModel()

void ui::bootstrap::AppContext::setAnnualViewModel ( ui::AnnualViewModel * value)

Sets annual view model exposed to QML.

Parameters
valueAnnual view model or nullptr.

Definition at line 67 of file AppContext.cpp.

Here is the call graph for this function:

◆ setBookingViewModel()

void ui::bootstrap::AppContext::setBookingViewModel ( ui::BookingViewModel * value)

Sets booking view model exposed to QML.

Parameters
valueBooking view model or nullptr.

Definition at line 47 of file AppContext.cpp.

Here is the call graph for this function:

◆ setContractViewModel()

void ui::bootstrap::AppContext::setContractViewModel ( ui::ContractViewModel * value)

Sets contract view model exposed to QML.

Parameters
valueContract view model or nullptr.

Definition at line 52 of file AppContext.cpp.

Here is the call graph for this function:

◆ setExportViewModel()

void ui::bootstrap::AppContext::setExportViewModel ( ui::ExportViewModel * value)

Sets export view model exposed to QML.

Parameters
valueExport view model or nullptr.

Definition at line 72 of file AppContext.cpp.

Here is the call graph for this function:

◆ setFileSystemBrowser()

void ui::bootstrap::AppContext::setFileSystemBrowser ( ui::FileSystemBrowser * value)

Sets filesystem browsing service exposed to QML.

Parameters
valueFile system browser or nullptr.

Definition at line 33 of file AppContext.cpp.

Here is the call graph for this function:

◆ setImportViewModel()

void ui::bootstrap::AppContext::setImportViewModel ( ui::ImportViewModel * value)

Sets import view model exposed to QML.

Parameters
valueImport view model or nullptr.

Definition at line 77 of file AppContext.cpp.

Here is the call graph for this function:

◆ setIsDebugBuild()

void ui::bootstrap::AppContext::setIsDebugBuild ( bool value)

Sets whether the running binary is a debug build.

Parameters
valueTrue for debug builds.

Definition at line 92 of file AppContext.cpp.

Here is the call graph for this function:

◆ setLanguageService()

void ui::bootstrap::AppContext::setLanguageService ( ui::LanguageService * value)

Sets language service exposed to QML.

Parameters
valueLanguage service or nullptr.

Definition at line 87 of file AppContext.cpp.

Here is the call graph for this function:

◆ setNavigation()

void ui::bootstrap::AppContext::setNavigation ( ui::Navigation * value)

Sets navigation state exposed to QML.

Parameters
valueNavigation object or nullptr.

Definition at line 29 of file AppContext.cpp.

Here is the call graph for this function:

◆ setPropertyViewModel()

void ui::bootstrap::AppContext::setPropertyViewModel ( ui::PropertyViewModel * value)

Sets property view model exposed to QML.

Parameters
valueProperty view model or nullptr.

Definition at line 57 of file AppContext.cpp.

Here is the call graph for this function:

◆ setSettingsViewModel()

void ui::bootstrap::AppContext::setSettingsViewModel ( ui::SettingsViewModel * value)

Sets settings view model exposed to QML.

Parameters
valueSettings view model or nullptr.

Definition at line 82 of file AppContext.cpp.

Here is the call graph for this function:

◆ setStatus()

void ui::bootstrap::AppContext::setStatus ( ui::Status * value)

Sets status state exposed to QML.

Parameters
valueStatus state or nullptr.

Definition at line 38 of file AppContext.cpp.

Here is the call graph for this function:

◆ settingsViewModel()

ui::SettingsViewModel * ui::bootstrap::AppContext::settingsViewModel ( ) const
inlinenoexcept

Definition at line 103 of file AppContext.h.

◆ settingsViewModelChanged

void ui::bootstrap::AppContext::settingsViewModelChanged ( )
signal

Emitted when settings view model changed.

Here is the caller graph for this function:

◆ status()

ui::Status * ui::bootstrap::AppContext::status ( ) const
inlinenoexcept

Definition at line 76 of file AppContext.h.

◆ statusChanged

void ui::bootstrap::AppContext::statusChanged ( )
signal

Emitted when status state changed.

Here is the caller graph for this function:

Property Documentation

◆ actions

ui::Actions* ui::bootstrap::AppContext::actions
readwrite

Definition at line 29 of file AppContext.h.

◆ actorViewModel

ui::ActorViewModel* ui::bootstrap::AppContext::actorViewModel
read

Definition at line 37 of file AppContext.h.

◆ analysisViewModel

ui::AnalysisViewModel* ui::bootstrap::AppContext::analysisViewModel
readwrite

Definition at line 45 of file AppContext.h.

◆ annualViewModel

ui::AnnualViewModel* ui::bootstrap::AppContext::annualViewModel
read

Definition at line 47 of file AppContext.h.

◆ bookingViewModel

ui::BookingViewModel* ui::bootstrap::AppContext::bookingViewModel
read

Definition at line 39 of file AppContext.h.

◆ contractViewModel

ui::ContractViewModel* ui::bootstrap::AppContext::contractViewModel
readwrite

Definition at line 41 of file AppContext.h.

◆ exportViewModel

ui::ExportViewModel* ui::bootstrap::AppContext::exportViewModel
read

Definition at line 49 of file AppContext.h.

◆ fileSystemBrowser

ui::FileSystemBrowser* ui::bootstrap::AppContext::fileSystemBrowser
readwrite

Definition at line 33 of file AppContext.h.

◆ importViewModel

ui::ImportViewModel* ui::bootstrap::AppContext::importViewModel
read

Definition at line 51 of file AppContext.h.

◆ isDebugBuild

bool ui::bootstrap::AppContext::isDebugBuild
readwrite

Definition at line 57 of file AppContext.h.

◆ languageService

ui::LanguageService* ui::bootstrap::AppContext::languageService
read

Definition at line 55 of file AppContext.h.

◆ navigation

ui::Navigation* ui::bootstrap::AppContext::navigation
readwrite

Definition at line 31 of file AppContext.h.

◆ propertyViewModel

ui::PropertyViewModel* ui::bootstrap::AppContext::propertyViewModel
readwrite

Definition at line 43 of file AppContext.h.

◆ settingsViewModel

ui::SettingsViewModel* ui::bootstrap::AppContext::settingsViewModel
readwrite

Definition at line 53 of file AppContext.h.

◆ status

ui::Status* ui::bootstrap::AppContext::status
readwrite

Definition at line 35 of file AppContext.h.


The documentation for this class was generated from the following files: