Commit Graph

26 Commits

Author SHA1 Message Date
ab9472cb58 Add a method for triggering the change of a comic cover from the model
Sad day for nice code.
2023-08-17 19:41:13 +02:00
3a0e8db189 Implement support for updating ComicModel without resetting the whole model
TODO: Favorites, Label, ReadingList still fallback to full reload because we need a way of comparing old vs new results. SearchResult does nothing because we don't have access to the search query.
2023-08-13 11:40:59 +02:00
864516d781 Add Recent list. 2023-06-03 16:45:47 +02:00
45af72520b Add setting to control what "recent" is considered. 2023-05-20 17:43:38 +02:00
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
f2bf53ce5b Add new fields to the DB and make then available to be used in the apps 2023-05-12 16:59:23 +02:00
e8f31b39ee Update the current comic model when the server gets a syn request
Sadly the grid view resets its scroll to origin. Not sure if it is going to bother anyone, we'll see.
2022-10-15 12:53:02 +02:00
901f05feb1 Add a method to make a comics model reload the continue reading list 2022-10-14 20:54:07 +02:00
0a00fd3020 Add a new type of role to ComicModel to display a title composed with the available info 2022-10-09 11:32:06 +02:00
88de0ae25a Add publication date to the classic comics view table 2021-12-26 20:26:16 +01:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
a623dfb133 Database Models: Remove obsolete signals
Folder model and comic model contain two signal relais which do not
serve any obvious purpose.
Remove them.
2021-06-29 13:53:12 +02:00
945b24a8f8 Extract opening a comic from YACReaderLibrary to its own file
And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
2021-05-27 18:48:52 +02:00
13a29e2657 Make "delete" icon work properly in the "Reading" list
Only the "Favorites" special list was handled.
2021-05-16 09:01:35 +02:00
5fd5ff5b64 DB model classes: use explicit, nullptr, override 2021-03-06 21:00:31 +01:00
97c7723b17 Add support for setting issues as manga/normal in the comics view 2021-01-16 14:25:47 +01:00
76a307d0d8 Remove comments 2021-01-14 19:11:25 +01:00
ccc382df7d Use ComicQueryResultProcesor 2021-01-14 09:17:18 +01:00
4b3042def4 Fix object leaks in database code
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.

Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
f29724e404 Annotate overridden methods 2019-06-01 16:04:48 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
450997762e Current comic view only makes sense for folders and reading lists. 2018-05-22 18:45:12 +02:00
f6d389ff35 Add current/next comic view to GridView. 2018-04-23 19:22:51 +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