Commit Graph

176 Commits

Author SHA1 Message Date
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Adam Dobrowolski
7674b44385 EGD-3026 PR applied, fixed buid for release 2020-03-24 14:17:12 +01:00
Adam Dobrowolski
abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Alek-Mudita
0b7d24710a Egd 2548 fix layout of ongoing call window (#246)
* [EGD-2548] added AddContactIcon

* [EGD-2548] added send message Icon - still need to use it in Call Window

* [EGD-2548] SendSmsIcon used in callwindow

* [EGD-2548] rewritten Icon class to be template based
Created all missing Icons

* [EGD-2548] integranio of new icons in callwindow and some fixes

* [EGD-2548] code clean up and tune up constants

* [EGD-2548] clang formatter and fix speaker icons

* [EGD-2548] revert of USE_DAEFAULT_BAUDRATE

* [EGD-2648] destruktor fix
2020-03-20 12:55:51 +01:00
Alek-Mudita
2f92083cec [EGD-3003] fonts clean up (#244)
* [EGD-3003] fonts clean up

* [EGD-3003] large instead of veryverybig
2020-03-19 16:03:11 +01:00
Adam Dobrowolski
e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* SIM hot swap should now properly show |x| in sim place when there is
  no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
  trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
2020-03-19 14:53:03 +01:00
Pawel Olejniczak
6856e17bd7 [EGD-2932] Cleanup after rebase by applying clang-format style 2020-03-18 10:52:22 +01:00
Pawel Olejniczak
1258748ba8 [EGD-2932] Add header height 2020-03-18 10:52:22 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
dc3d655abe Egd 2566 signal strength indicator (#214)
* [EGD-2566] refactored cellular notification recogniton

* [EGD-2566] add new conversion to dBm

* [EGD-2566] added dBm to bar calculations
some minor fixes connected to signal strength
put static data in event store

* [EGD-2566] removed magic number

* [EGD-2566] PR fixes

* [EGD-2566] PR fixes

* [EGD-2566] missing rebase fix

* [EGD-2566] moved Signal Strength to separate file.

* [EGD-2566] missing return

* [EGD-2566] update signalstrength without message sending

* [EGD-2566]  reverted USE_DAEFAULT_BAUDRATE to 1

* [EGD-2566][fix] missing change for closing  end call window

* [EGD-2566] fix for proper checking for CSQ. Verbose setting of singla strength in Store

* [EGD-2566] fixed inlude in ScopeDTime.

* [EGD-2566]  added mutex in GSM store

* [EGD-2566] missing change

* [EGD-2566] reverted USE_DAEFAULT_BAUDRATE

* [EGD-2566] PR fixy
2020-03-13 16:42:42 +01:00
Adam Dobrowolski
13a477f8c0 EGD-2901 GUI documentation updated & upgraded 2020-03-12 16:12:28 +01:00
Adam Dobrowolski
e1968f8b02 EGD-2848 Cellular state logging & SIM Tray show notification icon
* Made Cellular State settable only via setter (which loggs this change)
    for debug purposes
* Sim tray shows proper sim state (default on for all screens)
* removed few lines of dead code
2020-03-12 15:24:39 +01:00
Adam Dobrowolski
d5847e37b6 EGD-2848 added SIM icons 2020-03-12 15:24:39 +01:00
Mateusz Grzywacz
f41064ffa6 [EGD-2884] Hours in sms thread 2020-03-09 16:53:24 +01:00
kkleczkowski
e4b7e9202e Egd 2507 settings date (#164)
* [EGD-2507] Wip on Date and Time window.

* [EGD-2507] Utlis, timeDateFormat in settings.db.

* [EGD-2507] - WiP on DateTimeWindow.

* [EGD-2507] dateTimeWindow layout + time validation + database_v2.md update.

* [EGD-2507] Code clean-up.

* [EGD-2507] Fixes after rebase, unused include removed.

* [ EGD-2507 ] PR suggestions.

* [ EGD-2507 ] Fixed missing 0 minutes, pr suggestions.

* [EGD-2507-settings-date] Fixes after rebase.
2020-03-05 14:32:06 +01:00
Pawel Olejniczak
8be74ea599 [EGD-2936] Get rid of magic numbers in PhonebookSearch 2020-03-04 15:49:09 +01:00
Adam Dobrowolski
c08f60e5e3 [EGD-2927] Added rotation to GritLayout 2020-03-04 13:19:05 +01:00
Adam Dobrowolski
cb18433c78 [EGD-2927] GridLayout update/fixups to use in DesktopApp 2020-03-04 13:19:05 +01:00
Adam Dobrowolski
2567da65f6 EGD-2248 addWidget returns void now instead of bool
* elements which possibly depended on this depend now on `visibility` of element added
* changed everywhere returns on addWidget
* checked layouts (vertical, horizontal, pagedbox, gridlayout)
2020-03-03 14:36:43 +01:00
Alek-Mudita
8585ea8cf4 Call app - contact recognition (#169)
* [EGD-2569] added # and * as numeric inputs

* [EGD-2569] added '+' input sign

* [EGD-2569] created defines with window names for call app

* [EGD-2547] contact recognition during call

* [EGD-2547] moved UiCommon

* [fix][EGD-2547] fix for setting empty UTF string to text gui field

* [EGD-2547] adding new contact from call enter window

* [EGD-2547] minor clean up and added param validation

* [EGD-2547] easier method to add contact

* [EGD-2569] added new keyboard profile (numeric with special signs)
Desktop is passing it properly to Call app.

* [EGD-2569] added transaltor to enternumberwindow

* [EGD-2569] reverted unnecessary changes

[EGD-2569] revert

[EGD-2569] revert of not needed changes

* [EGD-2569] fix in phone.kprof

* [EGD-2547] unified API to call and send sms

* [EGD-2547]  changed default to true

* [EGD-2547] minor clean up.

* [EGD-2569] revert changes in PinLockWindow.cpp

* [EGD-2569][fix] eneter as null char

* [EGD-2547] PR fixes

[EGD-2547] code review fixes / refactored UiCommon

[EGD-2547] more code review fixes

[EGD-2547] rem not needed cast

* [EGD-2547] PR fixes

* [EGD-2547] splitting of UiCommon

* [EGD-2547] typo fix

* [EGD-2547] revereted one line conversion from char to string.
2020-02-28 09:37:25 +01:00
Adam Dobrowolski
a5b9b76936 [EGD-2892] Destkop - placeholder for notifications added 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
2cadc816b8 [EGD-2892] [FIX] Item - fixed crash on removed item from parent 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
b8a4701f28 [EGD-2892] Simple spanning element added 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
0bcfc51e16 [EGD-2896] Box added maxSize possiblity 2020-02-26 11:53:03 +01:00
Adam Dobrowolski
5e5562c261 [EGD-2896] Cleanup to use maxSize 2020-02-26 11:53:03 +01:00
kkleczkowski
2868c87322 Egd 2854 antenna test app (#184)
* [EGD-2854-antenna-test-app] Antenna app + window.

* [EGD-2854-antenna-test-app] Cellular API, antenna app gui.

* [EGD-2854-antenna-test-app] Pin mux, small gui improvements.

* [EGD-2854-antenna-test-app] Compilation fix.

* [EGD-2854-antenna-test-app] PR suggestions.
2020-02-25 15:42:03 +01:00
mateusz
8f790ba70c change clocks from DateTime → Time 2020-02-20 16:16:38 +01:00
mateusz
f314da6eda change names to reflect function, add separate Time/Date 2020-02-20 16:16:38 +01:00
Adam Dobrowolski
015f84f35f [EGD-2888] Desktop unlock screen added as design
* lacks in design added as issues and linked to parent task
2020-02-20 11:40:23 +00:00
Adam Dobrowolski
c082b015e6 [EGD-2571] SIM tray notifications works - no sim, or sim notifications & GSM reload 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
55220c45a5 [EGD-2523] Added sim card indicator on topBar 2020-02-18 07:39:16 +00:00
mateusz
1c3a576614 [EGD-2393] PR suggestions | general purpose Axes | 2020-02-11 11:50:15 +01:00
Mateusz Grzywacz
3d3a019de1 [EGD-2393] yaps in thread view and yap size 2020-02-11 11:50:15 +01:00
Mateusz Grzywacz
4182d778f7 [EGD-2393] separate size for yaps 2020-02-11 11:50:15 +01:00
Alek-Mudita
ee7318ff67 Callog fixes and missing funcionalities (#152)
* [EGD-554] added trash img

* [EGD-2538] dots mode in title

* [EGD-554] added missing font

* [EGD-554] calllog UI fixes

* [EGD-554] dialog delete window isntaed of own one

* [EGD-554] removed not needed files

* [EGD-554] clean up
2020-01-31 15:59:41 +01:00
Adam Dobrowolski
d8c2198529 [EGD-2394] [GUI] BoxLayout unified addWidget & axis
* tryAddWidget was redundant to addWidget, with Rect fixes and log it's not needed
* With changes in BoundingBox simplified axis use in BoxLayout
* Add widget moves elements to it's place, resize is not thought through and for now is removed
2020-01-31 14:05:42 +01:00
Adam Dobrowolski
bf27758911 [EGD-2394] [GUI] BoundingBox added setters/getters by Axis & removed dead code 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
911951090f [EGD-2394] [GUI] Text - added navigation type SCROLL and moved navigation to better place in Text 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
33402b1522 [EGD-2394] [GUI] Alignment - added option to get/set it as bitfield instead setter/getter 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
a4bfc1b1e3 [EGD-2394] [GUI] BoxLayout - added border callback
Added option to run action when border is met during scrolling of
BoxLayout element. Needed to enable loading new elements when border is
met.
2020-01-31 14:05:42 +01:00
Adam Dobrowolski
f0659c9945 [EGD-2394] [FIX] Rect - fixed size assignment
First asign size -> than addWidget to parent
Element created should have first assigned it properties, then there
should be try to add to parent widget - othervise parent widget tries to
position elements based on default values.

This design is generally silly at most as if we fail we cant just delete
the child, we cant react properly. We could throw and hope that someone
will try to catch it - but if they do, they should be able to first
create item, than try to add it to parent in the first place.
2020-01-31 14:05:42 +01:00
Adam Dobrowolski
3e69c297b6 [EGD-2394] [FIX] Fit Text to change it's size 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
560dda54da [EGD-2475] PR review applied
- made options window name better and single instanced it
- added comments to hardcoded values explaining why
- fixed reloading SMS'es
2020-01-22 13:18:59 +01:00
Adam Dobrowolski
38622db127 [EGD-2475] Options looks fixups 2020-01-22 13:18:59 +01:00
Adam Dobrowolski
a45e0779bd [FIX] focus switches wasn't handled 2020-01-22 13:18:59 +01:00
Adam Dobrowolski
d8b7e7484a [EGD-2475] SMS option window added sms/call/add combobox 2020-01-22 13:18:59 +01:00
Adam Dobrowolski
ae794cbb79 [EGD-2475] Added Common options window widget to use anywhere needed 2020-01-22 13:18:59 +01:00
Adam Dobrowolski
dea655d51d [FIX] Item - call activated callback only if exists 2020-01-22 13:18:59 +01:00