Commit Graph

51 Commits

Author SHA1 Message Date
1c9f2133f6 Add a small dialog to show some info about a library 2024-11-26 17:44:24 +01:00
f9039c7a26 Add support for setting the content type to a whole library 2024-07-09 19:18:22 +02:00
58ec456fc7 Extract the library QActions to its own file 2024-06-23 19:02:13 +02:00
abdf5bda4f Show the current type as checked in the context menu 2024-01-19 16:43:37 +01:00
93a826f80a Setup LibrariesUpdateCoordinator 2023-08-13 11:57:40 +02:00
dd411db9ef Remove commented code 2023-08-13 10:05:09 +02:00
68ece533e1 Replace Q_OS_MAC with Q_OS_MACOS 2023-06-04 20:55:11 +02:00
7b88d47396 #include "yacreader_global.h" in Y_MAC_UI is used 2023-05-24 18:10:03 +02:00
315d2deced Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement 2023-05-23 18:51:33 +02:00
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
f2bf53ce5b Add new fields to the DB and make then available to be used in the apps 2023-05-12 16:59:23 +02:00
0f9d782bb8 Detect back/forward mouse buttons to move back and forward through the browsing history 2022-11-10 21:46:51 +01:00
ae990d82af Add a new action to scan the xml info from a folder 2022-10-29 11:07:57 +02:00
0cf40e06eb Add new action to delete all the metadata from the selected comics 2022-10-24 18:58:18 +02:00
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
e7b6f46cd3 Update the UI when a comic is updated using the http api 2022-10-15 11:42:46 +02:00
a4a2b3ce6c Rename method 2022-10-14 20:59:43 +02:00
59639ad68c Rename instance name to match class name 2022-10-13 23:23:18 +02:00
7317467a13 Rename class 2022-10-13 21:11:13 +02:00
abfa03fa16 Use the new widget instead of EmptyFolderWidget 2022-10-09 11:32:06 +02:00
d8f224645d Remove YACReader::SearchModifiers
They are no longer used
2021-12-29 14:58:03 +01:00
40ca07f8f8 Extract YACReaderNavigationController::exitSearchMode() 2021-12-29 11:01:35 +01:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
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
91c9375dc1 Fix opening a comic from the current/next comic banner in the grid view 2021-06-19 07:24:29 +02:00
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
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
e2483217d9 Configure OpenGL settings earlier to avoid wrong state in the options dialog 2021-05-16 09:37:05 +02:00
84c43e456e Merge pull request #209 from vedgy/add-focus-shortcuts
Add focus shortcuts
2021-03-13 17:09:46 +01:00
8a54100804 Library: allow configuring a shortcut to focus comics view
Focusing the current comics view allows to use keyboard arrow keys to
choose among the visible comics.

The shortcut for this new action should not be a single character
without modifiers because it won't work when the search line has focus.

The Qt::FocusReason parameter in ComicsView::focusComicsNavigation()
allows to reuse this function for other keyboard navigation features.
For instance the search line can transfer focus to comics navigation
when the user presses Return or Enter key. In this case
Qt::OtherFocusReason can be used (an application-specific reason).
2021-03-13 15:08:33 +02:00
81e40dabec Library: add a shortcut to focus search line
The Ctrl+F shortcut gives focus to a search bar in many applications.
In this case it allows to search the library without touching a mouse.

YACReaderMacOSXSearchLineEdit::setFocus() will have to be implemented to
make the shortcut work on macOS.
2021-03-13 14:59:29 +02:00
12c2ff027a ComicQueryResultProcessor: fix a typo in the class name 2021-02-06 20:08:44 +02:00
64d0e22fb5 Library: don't leak folderQueryResultProcessor at exit
FolderQueryResultProcessor has a ConcurrentQueue data member. The leak
meant that the thread was not joined before exit.
2021-02-04 17:58:33 +02:00
58fdf0af23 Add what's new dialog 2021-01-21 21:39:22 +01:00
6461a4014e Add actions for setting folders as manga/normal 2021-01-16 18:31:48 +01:00
97c7723b17 Add support for setting issues as manga/normal in the comics view 2021-01-16 14:25:47 +01:00
5343d24f26 Run folder search filtering in the background
It uses the same approach used by the comics search filter
2021-01-14 11:37:17 +01:00
ccc382df7d Use ComicQueryResultProcesor 2021-01-14 09:17:18 +01:00
ef8216b338 Make closeApp work with no event
And exit using QApplication.exit so we don't mess with window events to exit the app
2019-09-21 12:11:03 +02:00
8e99d9e59f Extract the system tray functionality to its own class
LibraryWindow is already a monster, so we'll try to not make it bigger.
2019-09-21 10:47:01 +02:00
e587f59ddb Add support for minimize and start to tray. 2019-09-19 20:22:14 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
6faea2b5a7 Disabled minimize to system tray for now.
App icon needs some work to look ok in Windows 10 system tray and macos is not ready yet to fully support this.
2018-05-23 17:24:04 +02:00
f6d389ff35 Add current/next comic view to GridView. 2018-04-23 19:22:51 +02:00
b41884d5db Merge 2018-04-14 10:24:19 +02:00
049081960f Run the library upgrade in background. 2018-03-12 21:22:00 +01:00
827a76413b Sanitize YACReader launch code 2018-03-11 20:13:19 +01:00
4f779f7e22 yacreaderlibrary_ru.ts
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00:00
1815ba64a1 YACReaderLibrary: Add a tray icon 2018-02-17 13:40:04 +01:00