Commit Graph
104 Commits
Author SHA1 Message Date
Tomasz Sobkowiak 0d7bae0a55 [EGD-3109] Use more appropriate type instead of raw types
Position and Length used instead of raw ones
2021-05-05 09:12:29 +02:00
Artur Śleszyński 3ed010cfd3 [EGD-3119] Do not convert InputEvent to numeric if not digit
Make sure InputEvent is a digit key before converting to numeric.
2021-05-04 15:53:16 +02:00
Artur Śleszyński 71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Przemyslaw Brudny 3eb630b02d [EGD-6534] TextFixedSize crash on char removal fix
Fixed TextFixedSize character removal crash on single line
space case. Added UT to cover it and other missing TextFixed
sized drawLines cases.
2021-04-15 17:30:11 +02: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
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
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
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
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
PrzeBrudny 11f39b1caf [EGD-4517] Added Text Up/Down navigation with tests. (#1089) 2020-11-26 18:42:37 +01:00
PrzeBrudny 782980b261 [EGD-4372] Text addition boundaries added with tests. Removed old bounds checking. Text blocks on newlines split issue fixed. Text widgets cleanups. (#1020) 2020-11-20 02:40:58 +01:00
PrzeBrudny 8d95257271 [EGD-4407] Text backup and restore added. (#1022) 2020-11-17 12:12:52 +01:00
PrzeBrudny 4cc467596e [EGD-4210] Text newline handling, bounds first refactor, Test fixes. (#944) 2020-11-06 14:57:22 +01:00
Adam 64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +01:00
Radoslaw Wicik 2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
PrzeBrudny f15cbe71de [EGD-3409] Text boundaries fixes. (#860) 2020-10-20 09:03:13 +02:00
Tomek Sobkowiak 1e78053bb0 EDG-3409 Check text boundaries on input (#716)
* [EDG-3409] Check text boundaries during input processing
2020-10-19 09:14:41 +02:00
Piotr Tanski fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +02:00
Przemyslaw Brudny 196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +02:00
Piotr Tanski 7e520b49a2 [EGD-3788] Fixes for message drafts feature after requirements elaboration. (#733) 2020-09-29 12:34:58 +02:00
Adam 07b243a084 Egd-3408 Rich text (#712)
* EGD-3408 gui::Text Rich text parser added with pugixml tree & tree walker

* EGD-3408 Fitted code in
2020-09-23 21:03:57 +02:00
Adam 58d0ca3869 [EGD-2494] Added no pin notification (#663) 2020-09-14 15:35:33 +02:00
Tomasz Sobkowiak 45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
Przemyslaw Brudny 7cf700e09f [EGD-3265] Layout Resizing Item flag added and handled, fixed BoxLayout sizeLeftWithoutElem and setNavigation. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny cc6143a329 [EGD-3265] BoxLayout and text requestSize boundaries handling. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny a97898f9e3 [EGD-3265] Reply icon import, bottom bar setters added, first SMSInputWidget version added. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny 34229525ae [EGD-3485] Fixes in Text, OutputLinesTextWithLabelItem widget fixes. Fixes in Messages. 2020-08-13 12:43:22 +02:00
Przemyslaw Brudny 10cd3cabc7 [EGD-3410] Cleanups. 2020-07-31 12:50:31 +02:00
Przemyslaw Brudny 077285b5aa [EGD-3410] UnderLine support added. 2020-07-31 12:50:31 +02:00
Przemyslaw Brudny cd89787351 [EGD-3410] TextLine inheritance to Rect added. 2020-07-31 12:50:31 +02:00
Pawel Olejniczak eae9427f9c [EGD-3333] Revert temporary listview and text fixes 2020-07-31 11:55:16 +02:00
Przemyslaw Brudny 0be7e4bc0a [EGD-3333] Resize fixes. Model fetching changes. ListView and Box fixes. 2020-07-31 11:55:16 +02:00
Przemyslaw Brudny 584b207876 [EGD-3433] PR changes. 2020-07-17 11:02:22 +02:00
Przemyslaw Brudny be7d065b1a [EGD-3433] Fixed Text Vertical Alignment and Cursor starting position. 2020-07-17 11:02:22 +02:00
Przemyslaw Brudny 4879fb7455 [EGD-3391] Left padding for Inbox fixed. 2020-07-16 12:16:12 +02:00
Przemyslaw Brudny 9eeb40ce39 [EGD-3391] Fixed messages window margins. Text and Labels margins cleanups. 2020-07-16 12:16:12 +02:00
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