1562 Commits

Author SHA1 Message Date
Luis Ángel San Martín
eaee7d78d9 Added a new class for dealing with comics selection in comics views. 2016-04-18 13:24:59 +02:00
Luis Ángel San Martín
11f0ea61a7 Implemented selection model in info comics view, so toolbar actions become usable. 2016-04-17 22:27:59 +02:00
Luis Ángel San Martín
49009f78ee Use nullptr instead of NULL with selection model. 2016-04-17 21:58:54 +02:00
Luis Ángel San Martín
aad00d77d3 Implemented InfoRating interaction and value. 2016-04-17 21:49:54 +02:00
Luis Ángel San Martín
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
Luis Ángel San Martín
11456f8a1d Added user interaction capabilities to InfoFavorites. 2016-04-17 11:19:38 +02:00
Luis Ángel San Martín
8aaefd4a4e Remove showInfoAction from the toolbar on grid view close. 2016-04-17 10:32:15 +02:00
Luis Ángel San Martín
2199206401 Update comic info when the index changes in GridView. 2016-04-16 22:57:27 +02:00
Luis Ángel San Martín
28b5a29da9 Added a new action for showing, hiding QML ComicInfo view into the GridView. 2016-04-16 22:40:42 +02:00
Luis Ángel San Martín
ba5dfc0807 Use a context property for setting the comic info visibility. 2016-04-16 22:29:31 +02:00
Luis Ángel San Martín
0aa3aee921 Added publishing information to ComicInfo.qml 2016-04-16 21:30:32 +02:00
Luis Ángel San Martín
11b5e555cd Rearanged methods declaration in GridView 2016-04-16 13:51:23 +02:00
Luis Ángel San Martín
ecb2920685 Fixed shift select functionality in grid view. 2016-04-16 13:50:57 +02:00
Luis Ángel San Martín
d3cb607ac6 Removed no needed signal. 2016-04-16 13:20:14 +02:00
Luis Ángel San Martín
7dea2dec48 Rearranged code. 2016-04-16 13:15:46 +02:00
Luis Ángel San Martín
cacc2a8ea8 Implemented a few trivial methods. 2016-04-15 23:02:48 +02:00
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
cd07135af2 Updated comic info for writing read and rating properties in QML. 2016-04-13 18:12:33 +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
ad315b0d60 Updated comic db classes so they can be used in QML. 2016-04-12 22:06:19 +02:00
Luis Ángel San Martín
2149af25b1 Added copy constructors and operator= to folder and comicdb, LibraryItem has to be a QObject, and QObject disables copy. 2016-04-11 19:25:33 +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
019f84d9b4 don't sing apps 2016-04-10 21:06:07 +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
1d7319dcd8 Make ComicInfo a QObject, so it can be used in QML code. 2016-04-10 20:05:27 +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