Commit Graph

23 Commits

Author SHA1 Message Date
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 Rodríguez
7b88d47396 #include "yacreader_global.h" in Y_MAC_UI is used 2023-05-24 18:10:03 +02:00
Luis Ángel San Martín
315d2deced Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement 2023-05-23 18:51:33 +02: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
Luis Ángel San Martín
1b54a407b8 Move common initialization code to the parent class 2022-01-19 19:16:27 +01:00
Luis Ángel San Martín
ab927d791b Avoid code duplication 2022-01-19 18:30:38 +01:00
Luis Ángel San Martín
f3e08a04d7 Add some initial values for context variables 2022-01-19 18:17:53 +01:00
Luis Ángel San Martín
2ae9b83bbf Make sure that opengl is used
QQuickWidget requires opengl.
2022-01-19 18:15:36 +01:00
Luis Ángel San Martín
e80f5a9f64 Move common initialization to the parent class 2022-01-19 18:12:40 +01:00
Luis Ángel San Martín
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
Felix Kauselmann
79d004c42b ComicViews: Convert to new syntax, add clazy exception for QML signals 2021-06-29 13:53:12 +02:00
Igor Kushnir
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
Luis Ángel San Martín
bb334cfd50 Use auto to avoid duplicating the type name 2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +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
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
66d1bd1046 Merge branch 'server_2.0' into develop 2018-05-22 18:10:24 +02:00
Felix Kauselmann
15e5618454 Add a simple qml error logger to YACReaderLibrary 2018-05-21 15:16:20 +02:00
Luis Ángel San Martín
f6d389ff35 Add current/next comic view to GridView. 2018-04-23 19:22:51 +02:00
Felix Kauselmann
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00