Commit Graph

102 Commits

Author SHA1 Message Date
Luis Ángel San Martín
0556276374 Implement comics metadata deletion 2022-10-24 19:00:21 +02:00
Luis Ángel San Martín
0cf40e06eb Add new action to delete all the metadata from the selected comics 2022-10-24 18:58:18 +02:00
Luis Ángel San Martín
21461ce8a0 Update context menu(s) icons to svg 2022-10-23 14:36:11 +02:00
Luis Ángel San Martín
31c4ae6561 More left side bar png to svg assets conversion 2022-10-23 10:43:37 +02:00
Luis Ángel San Martín
c7a1a73432 Convert more icons to SVG 2022-10-22 16:26:10 +02:00
Luis Ángel San Martín
75c08885be Replace more icons with svg 2022-10-22 11:40:49 +02:00
Luis Ángel San Martín
4c66b8ecad Use SVG icons in YACReader's toolbar (windows/linux) and in shortcuts dialog 2022-10-20 17:51:22 +02:00
Luis Ángel San Martín
ebcb3d8a91 Implement LibraryWindow::showContinueReadingContextMenu 2022-10-17 21:17:04 +02:00
Luis Ángel San Martín
60c650d820 Remove TODO 2022-10-17 20:51:05 +02:00
Luis Ángel San Martín
569a699c1d Typo 2022-10-15 13:55:37 +02:00
Luis Ángel San Martín
e8f31b39ee Update the current comic model when the server gets a syn request
Sadly the grid view resets its scroll to origin. Not sure if it is going to bother anyone, we'll see.
2022-10-15 12:53:02 +02:00
Luis Ángel San Martín
928afa4675 Wrap functionality 2022-10-15 12:46:17 +02:00
Luis Ángel San Martín
2093c072b6 Remove commented code 2022-10-15 12:34:56 +02:00
Luis Ángel San Martín
75b2daac76 Fix call to renamed method 2022-10-15 12:34:23 +02:00
Luis Ángel San Martín
d8a35d767c Update the UI when a client synchronizes back the libraries
Only the top banners for now. 

TODO: ComicModel should also be updated.
2022-10-15 11:52:34 +02:00
Luis Ángel San Martín
e7b6f46cd3 Update the UI when a comic is updated using the http api 2022-10-15 11:42:46 +02:00
Luis Ángel San Martín
a4a2b3ce6c Rename method 2022-10-14 20:59:43 +02:00
Luis Ángel San Martín
f4656ad210 Update if needed the continue reading list whenever we get an update about a comic 2022-10-14 20:56:03 +02:00
Luis Ángel San Martín
f1dd6d339d Fix comicsViewsManager -> contentViewsManager renaming 2022-10-14 13:11:59 +02:00
Luis Ángel San Martín
374758fd41 Move header and declaration to the top of the file 2022-10-13 23:34:08 +02:00
Luis Ángel San Martín
05a3172012 Rename s to httpServer 2022-10-13 23:30:04 +02:00
Luis Ángel San Martín
be0c0ff341 Rename Startup class to YACReaderHttpServer 2022-10-13 23:24:35 +02:00
Luis Ángel San Martín
59639ad68c Rename instance name to match class name 2022-10-13 23:23:18 +02:00
Luis Ángel San Martín
7317467a13 Rename class 2022-10-13 21:11:13 +02:00
Luis Ángel San Martín
00f7d92c9a Make sure that the changes made to folders are propagated to the subfolder model in FolderContentView 2022-10-13 19:28:55 +02:00
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
2de84f5780 Fix connection by registering the types used in the signal 2022-09-16 19:38:45 +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
c37bc33161 Update properties dialog to be able to edit comics sequentially 2022-08-26 21:05:26 +02:00
Luis Ángel San Martín
77c96de0ea Remove unused resources 2022-01-15 15:51:59 +01:00
Luis Ángel San Martín
d8f224645d Remove YACReader::SearchModifiers
They are no longer used
2021-12-29 14:58:03 +01:00
Igor Kushnir
ea2c90011a Library: exit search mode before creating a folder
Creating a folder in search mode selects it and makes the UI look
half-way between Normal and Searching navigation statuses.

An alternative fix is to disable addFolderAction in search mode. But
this is more difficult to implement and inconsistent with the other
always-enabled folder and reading list actions.
2021-12-29 11:02:01 +01:00
Igor Kushnir
40ca07f8f8 Extract YACReaderNavigationController::exitSearchMode() 2021-12-29 11:01:35 +01:00
Luis Ángel San Martín
c5d3ebebc8 Remove commented code 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
86a31c0ea5 Use QRegularExpression 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2c0dccd764 Use constructor explicitly 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
47e7eb3801 Remove unused includes 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
8173f9f94c Use setContentsMargins instead of setMargin 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
def1cd56d0 Fix macos build 2021-09-27 17:45:29 +02:00
Luis Ángel San Martín
b4c90a8920 Add support for scanning xml info from the libraries context menu
This will let people to rescan their existing libraries.
2021-09-27 15:40:48 +02:00
Felix Kauselmann
f1e4396dc5 YACReaderLibrary: Convert a bunch of widgets/dialogs to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
485ce1c9d8 Convert Mac toolbar to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
Luis Ángel San Martín
85677afc7b
Merge pull request #203 from vedgy/fix-library-crash-at-exit-after-deletion
Library: don't crash at exit after a folder or a comic is deleted
2021-06-19 18:13:51 +02:00
Luis Ángel San Martín
91c9375dc1 Fix opening a comic from the current/next comic banner in the grid view 2021-06-19 07:24:29 +02:00
Igor Kushnir
2acfbbfac7 Library: add Quit shortcut
The Ctrl+Q shortcut is assigned to Quit action in most applications on
GNU/Linux. Command+Q is used on macOS. The added shortcut should be
automatically mapped to Command+Q on macOS judging by the following
quote from QKeySequence class documentation:
Note: On macOS, references to "Ctrl", Qt::CTRL, Qt::Key_Control and
Qt::ControlModifier correspond to the Command keys on the Macintosh
keyboard

QKeySequence::Quit could be used as the default key sequence in place of
`Qt::CTRL | Qt::Key_Q`. This would leave the shortcut unassigned by
default on Windows. But YACReader doesn't use QKeySequence::StandardKey
anywhere, so perhaps this shortcut should be hard-coded too.

The shortcut is particularly useful when Close to tray option is
enabled, because in this case closing the Library window with a system
window manager shortcut simply hides it.
2021-05-28 19:34:24 +02:00
Luis Ángel San Martín
945b24a8f8 Extract opening a comic from YACReaderLibrary to its own file
And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
2021-05-27 18:48:52 +02:00
Luis Ángel San Martín
e2483217d9 Configure OpenGL settings earlier to avoid wrong state in the options dialog 2021-05-16 09:37:05 +02:00
Luis Ángel San Martín
13d0f5fc75 Do not show the what's new dialog when there are no libraries
No libraries probably means fresh installation.
2021-05-16 09:21:42 +02:00