Commit Graph

51 Commits

Author SHA1 Message Date
Przemyslaw Brudny
25afb95847 [EGD-3336] Tests added and rebase changes. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
4686065c09 [EGD-3336] BoxLayout lead axis Alignment Calculation moved to resizeItems. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
00caa85d1f [EGD-3336] BoxLayout Alignment refactor. 2020-07-15 13:07:20 +02:00
Marcin Smoczyński
df60d9c240 [EGD-3251] phonebook: improved search
Refactor phonebook's models to merge both implementation. One model
class is used for both main and search results windows.

Improve search by matching entered string against:
 - first_name " " last_name
 - last_name " " fist_name
Sort results by last_name " " first_name, favs first.

Small improvement to the list view has been added to deal with
asynchronous db reads.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-07-09 11:28:45 +02:00
PrzeBrudny
53f47439d8 [EGD-3375] Changed Models pointers to shared_ptr. (#505) 2020-07-08 12:18:16 +02:00
Przemyslaw Brudny
221f6405bc [EGD-3351] Changed all ListView items to use Margins. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
3e41238f55 [EGD-3351] Added margin support to BoxLayout. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
62dd1cc5b8 [EGD-3341] Fixed reverse alignment calling in wrong order. 2020-06-24 14:45:54 +02:00
Przemyslaw Brudny
57017c6c04 [EGD-3341] Not deleting object support. 2020-06-24 14:45:54 +02:00
Przemyslaw Brudny
88164ab40c [EGD-3295] PR changes and BoxLayout tests added. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
4dbc1630ea [EGD-3295] Double click on last page item changing two pages fix. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
dd601c432d [EGD-3295] BoxLayout and ListView performance improvements. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
6aefbea606 [EGD-3278] ListView initial conditions set on clear and test. 2020-06-10 16:08:43 +02:00
Przemyslaw Brudny
6ebec9ef43 [EGD-3094] PR changes. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
20d4ea5dc3 [EGD-3094] Small scroll refactor. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
6821c8a1b3 [EGD-3094] PR changes, added minimalItemsCount calculation to listview. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
8e6d4b284e [EGD-3094] Cleanups, proper erase widget from list. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
e72ddeeeed [EGD-3094] Cleanups, new setters, proper mark labels handling in PhonebookListView 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
769151eb14 [EGD-3094] Reverse order fixes. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
4507092586 [EGD-3094] Old ListView removals, applying bottom top logic into Phonebook labels list. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
0edc752edd [EGD-3225] ListView Bot-Top scrolling handling for Calllog and Thread. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
5e72f8d006 [EGD-3094] Phonebook list redefined, lot of contact and search model fixes. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
d2d97160e2 [EGD-3094] Basic Phonebook contact list migration to new ListView. 2020-06-03 19:23:16 +02:00
pholat
ace320d22c EGD-3217 setMin / setMax size in use for ListView (#376) 2020-05-20 12:48:46 +02:00
Adam Dobrowolski
33385e97f9 EGD-3202 Post rebase fixup 2020-05-13 17:11:51 +02:00
Przemyslaw Brudny
02808dd357 [EGD-3040] Style updates in listViews. 2020-05-12 20:33:00 +02:00
Przemyslaw Brudny
4769b8463b [EGD-3040] ListView scroll/no scroll resize. Callog style update. 2020-05-12 20:33:00 +02:00
Przemyslaw Brudny
6dc9842e4e [EGD-3190] Messages thread compatibility fixes. 2020-05-12 16:45:15 +02:00
Przemyslaw Brudny
276aff67f6 [EGD-3190] setMinHeight fixes. 2020-05-12 16:45:15 +02:00
Przemyslaw Brudny
e2d71dcf57 [EGD-3190] outOfDrawAreaItems handling added in BoxLayout.cpp, Fixed ListView Dimensions change. 2020-05-12 16:45:15 +02:00
Przemyslaw Brudny
6540a27de4 [EGD-3040] PR cleanups. 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
3d1905accc [EGD-3040] Changed provider synchronization with listview for new data.
[EGD-3040] Span item set method added, scroll disabled on only one page ListView.
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
0031280798 [EGD-3040] PR changes 2020-04-28 14:10:41 +02:00
Adam Dobrowolski
3cb5217bf8 EGD-3040 moved showOption action to provider from main SMS window & removed not needed function from ListView 2020-04-28 14:10:41 +02:00
Adam Dobrowolski
4222916ed6 EGD-3040 Fixed Item::erase() and used in ListView
Erase uses the very same children that are used in removeWidget -
therefore we have to get them as long as we can to remove them all
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
492fba27b1 [EGD-3040] DatabaseModel and other models simplifications
[EGD-3040] Cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
7722e24f5f [EGD-3040] WIP DatabaseModel cleanups
[EGD-3040] ListView redundant methods removal
[EGD-3040] ListView scroll moved to separate class
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
fb056774f5 [EGD-3040] ListItemProvider refactored to abstract class
[EGD-3040] ListView & ListItemProvider cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
94c0226c46 [EGD-3040] listView using VBox change
[EGD-3040] listView minor cleanups
[EGD-3040] phonebook listview commented
[EGD-3040] WIP DB model refactors
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny
3e97822d1e [EGD-3040] ListView style updates to match desgin 2020-04-28 14:10:41 +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
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
Adam Dobrowolski
b9148ed274 [FIX] Fixed ListView double item rebuild 2020-01-02 15:13:45 +01:00
Adam Dobrowolski
c5cb69da30 [FIX] ListView crashed when there was no elements to show 2019-11-21 09:07:59 +01:00
Robert Borzecki
8b7e7a7cca Fied memory leak in destructor of database model. 2019-09-18 00:26:19 +02:00
Robert Borzecki
c884edb4b6 Fixed top-down navigation for phonebook. 2019-09-16 09:37:57 +02:00
Robert Borzecki
70e291e5d5 Added acquireing data for phonebook model. 2019-09-12 12:18:44 +02:00
Robert Borzecki
0208d065c3 Fixed scrolling problems in list view. 2019-08-13 13:43:15 +02:00
Robert Borzecki
b0bb0d8f6c Added locking and unlocking of the desktop screen. 2019-06-27 10:00:14 +02:00