Commit Graph

21 Commits

Author SHA1 Message Date
Luis Ángel San Martín
85fba7e8f5 Added new methods for getting reading lists and comics in a reading list. Fixed DBHelper for not using GUI related classes (reading_list_item). 2017-05-26 17:27:08 +02:00
Luis Ángel San Martín
e2a8d520a9 Update the new lastTimeOpened value in the DB when it is needed in the DBHelper. Plus updated the getReading method for ordering the comics by the last time they were opened (descending order). 2017-03-28 18:42:25 +02:00
Luis Ángel San Martín
87e9cf92ff Use FAV_ID instead of hardcoded value. 2016-08-23 22:23:06 +02:00
Luis Ángel San Martín
983a035c31 New method for getting the comics being read, plus added the read state to comics loaded for being served. 2016-08-23 22:22:46 +02:00
Luis Ángel San Martín
a6204bcc65 Fixed Favorites resorting. 2016-08-23 22:03:56 +02:00
Luis Ángel San Martín
a17de2e7ef New method for loading the comics in favorites (server listing). 2016-08-23 18:07:19 +02:00
Luis Ángel San Martín
e5671806fc Optimize comic info loading for the server. 2016-08-23 18:04:20 +02:00
Luis Ángel San Martín
b0b13de52d New method for getting the comics in a tag (aka label). 2016-08-22 23:03:18 +02:00
Luis Ángel San Martín
581592909d merged develop 2016-04-19 23:19:39 +02:00
Luis Ángel San Martín
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
Luis Ángel San Martín
011176bebb merged master 2016-03-25 17:15:14 +01:00
Luis Ángel San Martín
8179092d56 added a border to selected/mouseHover elements in the grid view 2016-03-25 11:30:31 +01:00
Luis Ángel San Martín
4350d6797e added a new controller for serving the tags in a library 2016-01-25 22:23:49 +01:00
Luis Ángel San Martín
88056c819f updating folders' children info for every insert/delete in the db causes big performance issues, so that info is going to be updated explicitly 2016-01-25 18:45:50 +01:00
Luis Ángel San Martín
e23f6b0bc3 store the hash of the first comic in a folder, this is more useful than storing the id 2016-01-24 19:14:16 +01:00
Luis Ángel San Martín
b9e7dbe41e Everytime the content of a folder changes, update numChildren and firstChildId. This could cause performance issues, but the initial tests look good, and it seems that the overhead could be considered negligible. On the other hand, client queries are several times faster. 2016-01-24 18:52:25 +01:00
Luis Ángel San Martín
bac7fe1351 updated Folder class 2016-01-24 17:41:26 +01:00
Luis Ángel San Martín
4b3ffdc665 set numChildren to -1 if there is no value in the data base 2016-01-24 14:12:38 +01:00
Luis Ángel San Martín
2703219a0a map new fields on folder table to model class 2016-01-24 12:14:31 +01:00
Luis Ángel San Martín
e9210bb366 added a new db helper method for knowing the number of elements in a folder 2016-01-24 10:04:40 +01:00
Luis Ángel San Martín
9a62cd4a72 added a QStyledItemDelegate to the list QListView in EmptyFolderWidget to center aling folders' names 2016-01-01 13:11:31 +01:00