Settings.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

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

  1. … 619 more files in changeset.
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 the message and instruction from the structure since the rejection does not have those.

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

Added mechanism to class VAdjustmentResponseBase to support Rejects-Category for translation

  1. … 5 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-1937: UI: Translation

- Removed not used NoCANBUS development settings.

- Added the two systemLocale and systemLanguage in the Settings singleton class, to be accessed by _Setting in one place.

- Renamed the isValid method in the Settings class to exists for clarity.

- Added local to the filename method in Settings to get the setting file name with the defined locale.

- Made the Category of the settings order to set eSettingsSystem at top, to get the locale first and then read the rest of the settings files according that setting.

- Separated the parse section from the read method to simplify the read function.

- Two big logic in Settings::read has changed:

1. the read won't read any conf file in the settings path anymore, since the order is not important and each file existance.

2. the Settings::read now reads a file and parse it after in oppose to read all files and the parse them. That is mainly because we need to make decision base on the content of the setting files (System.conf in this case for now)

- Renamed the Settings::save to saveSystem for clarification, since that is the only writable setting, and that does not have locale too.

  1. … 10 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.
DEN-16235: Updated - UI Device Setup - Device Configuration screen "Confirm" button should not be allowed to be pressed more than once

Per Code Review Discussions:

- Remove the directory comparison function

- Remove the added variables from last commit (isExited, etc)

- Change logic for cryptSetupEnabled property setting

  1. … 7 more files in changeset.
DEN-16235: Fixed - UI Device Setup - Device Configuration screen "Confirm" button should not be allowed to be pressed more than once

Add logic to properly handle disabling the confirm button when the device configuration is complete

Add a command to compare two directories for sameness

Add correct displaying of the completion of the device configurations

  1. … 7 more files in changeset.
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.
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-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- Managed the Settings/System.conf owner

  1. … 3 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.
DEN-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- Added the UI portion of the update

- Added the -U cmd-line option to get UI Application in update mode.

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

  1. … 73 more files in changeset.
Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into staging

  1. … 115 more files in changeset.
  1. … 1 more file in changeset.
  1. … 9 more files in changeset.
DEN-15738: UI: Cybersecurity: Move the Treatment log to the Encrypted partition

- Fix the issue caused by moving the Treatment Lox to Encrypted partition.

  1. … 6 more files in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- completed the encryption partition creation

- used a function to get the settings home, which is going to be different when App is in manufacturing mode and in normal operation.

- now in normal mode it needs to be mounted to be used and needs some movements and threading.

- For now the application should use the -R CLIS to make the app use the root home folder for the configurations, and I add it to the run.sh, but it has to be removed later.

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

  1. … 15 more files in changeset.
DEN-14736 : IMP: Modified the Unhandled parser to be able to parse the auto generated conf

- AG Unhandled.conf has [] in the parameter description which conflicts with grooup/key/MsgID

- AG Unhandled.conf has BOOL as a type which Previously we were using U32 for that.

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

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

  1. … 34 more files in changeset.