Commit Graph

79 Commits

Author SHA1 Message Date
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
b60c0e523c Fix sorting in siblings calculation, it is the name (file name) not the title. 2017-11-20 21:38:07 +01:00
5c268217d3 Fix read flag calculation on progress read updated from the server. 2017-11-19 10:03:40 +01:00
4d4556f7e2 Removed usage of QSqlRecoerd unless is totally necessary. 2017-08-28 19:02:18 +02:00
9ed1f0f306 Merge 2017-08-28 18:52:24 +02:00
1e74234dbf Fixed data base info retrieving through DBHelper - values(QString) and QSqlRecord. Methods implemented before the fixes in the develop branch. 2017-08-26 17:03:18 +02:00
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
d6898e9a4e Fixed data base info retrieving through DBHelper, value(QString) should never be used because it is really slow. All items sorting should be done at db level or using std::sort. 2017-08-26 16:16:11 +02:00
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
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
87e9cf92ff Use FAV_ID instead of hardcoded value. 2016-08-23 22:23:06 +02:00
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
a6204bcc65 Fixed Favorites resorting. 2016-08-23 22:03:56 +02:00
a17de2e7ef New method for loading the comics in favorites (server listing). 2016-08-23 18:07:19 +02:00
e5671806fc Optimize comic info loading for the server. 2016-08-23 18:04:20 +02:00
b0b13de52d New method for getting the comics in a tag (aka label). 2016-08-22 23:03:18 +02:00
581592909d merged develop 2016-04-19 23:19:39 +02:00
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
011176bebb merged master 2016-03-25 17:15:14 +01:00
8179092d56 added a border to selected/mouseHover elements in the grid view 2016-03-25 11:30:31 +01:00
4350d6797e added a new controller for serving the tags in a library 2016-01-25 22:23:49 +01:00
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
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
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
bac7fe1351 updated Folder class 2016-01-24 17:41:26 +01:00
4b3ffdc665 set numChildren to -1 if there is no value in the data base 2016-01-24 14:12:38 +01:00
2703219a0a map new fields on folder table to model class 2016-01-24 12:14:31 +01:00
e9210bb366 added a new db helper method for knowing the number of elements in a folder 2016-01-24 10:04:40 +01:00
9a62cd4a72 added a QStyledItemDelegate to the list QListView in EmptyFolderWidget to center aling folders' names 2016-01-01 13:11:31 +01:00