Commit Graph

794 Commits

Author SHA1 Message Date
Luis Ángel San Martín
abfa03fa16 Use the new widget instead of EmptyFolderWidget 2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
d2dff7b4a5 Add new type of view to display the content of a folder that doesn't contain comics
It is a replacement for EmptyFolderWidget for now, but it should evolve to show comics and folders
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
f25524e64c Update the cover size when the grid comics view is shown
The size may have changed while it was away
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
2e16dec51a Update FolderModel to support new functionality 2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
0a00fd3020 Add a new type of role to ComicModel to display a title composed with the available info 2022-10-09 11:32:06 +02: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
Felix Kauselmann
99114b00e7 Qmake: Use lrelease to automate language file compilation 2022-10-08 19:19:50 +02:00
sabriunal
64d9c6ca3e Update Turkish translation 2022-10-08 01:47:58 +03: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
1596aa2347 Fix comic properties dialog sizing 2022-09-19 18:07:39 +02:00
Luis Ángel San Martín Rodríguez
4ef90ab660 Add some padding to the right of the search edit in macos 2022-09-17 09:45:54 +02:00
Luis Ángel San Martín
3260a15884 Add 2x versions of the icons used in the search bar in macos 2022-09-17 09:22:28 +02:00
Luis Ángel San Martín
98041fc641 Fix search icon background color (qt6) 2022-09-17 08:45:29 +02:00
Luis Ángel San Martín
50ca560f5a Fix folder selection on search mode 2022-09-17 08:33:06 +02:00
Luis Ángel San Martín
3bb8f88e3c Do not use the folders view select index workaround in Qt6 2022-09-16 20:27:57 +02:00
Luis Ángel San Martín
2de84f5780 Fix connection by registering the types used in the signal 2022-09-16 19:38:45 +02:00
Luis Ángel San Martín
aa44ad4143 Remove old code 2022-09-16 19:32:30 +02:00
Luis Ángel San Martín Rodríguez
e026f25617 QMacToolBar is not available in Qt6
This commit adds new qt pure versions of the mac toolbar to be used in qt6.
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín Rodríguez
450d3c18b2 Fix compile error on macos qt6 due to __OBJC_BOOL_IS_BOOL macro 2022-09-12 19:24:56 +02:00
Luis Ángel San Martín Rodríguez
3b01e993c0 macextras is not available in qt6 2022-09-12 19:24:56 +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
60e2255886 Fix infinite loop when propagateFolderUpdatesToParent is invoked using the root folder 2022-09-12 19:24:41 +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
aee337f776 Fix export/import comic tags
It should be ready to work as a backup system
2022-09-01 11:10:01 +02:00
Luis Ángel San Martín
243892f5d3 Remove debug output 2022-09-01 11:09:02 +02:00
Luis Ángel San Martín
0ee18b0aea Tag comics from ComicVine should be marked as edited 2022-09-01 11:08:50 +02:00
Luis Ángel San Martín
8a6ec5fcc6 Assign covers to folders from subfolders & comics
Before this commit folder with no direct comics (only subfolders) didn't have a cover image to be displayed. Now updating the children info  is done recursively and subfolders are taken into account.

This affects the iOS client remote browser so far, but it is also needed for the future browser update (display folders as a grid instead of using EmptyFolderWidget)
2022-08-31 18:58:25 +02:00
Luis Ángel San Martín
0fcf9d0cba Fix memory leak in LibraryCreator 2022-08-31 18:27:04 +02:00
Luis Ángel San Martín
b70556eb41 Fix emit syntax 2022-08-31 18:26:30 +02:00
Luis Ángel San Martín
36538abc18 Fix memory leaks 2022-08-31 18:26:14 +02:00
Luis Ángel San Martín
c9bb429ad6 Remove unused method 2022-08-31 16:13:28 +02:00
BEN ENGLISCH
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +02:00
Luis Ángel San Martín
a0dfa4e447 Limit max cover height
Otherwise we can end with huge cover files if the source content has abnormally tall covers. This large files could end exhausting RAM in the iOS client.
2022-08-29 20:04:00 +02:00
Luis Ángel San Martín
c37bc33161 Update properties dialog to be able to edit comics sequentially 2022-08-26 21:05:26 +02:00
Luis Ángel San Martín
769214fe5c Watch for potential empty proxy model 2022-08-21 08:59:53 +02:00
Luis Ángel San Martín
7df011e181 Add an edit for filtering series results returned by Comic Vine 2022-08-18 16:22:07 +02:00
Luis Ángel San Martín
8b4b586acc Show the automatic volume text that is going to be used in comic vine dialog
The user can chose to use it or edit it before starting the search.
2022-08-18 14:35:25 +02:00
Luis Ángel San Martín
160604040e Empty titles should be nulls in the db 2022-08-13 16:10:00 +02:00
Luis Ángel San Martín
59ff02631e Fix comic number missing from reading lists content provided through the server 2022-08-09 16:42:18 +02:00
tuwulin
788a3ef434 Update simplified Chinese.
Add traditional Chinese (Hong Kong, Taiwan).
2022-07-06 15:54:54 +02:00
Luis Ángel San Martín
4c54f2a07c Fix clicking on the folders treeview when it shown results from search
This was a bug introduced when support for folder navigation using the keyboard was added.
2022-03-28 22:32:52 +02:00
Luis Ángel San Martín
9e9f035f35 Use Qt::HighDpiScaleFactorRoundingPolicy::PassThrough
It will be the default in Qt6 and respecting the scale factor that the user sets is the right thing to do.
2022-03-12 11:51:29 +01: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
72670ea6c8 Move connections to happen later
Otherwise QQuickItem(s) don't work properly in Qt6. I couldn't find the root cause.
2022-01-19 21:13:53 +01:00
Luis Ángel San Martín
f48201fb91 Initialize fields to nullptr 2022-01-19 21:12:37 +01:00
Luis Ángel San Martín
2d741140e6 Add nullptr check 2022-01-19 21:12:26 +01:00
Luis Ángel San Martín
4bb227aff2 Fix trace message 2022-01-19 21:12:00 +01:00