1
0

12 Commits

Author SHA1 Message Date
184209ece5 feat: modify pienapple-picture with my remix
- change UI layout to make it looks like the default style of Windows image browser.
- update icons to material design icon for better looks. add lost icons for those new added button at the bottom bar.
- restore window style to normal. remove borderless style.
- delete X button at the right-top corner. disable feature that drag window to move, because all functions provided by native window are restored.
- move prev next image button to the center of bottom bar.
- move navigator view to the right-bottom corner so that it will not overlay on the shown image.
- remove all animation effect, including alpha transition, fade out when exiting and etc.
- delete function that double click windows to exit. now double clicking windows will do nothing. change default value of double click behavior to do nothing.
- change default value of stay on top to false because stay on top is not the default behavior of Windows image browser.
2025-05-02 10:36:56 +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