|
FOSSredder 0.5.0
|
#include <AppContext.h>


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. | |
Definition at line 27 of file AppContext.h.
|
explicit |
Creates the QML application context.
| parent | Optional Qt parent. |
Definition at line 10 of file AppContext.cpp.
|
inlinenoexcept |
Definition at line 67 of file AppContext.h.
|
signal |
Emitted when actions changed.

|
inlinenoexcept |
Definition at line 79 of file AppContext.h.
|
signal |
Emitted when actor view model changed.

|
inlinenoexcept |
Definition at line 91 of file AppContext.h.
|
signal |
Emitted when analysis view model changed.

|
inlinenoexcept |
Definition at line 94 of file AppContext.h.
|
signal |
Emitted when annual view model changed.

|
inlinenoexcept |
Definition at line 82 of file AppContext.h.
|
signal |
Emitted when booking view model changed.

|
inlinenoexcept |
Definition at line 85 of file AppContext.h.
|
signal |
Emitted when contract view model changed.

|
inlinenoexcept |
Definition at line 97 of file AppContext.h.
|
signal |
Emitted when export view model changed.

|
inlinenoexcept |
Definition at line 73 of file AppContext.h.
|
signal |
Emitted when filesystem browser changed.

|
inlinenoexcept |
Definition at line 100 of file AppContext.h.
|
signal |
Emitted when import view model changed.

|
inlinenoexcept |
Definition at line 109 of file AppContext.h.
|
signal |
Emitted when debug build flag changed.

|
inlinenoexcept |
Definition at line 106 of file AppContext.h.
|
signal |
Emitted when language service changed.

|
inlinenoexcept |
Definition at line 70 of file AppContext.h.
|
signal |
Emitted when navigation changed.

|
inlinenoexcept |
Definition at line 88 of file AppContext.h.
|
signal |
Emitted when property view model changed.

| void ui::bootstrap::AppContext::setActions | ( | ui::Actions * | value | ) |
Sets shell actions exposed to QML.
| value | Actions object or nullptr. |
Definition at line 25 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setActorViewModel | ( | ui::ActorViewModel * | value | ) |
Sets actor view model exposed to QML.
| value | Actor view model or nullptr. |
Definition at line 42 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setAnalysisViewModel | ( | ui::AnalysisViewModel * | value | ) |
Sets analysis view model exposed to QML.
| value | Analysis view model or nullptr. |
Definition at line 62 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setAnnualViewModel | ( | ui::AnnualViewModel * | value | ) |
Sets annual view model exposed to QML.
| value | Annual view model or nullptr. |
Definition at line 67 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setBookingViewModel | ( | ui::BookingViewModel * | value | ) |
Sets booking view model exposed to QML.
| value | Booking view model or nullptr. |
Definition at line 47 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setContractViewModel | ( | ui::ContractViewModel * | value | ) |
Sets contract view model exposed to QML.
| value | Contract view model or nullptr. |
Definition at line 52 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setExportViewModel | ( | ui::ExportViewModel * | value | ) |
Sets export view model exposed to QML.
| value | Export view model or nullptr. |
Definition at line 72 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setFileSystemBrowser | ( | ui::FileSystemBrowser * | value | ) |
Sets filesystem browsing service exposed to QML.
| value | File system browser or nullptr. |
Definition at line 33 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setImportViewModel | ( | ui::ImportViewModel * | value | ) |
Sets import view model exposed to QML.
| value | Import view model or nullptr. |
Definition at line 77 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setIsDebugBuild | ( | bool | value | ) |
Sets whether the running binary is a debug build.
| value | True for debug builds. |
Definition at line 92 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setLanguageService | ( | ui::LanguageService * | value | ) |
Sets language service exposed to QML.
| value | Language service or nullptr. |
Definition at line 87 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setNavigation | ( | ui::Navigation * | value | ) |
Sets navigation state exposed to QML.
| value | Navigation object or nullptr. |
Definition at line 29 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setPropertyViewModel | ( | ui::PropertyViewModel * | value | ) |
Sets property view model exposed to QML.
| value | Property view model or nullptr. |
Definition at line 57 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setSettingsViewModel | ( | ui::SettingsViewModel * | value | ) |
Sets settings view model exposed to QML.
| value | Settings view model or nullptr. |
Definition at line 82 of file AppContext.cpp.

| void ui::bootstrap::AppContext::setStatus | ( | ui::Status * | value | ) |
Sets status state exposed to QML.
| value | Status state or nullptr. |
Definition at line 38 of file AppContext.cpp.

|
inlinenoexcept |
Definition at line 103 of file AppContext.h.
|
signal |
Emitted when settings view model changed.

|
inlinenoexcept |
Definition at line 76 of file AppContext.h.
|
signal |
Emitted when status state changed.

|
readwrite |
Definition at line 29 of file AppContext.h.
|
read |
Definition at line 37 of file AppContext.h.
|
readwrite |
Definition at line 45 of file AppContext.h.
|
read |
Definition at line 47 of file AppContext.h.
|
read |
Definition at line 39 of file AppContext.h.
|
readwrite |
Definition at line 41 of file AppContext.h.
|
read |
Definition at line 49 of file AppContext.h.
|
readwrite |
Definition at line 33 of file AppContext.h.
|
read |
Definition at line 51 of file AppContext.h.
|
readwrite |
Definition at line 57 of file AppContext.h.
|
read |
Definition at line 55 of file AppContext.h.
|
readwrite |
Definition at line 31 of file AppContext.h.
|
readwrite |
Definition at line 43 of file AppContext.h.
|
readwrite |
Definition at line 53 of file AppContext.h.
|
readwrite |
Definition at line 35 of file AppContext.h.