Commit Graph

61 Commits

Author SHA1 Message Date
6c76aaffc8 Keep all comics views in memory, views are going to be created lazily. This should fix the issues with QML context deallocating objects between views switching. 2016-04-15 17:05:59 +02:00
4ef185c885 Check model rowCount before accessing to data. 2016-04-13 22:51:15 +02:00
cfece24a3f Show the comics view only if it is needed. 2016-04-13 22:08:32 +02:00
655b39e945 Renamed method. 2016-04-13 22:02:50 +02:00
13ceedc8ec Update comicInfo when the read tick is activated by the user. 2016-04-13 18:13:07 +02:00
0c95001fc5 Added a mouse click handler to InfoTick view plus a signal for notifying user interaction. 2016-04-13 18:02:02 +02:00
b13cf09c09 Added read marks to FlowView.qml 2016-04-13 17:59:49 +02:00
8a478a2ef0 Removed FIXME. 2016-04-12 23:16:49 +02:00
5969fbdd87 Set toolbar in info comic view. 2016-04-12 23:15:10 +02:00
d9105267ac Layout fixes. 2016-04-12 23:08:18 +02:00
4fcd7225da This again :/, fixing this needs a separated feature branch and long debuging session. 2016-04-12 23:01:39 +02:00
939a52dd6e Pass comic and comicInfo to the QML context when the current index is updated, so the ComicInfo view becomes functional. 2016-04-12 22:37:52 +02:00
1612402456 Register ComicDB in GridView too. 2016-04-12 22:35:07 +02:00
2bb8ec8141 Typo 2016-04-12 22:32:33 +02:00
27eebaec17 Use ComicDB and ComiInfo for filling the information in ComicInfo.qml 2016-04-12 22:12:06 +02:00
7ed4c27c01 better approach to avoid comic model problems after switching views 2016-04-10 22:51:20 +02:00
ea4b9a69d4 changed points to pixels for keeping visual size consistency between osx and windows 2016-04-10 22:10:18 +02:00
aa93ac2472 fixed OSX compilation 2016-04-10 21:57:29 +02:00
0d21548638 Register ComicInfo from the grid view controller. 2016-04-10 20:18:38 +02:00
8807a3b509 Link the FlowView in QML with the c++ view controller, so the comic info can be updated whenever the selected comic changes. 2016-04-10 20:11:30 +02:00
af772f8aee Emit a signal from FlowView when the index changes. 2016-04-10 20:07:27 +02:00
3d5eb94ffd Added a property to ComicInfo for storing the model information. 2016-04-10 20:06:52 +02:00
39acc64a68 No more graphical effects on the parent. 2016-04-09 21:51:12 +02:00
49a70c496f Use the right type for InfoFavorites. 2016-04-09 21:35:37 +02:00
42cb3f5ddf Don't use QtGraphicalEffects on parents. 2016-04-09 21:16:56 +02:00
82712e0155 Use direct index asigment on item click. 2016-04-09 19:41:51 +02:00
d17aa196b6 Animated border opacity in grid view when an item is selected or the mouse is hover. 2016-04-09 19:17:18 +02:00
874bc595e3 Improved wheel mouse scrolling in FlowView.qml 2016-04-09 18:52:12 +02:00
6332b4f6e1 Index can't exceed count - 1 2016-04-09 18:51:39 +02:00
48d9c9fdd0 Changed the comics view transition for a simple plain view. In a future the views swaping should be fixed using double buffering. 2016-04-09 14:57:33 +02:00
79b7654924 Show comic info in InfoComicsView 2016-04-09 11:58:09 +02:00
88f2d2a754 Added the basic structure of ComicInfo view. 2016-04-09 11:52:23 +02:00
0b379dbd0b Prepare GridComicsView for showing the comic info view. 2016-04-09 11:43:59 +02:00
43b1fb18e2 Added a new style for the scrollbar in GridComicsView. YACReaderScrollViewStyle is needed because YACReaderScrollView is used instead of ScrollView. 2016-04-09 11:40:50 +02:00
7a43ec131c Updated YACReaderScrollView to the latest SrollView version 2016-04-09 11:39:33 +02:00
d3528bf7fa Added a new property to FlowView for controlling the spacing between items. 2016-03-28 19:36:47 +02:00
0318b87697 Added new QML item for displaying the information of a comic. 2016-03-28 19:21:41 +02:00
6b3d5b04d7 Added a busy indicator to the flow view covers. 2016-03-28 19:21:03 +02:00
a28a5de278 Fixed spacing in FlowView. 2016-03-28 19:14:33 +02:00
14663f10ae new tool bar icon for the new comics view mode 2016-03-28 12:03:11 +02:00
81c785f787 Added new info comcis view skeleton + setting the comics model. So far it can loads the list of covers from the model. FlowView.qml will be a FlowGL replacement that will be the default in the ANGLE version and an option in the main version. 2016-03-28 11:40:17 +02:00
56e7737931 Fixed ComicModel QML registering 2016-03-28 11:37:45 +02:00
c8d4d43b66 added the new info comics view to the switch views rotation 2016-03-27 10:33:13 +02:00
cf369485c6 Move attributes from public to protected. 2016-03-26 23:11:41 +01:00
649da584da Added new comics view class oriented to showing comics metadata. 2016-03-26 23:08:56 +01:00
61ae9dc028 removed coment 2016-03-26 21:51:11 +01:00
a4375f0c8e moved comics views managment code to the new class 2016-03-26 21:47:46 +01:00
704408f704 Added new class for dealing with all the comics' views. This way all the related code will be moved away from the library window controller. 2016-03-26 19:59:35 +01:00
1b5797b67c fixed rating context menu in grid view 2016-03-26 13:57:38 +01:00
4b8462459a fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler 2016-03-26 11:31:25 +01:00