ApplicationController.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LEAH-1884: [WIP] DeviceController Improvement

- got a potentially solid idea on how to design the models and controllers

- the idea is completely implemented in brightness.

- valid implementations are usbmount, brightness, wifiscan.

- other than brighness other ones need a final review.

- Note: if the requested value is not valid in toByteArray application would be better to rever like the one is done in fromByteArray. to test set the range of the brightness slider to 0 to 6.

- extra setting models need to be removed like the device controller.

  1. … 24 more files in changeset.
Merge branch 'leahi/features/LEAH-1864-BoardBringUp' into leahi/staging

  1. … 3 more files in changeset.
Merge branch 'leahi/features/LEAH-1864-BoardBringUp' into leahi/develop

  1. … 3 more files in changeset.
LEAH-1937: UI: Translation

- Added the missing line in stash for the ApplicationController.cpp making the Settings static class.

LEAH-1937: UI: Translation

- Moved the translations next to application location in translations folder on target build and point to Projects/application/resources when build on VM.

- Defined the Settings_Category_Translations for the locale as translations/translation

- Moved the settings(locale) next to application location in settings folder on target build and point to /home/denali/Desktop when build on VM.

- Defined the Settings_Category_Locale for the locale as settings/locale

- Added the translation ts/qm with tagged words for Spanish and Germany.

- Removed the loadTranslation logic from the Application controller.

- set the keyboardlocal property to read from the vLocalizations.

- Made all the methods in the Setting class static and the class not instantiable.

- Modified the ConfigurationsDataList to the ParametersDataList to distinguish between the settings and configurations, as well as clarification on the DataList of the Treatement Parameters.

- Corrected the order of the translation, log, startgui.

- Separated the Settings read function and added two readLocale and ReadConfigurations to be able to call the readLocale earlier to get the localization values needed for the rest of the configurations and translations.

  1. … 22 more files in changeset.
LEAH-1937: UI: Translation

Removed some "tr" from C++ code which does not need translation

Add new flag into the Qt-Project file for supporting Translation

Test the application with translation support

Identified new improvement options

Identified new bugs to be fixed

  1. … 15 more files in changeset.
LEAH-1937: UI: Translation

This Commit has TEST_CODE included

Added slot to load translation

Added support for the qml-keyboard language

  1. … 9 more files in changeset.
LEAH-1864: UI: Digi Board Bring up - Basics [ ( NO Settings , NO Cloud) ]

- matched the Denali code to be executed on the Leahi board.

  1. … 5 more files in changeset.
Enable registration mode - initial implementation hesitations

  1. … 9 more files in changeset.
Merged DEN-sunrise-prb

  1. … 14 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 8 more files in changeset.
DEN-16785: Make Chem Disinfect and Chem Flush Disinfect Buttons Invisible per Instit Config Status

- Added code to application controller to call for request institutional record.

- Added code in the disinfect stack qml to dynamically adjust the disinfect buttons upon enable chemical disinfect value

- Changed the status of chemical disinfect in the institutional record to enabled or disabled from 1 or 0

DEN-16785: Make Chem Disinfect and Chem Flush Disinfect Buttons Invisible per Instit Config Status

- used the itemVisible to hide the chemical flush and checmical disinfect.

- fixed the institutional model class comment.

- made the enableChemicaldisinfect enabled/true by default.

DEN-16784: BACK Button Appears during Disinfection Screen after Ending Treatment

- Fixed the disinfect back button being visible on after treatment disinfection.

- Set the hasCancel to false when op_mode sets back to the StandbyWaitTreatment.

- Removed the disinfect back button hide on touch.

  1. … 7 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 8 more files in changeset.
DEN-16785: Make Chem Disinfect and Chem Flush Disinfect Buttons Invisible per Instit Config Status

- Added code to application controller to call for request institutional record.

- Added code in the disinfect stack qml to dynamically adjust the disinfect buttons upon enable chemical disinfect value

- Changed the status of chemical disinfect in the institutional record to enabled or disabled from 1 or 0

  1. … 4 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 612 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 612 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 19 more files in changeset.
DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- Reverted back the version macros to use the bamboo env variables, to be consistent with other stacks

- Changed the DeviceController addWatch method to avoid creating file if does not exist, to prevent the permission denied issue when CS writes to the file, since if the file is created by denali, cloud does not have write access any more.

- Changed the execution order of the Application to be executed before CloudSync since in the new CS 0.4.6 it will error out and stop running because UI has not been executed to prepare the encrypted folder.

- Added a Check-In for the UI and CS to check if the CS is running and the above change will delay the post to be sent later when the check-in response is received.

- Added a TIME_CALL to call the method after each x times of call (is used in TimerEvent)

  1. … 9 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 56 more files in changeset.
DEN-16326: UI: Add the OS Version in the information screen

- Added the Gui and MVC

  1. … 9 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 6 more files in changeset.
DEN-13474: Updated - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

- updated the onPOSTFail and added alarmTrigger function to be also used as a single function for all the alarm triggers even when want to send one alarm.

- The list of the triggered alarms during the POST kept untouched to be triggered when ever needed in case HD needs on POST if is reset asynchronously.

  1. … 1 more file in changeset.
DEN-13474: Updated - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Change alarm handling for onLogIOFail case

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 14 more files in changeset.
Merge branch 'DEN-15833-UI-VD-S101_POST_ConfigFilesCheck' into staging

  1. … 6 more files in changeset.
DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

DEN-16104: UI: Reorder the sequence of the messages in POST from UI to HD

  1. … 13 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 15 more files in changeset.
Merge branch 'DEN-15905-UI-BN-S102-Update' into staging

  1. … 3 more files in changeset.
DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Updated with changes per CR request

  1. … 4 more files in changeset.
DEN-15487: Added - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

- the checking of POST for settings CRC

- error handling when reading the settings file

- error handling when configuration parameters are incorrect

  1. … 8 more files in changeset.