Commit Graph

64 Commits

Author SHA1 Message Date
Przemyslaw Brudny
613f6f1f83 [EGD-3336] Default values bug fix. 2020-07-15 13:07:20 +02:00
pholat
50a1f97643 [feature] Font handling feature (#527)
* Font renamed to RawFont
* Added gui::Font adapter
2020-07-15 12:15:14 +02:00
pholat
50a48ddaa4 EGD-3299 (#520)
* EGD-3299 moved cursor at the end of inserted text with sms templates & fixed no cursor after setText(...)
2020-07-10 15:49:08 +02:00
Adam Dobrowolski
0eb1a9aa20 Fix Text no refresh on longpress 2020-07-09 11:34:28 +02:00
Pawel Olejniczak
bbcc6c084f [EGD-3189] Change model ptr to shared ptr 2020-07-08 17:07:31 +02:00
Adam Dobrowolski
49045769b4 EGD-3189_Add_Contact_Window_Refactor Fixes in UI sizes & Fix in memleak in gui::Text in setMode
* Too small font made text invisible
* setMode had no delete if there was mode previously
2020-07-08 17:07:31 +02:00
pholat
adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
pholat
fb586cb4e9 EGD-3229 (#497)
* EGD-3229 text helper classes added with tests - used in tests, plus misc utils needed

No major actual functionality changed - TextClasses added with this PR
are used in tests only in this commit.
* classes needed to rewrite gui::Text added
* some utilities needed to rewrite gui::Text added
* tests added
2020-07-06 16:19:41 +02:00
Przemyslaw Brudny
3e41238f55 [EGD-3351] Added margin support to BoxLayout. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
344a15232e [EGD-3189] Stylistic fix-ups. 2020-06-25 14:00:08 +02:00
Alek Rudnik
ce2251535b Egd 3263 simplified text input mode (#417)
* [EGD-3263] recursive Item::getFocusItem

* [EGD-3263] Bottomr bar store and restore

* [EGD-3263] simplfied display of text input mode

* [EGD-3263] renamed CB names

* [EGD-3263] fixes in store/restore of bottombar

* [EGD-3263] Text::onInput fixes

* [EGD-3236] ranemed store to chache

* [EGD-3263] minor clean up
2020-06-05 11:56:08 +02:00
Adam Dobrowolski
df62fbbaa8 EGD-3190 Removed ellipsis from gui::Text labels 2020-05-12 16:45:15 +02:00
Alek Rudnik
16eaab6b50 Egd 3169 sms templates (#336)
* [EGD-3169] added sms templates model and item
fixed common class name convention

* [EGD-3169] added templates window
Passing template to new sms window is already working

* [EGD-3169] PR fixes from DB PR

* [EGD-3169] add universal callback for templates items

* [EGD-3169] requesting templates from more 2 windows

* [EGD-3169] missign change - display template in threads window

* [EGD-3169] minor fixes

* [EGD-3169] minimal clean up

* [EGD-3169] fixed some layout constatnt

* [EGD-3169] rem minor comments and logs

* [EGD-3089] rem redundant vector include

* [EGD-3169] PR fixes

* [EGD-3169] fixes afeter rebase

* [EGD-3169] workaround for list view issue - added 2 dump entries

* [EGD-3169] PR fixes

* [EGD-3169] style fixes

* [EGD-3169] fix for 0x0D char on enter in text widget

* [EGD-3169] PR fixes

* [EGD-3169] compilation issue
2020-04-30 13:48:23 +02:00
Adam Dobrowolski
70117f382f EGD-3165 gui::Label / gui::Font - small fixes and refactor
* fixed Font function returning width, it was returning values in:
        1. return value
        2. in 3rd of 5 arguments
* made font unused character first class citizen of Font
* added clean(er) code for Ellipsis calculation to Font (following QT example)
* tiny bit code removed from Label (unused/harmful)
2020-04-28 09:50:48 +02:00
Alek Rudnik
3b8dad6685 [EGD-3082] new message options (#319)
* [EGD-3082] new message options

* [EGD-3082] PR fixes
2020-04-22 11:43:38 +02:00
Alek Rudnik
895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
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
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
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Mateusz Grzywacz
f41064ffa6 [EGD-2884] Hours in sms thread 2020-03-09 16:53:24 +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
5e5562c261 [EGD-2896] Cleanup to use maxSize 2020-02-26 11:53:03 +01: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
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
3e69c297b6 [EGD-2394] [FIX] Fit Text to change it's size 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
6e6091f48c [FIX] Fixed Text widget crashed on entering empty value 2020-01-02 15:13:45 +01:00
Adam Dobrowolski
91e532c884 [FIX] Fixed Text widget eating not handled key presses 2020-01-02 15:13:45 +01:00
Adam Dobrowolski
2dd98682e5 [FIX] No text, first letter input fixed
This should be rather fixed in Text lines handling, but it was like that
previously so I just keep it that way
2019-12-10 15:21:19 +01:00
Adam Dobrowolski
93ed20f0ad [FIX] gui::Text handle multipress
Removed too much code on cleanup
2019-12-10 15:21:19 +01:00
Adam Dobrowolski
6b21d1977d [EGD-2334] Updated Text and eng keymap to the way it shall work from design 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
9e6402e228 [EGD-2335] Addeed codestyle to changed code chunks 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
3e207881e3 [EGD-2335] misc fixes 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
77e8cd9341 [EGD-2335] WIP adding AppSpecialInput 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
52f7fa60aa [EDG-2335] Added callback to set input type on bottom of screen 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
d6efa934db [EDG-2335] Fix - browse only throught available modes 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
c5c9ea0087 [EGD-2335] WIP: handling keys moved to widget - works smoothly 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
e1bde27d79 [EDG-2335] WIP: Application.cpp handling is just sad 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
8c7cd7140f [EDG-2335] WIP: checking key handlig 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
c28f8e2dd5 [FIX] Text fix when there is less lines to show than possible (ie 0) 2019-11-20 11:02:28 +01:00
RomanKubiak
02b26e7f63 GUI: Text widget added color and align methods, removed some
LOG_INFO lines (too much noise)
2019-11-19 05:10:56 -08:00
RomanKubiak
d9186acee3 __FORMAT: module-gui/gui/widgets/Text.cpp module-gui/gui/widgets/Text.hpp 2019-11-19 05:10:56 -08:00
Adam Dobrowolski
164b9281c8 EGD-2195 - Changed sizes for fonts in project
* changed all fonts to follow one `Style.hpp` include
* Moved title to AppWindow from all the places in code
* added logging on font selection - when not found
* minor fixes
2019-10-25 13:04:33 +02:00
Robert Borzecki
5251f79971 Added ThreadViewWindow. 2019-09-26 07:14:31 +02:00
Robert Borzecki
e74b6ba896 Added underline focus. 2019-09-09 14:40:32 +02:00
Robert Borzecki
8a471dd389 Added underline option for text widget. 2019-09-09 07:17:06 +02:00
Robert Borzecki
8e6d13a1e2 Added add new contact window. 2019-09-08 10:19:33 +02:00
Robert Borzecki
b1fd800a3f phonebook memory leak, WIP. 2019-08-30 12:30:17 +02:00