Commit Graph

1061 Commits

Author SHA1 Message Date
dd5f413ce2 Enable drop support for info comics view. 2016-04-18 17:27:46 +02:00
af235fb516 Fixed drop filtering in GridView. 2016-04-18 17:21:54 +02:00
c052a82195 Use the comics selection helper in the info comics view. 2016-04-18 14:30:28 +02:00
771597e4f4 Use a SplitView in GridView, so the user can resize the comic info view. 2016-04-18 13:28:08 +02:00
1285b46a4c Use the new selection helper class in GridView. 2016-04-18 13:27:37 +02:00
1045081601 Updated YACReaderLibrary .pro file. 2016-04-18 13:26:04 +02:00
eaee7d78d9 Added a new class for dealing with comics selection in comics views. 2016-04-18 13:24:59 +02:00
11f0ea61a7 Implemented selection model in info comics view, so toolbar actions become usable. 2016-04-17 22:27:59 +02:00
49009f78ee Use nullptr instead of NULL with selection model. 2016-04-17 21:58:54 +02:00
aad00d77d3 Implemented InfoRating interaction and value. 2016-04-17 21:49:54 +02:00
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
11456f8a1d Added user interaction capabilities to InfoFavorites. 2016-04-17 11:19:38 +02:00
8aaefd4a4e Remove showInfoAction from the toolbar on grid view close. 2016-04-17 10:32:15 +02:00
2199206401 Update comic info when the index changes in GridView. 2016-04-16 22:57:27 +02:00
28b5a29da9 Added a new action for showing, hiding QML ComicInfo view into the GridView. 2016-04-16 22:40:42 +02:00
ba5dfc0807 Use a context property for setting the comic info visibility. 2016-04-16 22:29:31 +02:00
0aa3aee921 Added publishing information to ComicInfo.qml 2016-04-16 21:30:32 +02:00
11b5e555cd Rearanged methods declaration in GridView 2016-04-16 13:51:23 +02:00
ecb2920685 Fixed shift select functionality in grid view. 2016-04-16 13:50:57 +02:00
d3cb607ac6 Removed no needed signal. 2016-04-16 13:20:14 +02:00
7dea2dec48 Rearranged code. 2016-04-16 13:15:46 +02:00
cacc2a8ea8 Implemented a few trivial methods. 2016-04-15 23:02:48 +02:00
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