24a0b581f3
chore: drop Qt 5 support
...
The required exiv2 version is now 0.28.x as well since it was
keeped for Qt 5 build.
Due to exiv2ConfigVersion.cmake doesn't allow us write something
like find_package(exiv2 "0.28") to require version >= 0.28.0,
we simply don't put the required version number here for now.
2025-05-24 20:34:36 +08:00
1e3d68df1c
fix: disable resizing and moving in maximized or fullscreen window
2023-06-24 16:43:31 +08:00
6fc9534184
refactor(FramelessWindow): use Qt API for window resizing ( #81 )
...
No longer use Win32API for window resizing. This should work under all platforms that support window resizing.
2023-06-24 14:37:54 +08:00
a55e873c48
fix: window resizing not working under Qt 6
...
This is a workaround solution for QTBUG-112356. See the following
discussion for details. Thanks @yyc12345 from GitHub for finding
the cause of the issue.
Related: https://github.com/BLumia/pineapple-pictures/pull/81
2023-04-16 20:00:51 +08:00
Gary Wang
93d1ca928e
chore: allow Meta+Up to maximize under Windows with Qt 6
2022-06-25 23:52:35 +08:00
Gary Wang
814068fa34
chore: add license headers for REUSE license check
2022-06-19 16:17:47 +08:00
Gary Wang
a4416cd77c
chore: initial Qt6 build support
2021-10-02 19:58:13 +08:00
Gary Wang
7a69bb2fa2
partially revert 50170eb for the maximize shortcut on Windows
...
Since the workaround actually doesn't work, so we
remain the old behavior unchanged.
2021-02-19 19:22:50 +08:00
Gary Wang
50170eb4aa
feat: shortcuts for zoom in and out
...
This also fix maximize shortcut on Windows.
2021-02-19 00:04:15 +08:00
Gary Wang
9b1b125d01
fix: also move the windows include for windows build
2021-01-10 15:23:49 +08:00
Gary Wang
6d8f353602
fix: some clazy checks
2021-01-10 14:57:01 +08:00
Gary Wang
3abc16d3ff
chore: no longer based on QMainWindow
...
Since most of the features that QMainWindow offered will never be
used in this program. We don't need a statusbar, a menubar, etc.
2020-12-29 23:28:21 +08:00