65 explicit
AppContext(QObject* parent =
nullptr);
74 return fileSystemBrowser_;
80 return actorViewModel_;
83 return bookingViewModel_;
86 return contractViewModel_;
89 return propertyViewModel_;
92 return analysisViewModel_;
95 return annualViewModel_;
98 return exportViewModel_;
101 return importViewModel_;
104 return settingsViewModel_;
107 return languageService_;
110 return isDebugBuild_;
266 bool isDebugBuild_ =
false;
Declares the QML API for the Actor view.
Declares the QML API for the Analysis view.
Declares the QML API for the Annual view.
Declares QAction wrappers exposed to the UI layer and QML.
Declares the QML API for the Booking view.
Declares the QML API for the Contract view.
Declares the QML API for the Export view.
Declares the UI helper that exposes a minimal filesystem view to QML.
Declares the QML API for import overview and draft review.
Declares the UI service responsible for runtime language switching.
Declarations for the UI Navigation component.
Declares the QML API for the Property view.
Declares the Settings page view model.
Declarations for the UI Status component.
Owns the main window actions and exposes them to QML.
Owns editable actor UI state and delegates actor CRUD to workspace.
Owns Analysis view form state and delegates analysis CRUD and computation to workspace and workflow.
Owns Annual view form state and delegates annual CRUD and computation to workspace and workflow.
Owns Booking view form state and delegates statement and transaction CRUD to workspace.
Owns editable contract UI state and delegates contract CRUD to workspace.
Owns Export view state and delegates export execution to ExportWorkflow.
Exposes directory listing and application-directory lookup to QML.
Exposes import overview, statement draft, and transaction draft state to QML.
Manages the active UI language and the available translation options.
Stores the active top-level shell section and settings sub-section.
Owns editable property UI state and delegates property CRUD to workspace.
Owns Settings view navigation and delegates persisted values.
Exposes the shell status text shown by the main window.
ui::SettingsViewModel * settingsViewModel() const noexcept
void annualViewModelChanged()
Emitted when annual view model changed.
void setContractViewModel(ui::ContractViewModel *value)
Sets contract view model exposed to QML.
void setAnnualViewModel(ui::AnnualViewModel *value)
Sets annual view model exposed to QML.
ui::ContractViewModel * contractViewModel
void exportViewModelChanged()
Emitted when export view model changed.
ui::AnnualViewModel * annualViewModel
ui::SettingsViewModel * settingsViewModel
ui::FileSystemBrowser * fileSystemBrowser() const noexcept
void fileSystemBrowserChanged()
Emitted when filesystem browser changed.
ui::LanguageService * languageService() const noexcept
ui::AnalysisViewModel * analysisViewModel
void setStatus(ui::Status *value)
Sets status state exposed to QML.
ui::LanguageService * languageService
ui::ContractViewModel * contractViewModel() const noexcept
ui::Status * status() const noexcept
void setImportViewModel(ui::ImportViewModel *value)
Sets import view model exposed to QML.
void actorViewModelChanged()
Emitted when actor view model changed.
ui::PropertyViewModel * propertyViewModel() const noexcept
ui::ActorViewModel * actorViewModel
void setPropertyViewModel(ui::PropertyViewModel *value)
Sets property view model exposed to QML.
void setIsDebugBuild(bool value)
Sets whether the running binary is a debug build.
void settingsViewModelChanged()
Emitted when settings view model changed.
ui::Navigation * navigation() const noexcept
void contractViewModelChanged()
Emitted when contract view model changed.
void propertyViewModelChanged()
Emitted when property view model changed.
void actionsChanged()
Emitted when actions changed.
ui::ActorViewModel * actorViewModel() const noexcept
ui::Navigation * navigation
void setAnalysisViewModel(ui::AnalysisViewModel *value)
Sets analysis view model exposed to QML.
void analysisViewModelChanged()
Emitted when analysis view model changed.
void isDebugBuildChanged()
Emitted when debug build flag changed.
void setSettingsViewModel(ui::SettingsViewModel *value)
Sets settings view model exposed to QML.
void setBookingViewModel(ui::BookingViewModel *value)
Sets booking view model exposed to QML.
void setNavigation(ui::Navigation *value)
Sets navigation state exposed to QML.
ui::AnalysisViewModel * analysisViewModel() const noexcept
ui::FileSystemBrowser * fileSystemBrowser
ui::ExportViewModel * exportViewModel() const noexcept
void setFileSystemBrowser(ui::FileSystemBrowser *value)
Sets filesystem browsing service exposed to QML.
void setExportViewModel(ui::ExportViewModel *value)
Sets export view model exposed to QML.
void setLanguageService(ui::LanguageService *value)
Sets language service exposed to QML.
ui::ImportViewModel * importViewModel
ui::BookingViewModel * bookingViewModel
bool isDebugBuild() const noexcept
ui::PropertyViewModel * propertyViewModel
void languageServiceChanged()
Emitted when language service changed.
void statusChanged()
Emitted when status state changed.
void setActions(ui::Actions *value)
Sets shell actions exposed to QML.
ui::BookingViewModel * bookingViewModel() const noexcept
void importViewModelChanged()
Emitted when import view model changed.
ui::ImportViewModel * importViewModel() const noexcept
AppContext(QObject *parent=nullptr)
Creates the QML application context.
ui::AnnualViewModel * annualViewModel() const noexcept
void navigationChanged()
Emitted when navigation changed.
void setActorViewModel(ui::ActorViewModel *value)
Sets actor view model exposed to QML.
void bookingViewModelChanged()
Emitted when booking view model changed.
ui::ExportViewModel * exportViewModel