Commit Graph

434 Commits

Author SHA1 Message Date
Michał Kamoń
8907669795 [EGD-5489] Add Bluetooth pairing test
This PR provides a harness test of a current stage `Bluetooth` pairing
functionality. That is provided a `Bluetooth` device name, test logic:
* navigates to a appropriate window
* scans for devices available
* navigates over appropriate device and check's if it is focused
2021-02-26 08:59:13 +01:00
lblach
203f81977f [EGD-5756] Add Update Window
Create Update Window(s) to control and visualize the MuditaOS update
process on Pure.
2021-02-25 09:28:01 +01:00
Pawel.Paprocki
a3d2c9fead [EGD-5863] Add retry dialog window
Add generic retry dialog window
2021-02-24 17:20:59 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Alek Rudnik
dbdcaf3003 [EGD-5821] Add Network Access Technology widget
Created Network Access Technology widget.
2021-02-19 18:58:14 +01:00
Krzysztof Móżdżyński
ba8f0ac32d [EGD-5448] Add EULA window
Added EULA window required for onBoarding procedure.
Onboarding settings added.
2021-02-19 14:53:14 +01:00
Wojtek Rzepecki
465159ed15 [EGD-5805] Fix not charging icon
Fix icons behavior in topbar.
When plugged and no charging
regular dischrging icon is
displayed.
2021-02-18 12:06:50 +01:00
Alek Rudnik
076c3cbb8c [EGD-5674] Set battery and GSM signal strength indicators as text
Temporary set battery and GSM signal strength indicators as text.
This is for test purposes only
2021-02-17 23:51:23 +01:00
Alek Rudnik
43148cea15 [EGD-5778] Add signal strength dBM inidcator
Refactored signal strength logic and arranged it
as seprated widget.
Added option to display signal strength as dBM or
bar graph.
2021-02-17 23:51:23 +01:00
Alek Rudnik
6cd0fd35e8 [EGD-5777] Refactored status bar battery indicator
Added an option to display a battery level in percentage
2021-02-17 10:50:28 +01:00
Przemyslaw Brudny
4410f42289 [EGD-5774] Fixed text char removal crash
Fixed text char and blocks removal handling and added
tests covering crashes.
2021-02-16 23:15:36 +01:00
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +01:00
Wojtek Rzepecki
323786c4d2 [EGD-4797] Battery bar as widget
Battery bar now is present as
a separate widget in top bar.
Additionally refactored passing
battery status.
2021-02-15 13:05:56 +01:00
mkamonMdt
4c72152c6f [EGD-5597] Fix messages overflowing length
Current sms length is bound by 7*67 characters. This PR
enforce that limit on ApplicationMessages level.
Additionally PR solve:
 - corner case problem with invalid cursor position in TextBackup
 - EGD-4408 fix of label on desktop menuWindow
2021-02-12 13:16:48 +01:00
mkamonMdt
3a86d65b1d [EGD-3633] Fix new message recipient
Known issues with recipient filed fixed:
- on contact, clearing there was leftover data
- on contact, one could keep adding numbers to visible name
- on contact, to delete it one had to delete each visible name char
- `select` in center button was not restored in some edge cases
- wrong recipient label
2021-02-12 10:00:03 +01:00
Alek Rudnik
f609ab9dce [EGD-5295] Fixes in Calllog app
Fixed some Calllog UI issues:
Fixed lack of calllog entry after call aborting
2021-02-11 16:51:40 +01:00
Przemyslaw Brudny
d0200de5d5 [EGD-5398] Added onBoarding application first version
Created first version of onBoarding application. Added welcome
window, configuration start window and adopted language
window. Small Icon GUI refactor. AppManager language copy removed.
2021-02-11 16:37:51 +01:00
Przemyslaw Brudny
bc76f7360e [EGD-5684] Add RichText empty line support
Added RichText option to add empty line. Tests added. Fixed
scroll up navigation line first char calculation.
2021-02-10 13:22:05 +01:00
mkamonMdt
e49512bf4f [EGD-5619] Add unified implementation of active icons
This PR provides unified and reusable implementation of active
icons used in windows system-wide.
2021-02-08 12:28:06 +01:00
Przemyslaw Brudny
f609d67212 [EGD-5637] Add RichText returning unhandled nullptr
Added check for unhandled nullptr that causes crashes.
2021-02-05 15:32:35 +01:00
Maciej Janicki
e6fdf0e22c [EGD-5333] Change renderer to follow command design pattern
Changes draw command implementation to properly follow
command design pattern. All drawing commands have been
moved to separate inheriting draw commands from renderer.

Other changes:
- New draw methods overloads have been added to pixel renderer.
 Now pixel rendering methods are in one class.
- Simplified draw commands naming.
- Changed variable naming in draw commands to be more verbose.
- Changed {x,y} pairs to Points where possible.
2021-02-03 16:24:48 +01:00
Przemyslaw Brudny
fbfd08cfea [EGD-5523] ListView OnPageElement and Options refresh
Added new OnPageElement listView rebuild type. Created new
options refresh. Refactored DisplayLight Setting. BarGraph rector.
Added step render limit for small radius arcs.
2021-02-03 09:57:21 +01:00
Tomasz Langowski
b996cff40c [EGD-5176] Documentation update for gui item and gridlayout
Documentation update for gui item and gridlayout
2021-02-01 12:11:21 +01:00
Przemyslaw Brudny
8f80126251 [EGD-3434] ListView Scroll bar refactor
Added two new scroll bar types. Fixed for ListView
with equal height elements and PreRendered which
require whole list render - not recommended for big
lists but works with not equal heights elements.
Applied new types to all lists in Pure. Various
cleanups and refactors inside models and listView.
2021-01-29 12:17:52 +01:00
Piotr Tański
ffc17e74a9 [EGD-5383] Fixed Sim indicator displaying on top bar
Sim indicator should be displayed on desktop main window's top bar.
2021-01-27 11:34:57 +01:00
Mateusz Grzegorzek
b5780f8193 [EGD-5287] Add Languages window
- add LanguagesWindow,
- add GetCurrentDisplayLanguageRequest message used for
  sending request from LanguagesModel,
- add GetCurrentDisplayLanguageResponse message sent by
  ApplicationManager and handled by ApplicationSettingsNew,
- add setFocusOnElement method in ListView so current
  display language can be focused on when entering
  LanguagesWindow
2021-01-25 21:18:05 +01:00
Tomasz Langowski
8030b273df [EGD-5175] Fix grid layout navigation
Fix grid layout navigation in order to recognize
"not active" items
2021-01-21 16:08:19 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00
Przemyslaw Brudny
4e034df4ed [EDG-4743] Add new/options windows to quotes
Add windows for add/edit/delete quotes, use ListView for quote display.
2021-01-19 13:15:21 +01:00
Przemyslaw Brudny
9645fbc278 [EDG-4717] Add screen for brightness control
Window for manual and automatic screen brightness control.
2021-01-19 12:09:36 +01:00
Przemyslaw Brudny
789815859a [EGD-5087] Update Options and replace PageLayout with ListView
PageLayout removed and replaced with ListView.
Options structure and namespace cleanup.
Added ListView ScrollBar type and disable on
construction.
2021-01-15 16:10:26 +01:00
mkamonMdt
d9612efe7a [EGD-4338] Fix menu notification dot
Each tile in Menu that uses notification dot
is be refreshed. It also solves missing dot
issue of EGD-4129 and lack of sound notification
on incoming text message.
2021-01-15 09:17:03 +01:00
Tomasz Langowski
2714900758 [EGD-5141] Add unit tests for grid layout
Unit tests for grid layout added (one test for borderCallback
behavior).
2021-01-14 13:39:34 +01:00
Pawel Olejniczak
5da31450b5 [EGD-4739] Add empty APN settings window
APN settings window without APN list.
Icon widget now accepts rich text.
2021-01-14 11:47:57 +01:00
Krzysztof Móżdżyński
f3566bcecc [EGD-4591] Change input language parser to load from files
Completely independent input language files and display language files.
Input language files are now loaded based on number of files in
"profiles" folder.
InputLanguageSettings window now shows input languages based on their
"filetype" value andfiles in "profiles" folder.
2021-01-12 15:03:42 +01:00
Tomasz Langowski
ff180ed730 [EGD-5140] Fix default borderCallback navigation in GridLayout
Fix default borderCallback navigation in GridLayout
2021-01-11 17:09:57 +01:00
Przemyslaw Brudny
e7b9bcf7e9 [EGD-5133] Fix settings bus add duplications
Changed Bus Channels vector to set to prevent
duplicates and cleaned logging.
2021-01-08 17:33:00 +01:00
Krzysztof Móżdżyński
dc99ba52ae [EGD-4590] Change KBD parser to JSON for input keyboard files
Changed keyboard input language parser to parse JSON files.
Removed all KPROF files and added JSON.
Added unit tests for new parser.
Modified document about adding languages.
2021-01-07 14:27:58 +01:00
Mateusz Grzywacz
262127229f battery renames, clean up, degreasing 2021-01-04 13:14:30 +01:00
Mateusz Grzywacz
3b08e4c358 [EGD-4932] new battery icons + battery in TopBar rework 2021-01-04 13:14:30 +01:00
Mateusz Grzywacz
69186c854b [EGD-4932] all new battery icons - rename 2021-01-04 13:14:30 +01:00
mkamonMdt
6cd6047506 [EGD-4780] Change in GUI documentation to cover DOM
* GUI Visitor documentation added
 * GUI DOM documentation added
2020-12-22 10:59:38 +01:00
Przemyslaw Brudny
97f60737bf [EGD-5010] Fix Text tests leaks
Fixed leaks in gui Text tests.
2020-12-21 12:23:14 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
PrzeBrudny
d46139195c [EGD-3442] Fix list empty window unhandled behaviours, in place rebuild handling, notes rebuild on note deletion and changed call Icon name to stateIcon. (#1160) 2020-12-14 21:56:11 +01:00
Michał Kamoń
9e961b6072 [EGD-3589] gui - DOM dump functionality for gui::Item (#1148) 2020-12-09 15:57:20 +01:00
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
PrzeBrudny
31e60282d2 [EGD-3499] Text scrolling added and its usage updated in widgets. (#1079)
Add Text scrolling, Add text starting position,

Added text scrolling, updated TextLine line endings, TextBlocks newline handling, updated SMS Bubble and Notes text items. Added tests for scrolling.
2020-12-03 21:04:51 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
PrzeBrudny
11f39b1caf [EGD-4517] Added Text Up/Down navigation with tests. (#1089) 2020-11-26 18:42:37 +01:00