Commit Graph

61 Commits

Author SHA1 Message Date
Luis Ángel San Martín
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
Luis Ángel San Martín
4ef185c885 Check model rowCount before accessing to data. 2016-04-13 22:51:15 +02:00
Luis Ángel San Martín
cfece24a3f Show the comics view only if it is needed. 2016-04-13 22:08:32 +02:00
Luis Ángel San Martín
655b39e945 Renamed method. 2016-04-13 22:02:50 +02:00
Luis Ángel San Martín
13ceedc8ec Update comicInfo when the read tick is activated by the user. 2016-04-13 18:13:07 +02:00
Luis Ángel San Martín
0c95001fc5 Added a mouse click handler to InfoTick view plus a signal for notifying user interaction. 2016-04-13 18:02:02 +02:00
Luis Ángel San Martín
b13cf09c09 Added read marks to FlowView.qml 2016-04-13 17:59:49 +02:00
Luis Ángel San Martín
8a478a2ef0 Removed FIXME. 2016-04-12 23:16:49 +02:00
Luis Ángel San Martín
5969fbdd87 Set toolbar in info comic view. 2016-04-12 23:15:10 +02:00
Luis Ángel San Martín
d9105267ac Layout fixes. 2016-04-12 23:08:18 +02:00
Luis Ángel San Martín
4fcd7225da This again :/, fixing this needs a separated feature branch and long debuging session. 2016-04-12 23:01:39 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
1612402456 Register ComicDB in GridView too. 2016-04-12 22:35:07 +02:00
Luis Ángel San Martín
2bb8ec8141 Typo 2016-04-12 22:32:33 +02:00
Luis Ángel San Martín
27eebaec17 Use ComicDB and ComiInfo for filling the information in ComicInfo.qml 2016-04-12 22:12:06 +02:00
Luis Ángel San Martín
7ed4c27c01 better approach to avoid comic model problems after switching views 2016-04-10 22:51:20 +02:00
Luis Ángel San Martín
ea4b9a69d4 changed points to pixels for keeping visual size consistency between osx and windows 2016-04-10 22:10:18 +02:00
Luis Ángel San Martín
aa93ac2472 fixed OSX compilation 2016-04-10 21:57:29 +02:00
Luis Ángel San Martín
0d21548638 Register ComicInfo from the grid view controller. 2016-04-10 20:18:38 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
af772f8aee Emit a signal from FlowView when the index changes. 2016-04-10 20:07:27 +02:00
Luis Ángel San Martín
3d5eb94ffd Added a property to ComicInfo for storing the model information. 2016-04-10 20:06:52 +02:00
Luis Ángel San Martín
39acc64a68 No more graphical effects on the parent. 2016-04-09 21:51:12 +02:00
Luis Ángel San Martín
49a70c496f Use the right type for InfoFavorites. 2016-04-09 21:35:37 +02:00
Luis Ángel San Martín
42cb3f5ddf Don't use QtGraphicalEffects on parents. 2016-04-09 21:16:56 +02:00
Luis Ángel San Martín
82712e0155 Use direct index asigment on item click. 2016-04-09 19:41:51 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
874bc595e3 Improved wheel mouse scrolling in FlowView.qml 2016-04-09 18:52:12 +02:00
Luis Ángel San Martín
6332b4f6e1 Index can't exceed count - 1 2016-04-09 18:51:39 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
79b7654924 Show comic info in InfoComicsView 2016-04-09 11:58:09 +02:00
Luis Ángel San Martín
88f2d2a754 Added the basic structure of ComicInfo view. 2016-04-09 11:52:23 +02:00
Luis Ángel San Martín
0b379dbd0b Prepare GridComicsView for showing the comic info view. 2016-04-09 11:43:59 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
7a43ec131c Updated YACReaderScrollView to the latest SrollView version 2016-04-09 11:39:33 +02:00
Luis Ángel San Martín
d3528bf7fa Added a new property to FlowView for controlling the spacing between items. 2016-03-28 19:36:47 +02:00
Luis Ángel San Martín
0318b87697 Added new QML item for displaying the information of a comic. 2016-03-28 19:21:41 +02:00
Luis Ángel San Martín
6b3d5b04d7 Added a busy indicator to the flow view covers. 2016-03-28 19:21:03 +02:00
Luis Ángel San Martín
a28a5de278 Fixed spacing in FlowView. 2016-03-28 19:14:33 +02:00
Luis Ángel San Martín
14663f10ae new tool bar icon for the new comics view mode 2016-03-28 12:03:11 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
56e7737931 Fixed ComicModel QML registering 2016-03-28 11:37:45 +02:00
Luis Ángel San Martín
c8d4d43b66 added the new info comics view to the switch views rotation 2016-03-27 10:33:13 +02:00
Luis Ángel San Martín
cf369485c6 Move attributes from public to protected. 2016-03-26 23:11:41 +01:00
Luis Ángel San Martín
649da584da Added new comics view class oriented to showing comics metadata. 2016-03-26 23:08:56 +01:00
Luis Ángel San Martín
61ae9dc028 removed coment 2016-03-26 21:51:11 +01:00
Luis Ángel San Martín
a4375f0c8e moved comics views managment code to the new class 2016-03-26 21:47:46 +01:00
Luis Ángel San Martín
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
Luis Ángel San Martín
1b5797b67c fixed rating context menu in grid view 2016-03-26 13:57:38 +01:00
Luis Ángel San Martín
4b8462459a fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler 2016-03-26 11:31:25 +01:00