Commit Graph

57 Commits

Author SHA1 Message Date
Luis Ángel San Martín
3ae3628c1f Replace drop shadow on the Flow Info view too 2024-12-29 19:09:59 +01:00
Luis Ángel San Martín
974bc40e90 Replace DropShadow with a prerendered shadow image to boost performance 2024-12-29 18:55:57 +01:00
Luis Ángel San Martín
44ae4cc2a6 Use a Loader to create the rating menu on demand to improve performance 2024-12-29 18:55:17 +01:00
Luis Ángel San Martín
f5eb81dcac Add setting to hide the "Continue Reading..." banner from the home view. 2024-12-28 14:36:42 +01:00
Luis Ángel San Martín
13d0984784 Enable dropping content on the FolderContentView 2024-11-05 19:23:46 +01:00
Luis Ángel San Martín
1bf0c1ff67 Fix InfoComicsView scroll bar in Qt6 2023-05-31 19:03:06 +02:00
Luis Ángel San Martín
94ddc54888 Remove usage of Qt.platform.os 2023-05-24 21:01:02 +02:00
Luis Ángel San Martín
352e52f454 Remove usage of Qt.platform.os 2023-05-24 20:58:01 +02:00
Luis Ángel San Martín
85b1c42380 Remove usage of Qt.platform.os 2023-05-24 20:57:45 +02:00
Luis Ángel San Martín
78800010f6 Remove usage of Qt.platform.os 2023-05-24 20:45:43 +02:00
Luis Ángel San Martín
f331b8c251 Handle some nulls in qml 2023-05-21 21:12:23 +02:00
Luis Ángel San Martín
45af72520b Add setting to control what "recent" is considered. 2023-05-20 17:43:38 +02:00
Luis Ángel San Martín
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
Luis Ángel San Martín
a003ee40f6 Handle undefined values 2023-05-20 15:33:04 +02:00
Luis Ángel San Martín
1744002658 Fix nul -> null in qml 2023-05-20 14:50:32 +02:00
Luis Ángel San Martín
880e17acff Display new metadata in the info views 2023-05-16 21:47:59 +02:00
Luis Ángel San Martín
8f0619887c Change how wheel scrolling works in qml grid views
This fixes scrolling in Qt6
2023-01-14 14:15:30 +01:00
Luis Ángel San Martín
ffd8fd3bfb Fix Drag&Drop in the comics grid view 2022-11-06 11:48:27 +01:00
Luis Ángel San Martín
a7ff96b9ce Fix indentation 2022-11-06 10:15:00 +01:00
Luis Ángel San Martín
1a420c9679 Add a new type of view to show the content of a folder when it doesn't contain comics
This view will display subfolders only, but at some point it should evolve to show the full content in a folder.
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
685d70c624 Revert commit to prevent bounce when the wheel mouse is used 2022-10-03 19:31:44 +02:00
Luis Ángel San Martín Rodríguez
7331945eb0 Disable horizontal scrolling in the synopsis text
For some reason the content size is not properly calculated and you can scroll horizontally endlessly.
2022-10-01 08:27:29 +02:00
Luis Ángel San Martín
1b36dd7de9 Remove hack to keep content inside the grid view content size
This seems no longer necessary in Qt6 (maybe it got fixed after bumping QtQuick to 2.15)
2022-09-30 23:36:23 +02:00
Luis Ángel San Martín
c255182b1c Remove custom scroll bar for the synopsis 2022-09-30 23:34:47 +02:00
Luis Ángel San Martín
bc35b5d65f Fix QML in Qt6
This means having two versions of everything, the idea is to migrate to Qt6, test that everything works fine and drop Qt5 as soon as possible.
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín
91909f748d Reenable flickable behavior in the GridView
Touchpads aren't properly mapped to the wheelhandler in qt 5.15, there is a fix in Qt6
2022-09-03 23:53:58 +02:00
Luis Ángel San Martín
f27de78fe1 Fix grid cell selection border
Moving the DropShadow broke things in Qt5.15
2022-02-20 18:02:11 +01:00
Luis Ángel San Martín
8d0beee195 Use parent instead of id 2022-01-19 18:29:09 +01:00
Luis Ángel San Martín
24ad06e839 Remove icon 2022-01-19 18:28:49 +01:00
Luis Ángel San Martín
d73a9a2207 Move DropShadow block 2022-01-19 18:28:38 +01:00
Luis Ángel San Martín
26b4a85928 Rename id 2022-01-19 18:27:22 +01:00
Luis Ángel San Martín
6892a28d0a Check for undefined and null values in QML
Conditional chaining is not available in Qt5.15, so this is uglier than it should be.
2022-01-19 18:24:29 +01:00
Luis Ángel San Martín
68dbd90413 Update listeners definitions 2022-01-19 18:22:04 +01:00
Luis Ángel San Martín
1a25fd0740 Update listeners definitions 2022-01-19 18:20:05 +01:00
Luis Ángel San Martín
55f7c4e1b0 Modify the scale of the cell on mouse over
This will differentiate the mouse over accent vs the selection accent
2021-12-27 16:25:43 +01:00
Luis Ángel San Martín
e882ad272b Qt.labs.animation is not used yet 2021-11-07 09:31:23 +01:00
Luis Ángel San Martín
45b94cd8ef Migrate GridComicsView and InfoComicsView to QtQuick and QtQuick.Controls 2.15 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
71b17fe258 Trivial migrations to QtQuick 2.15 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
17064a12e6 Remove qml components what won't be used anymore 2021-10-19 00:00:09 +02:00
Igor Kushnir
68e9f06a13 GridComicsView: ignore unhandled key presses
When a key not handled by Grid view is pressed while it has focus, the
following warning appears in Library's output
qrc:/qml/GridComicsView.qml:776: Error: Cannot assign [undefined] to int
AND the top-left cover is selected. The added early return fixes both
issues.
2021-05-28 19:35:05 +02:00
Luis Ángel San Martín
890f9846b3 Support HTML content in the synopsis within the current comic banner 2021-03-07 08:55:51 +01:00
Luis Ángel San Martín
0f6b203d34 Embrace HTML coming from Comic Vine 2021-03-06 09:05:35 +01:00
Igor Kushnir
f88af80379 Library: fix InfoComicsView crashes
InfoComicsView constructor is the only function that connects to
FlowView's currentCoverChanged signal. Neither of the slots connected to
this signal handles the argument value index==-1. So when FlowView emits
this signal with index==-1, YACReaderLibrary crashes. Returning early
from either ComicsView::updateInfoForIndex() or
InfoComicsView::setCurrentIndex() when index==-1 is not sufficient - the
crash happens in the other slot then. Let us skip emitting the signal in
FlowView if index==-1 rather than return early from both slots.

Steps to reproduce 1:
1. Launch YACReaderLibrary version that matches the version of the
default library database. Alternatively, select a compatible library
after starting the application.
2. If InfoComicsView is not active, switch to it.
3. (optional) Switch to another comics view out of InfoComicsView.
4. Quit YACReaderLibrary. The application crashes during exit - after
the "YACReaderLibrary closed with exit code : 0" message is printed.

Steps to reproduce 2:
1. Launch a YACReaderLibrary version newer than the version of the
default library database.
2. Click the "No" button in the "Update needed" dialog that pops up.
3. Change between comics views until InfoComicsView becomes active. If
this view was active at the beginning, switch through all the views to
get back to it. At this point YACReaderLibrary crashes.
2021-02-01 11:27:18 +02:00
Luis Ángel San Martín
901d0ab03a Fix Potential fix for GridComicsView in Qt 13 2019-08-11 10:15:44 +02:00
Jeremy Douglass
6f2a4bf243 Add Up Down navigation to FlowView
Adds vertical navigation (up down) to FlowView. This corresponds visually to the File Name list display -- especially when the flow pane is hidden, pressing up-down is the intuitive way to navigate up-down in the list.
2019-05-30 18:15:33 +02:00
Felix Kauselmann
7bfb42be24 rating menu: Remove unneeded qml files 2018-08-11 11:34:12 +02:00
Felix Kauselmann
833e501d7c Remove redundant MenuBar in GridComicsView.qml to avoid crashes on macOS
This fix was originally proposed by @ShawnCarnell on YACReader's old
Bitbucket repository.
2018-08-11 11:31:13 +02:00
Felix Kauselmann
02eda8eeb5 Use QQuickWidget instead of QQuickView to avoid displacement bugs on Windows and Linux 2018-08-11 11:26:12 +02:00
Felix Kauselmann
d3b8f4d5b8 Normalize line endings for .qml files 2018-08-05 13:14:30 +02:00
toto
06246e34d3 ComicInfoView translation
Add translation to ComicInfoView.qml
2018-06-14 22:35:34 +02:00