Commit Graph

64 Commits

Author SHA1 Message Date
6d7d0e4e1d chore(macOS): change close-window behavior
On macOS, now closing the window will actually hide the window
instead of quit the application, thus it will match to some other
macOS application's behavior.

Additionally, since our binary is not signed, this could avoid
seeing the request permission dialogs everytime user attempts to
open an image file inside a private place (e.g. places like the
"Downloads" folder and "access data from other apps").
2025-01-03 18:57:25 +08:00
101f111209 refactor: move file open event handling to standalone file 2024-12-31 10:57:21 +08:00
57354fc135 fix(macOS): should adjust window size when set as default viewer 2024-12-23 00:42:55 +08:00
5a34441c72
feat: option to double-click to fullscreen
Resolve: BLumia/pineapple-pictures#129
2024-12-15 19:12:38 +08:00
64c4d2e064 feat(macOS): support file open event for association 2024-12-03 23:37:53 +08:00
42e3d4c691
feat: animation pause and manually step to next frame
Resolve: https://github.com/BLumia/pineapple-pictures/issues/85
2024-11-06 20:28:39 +08:00
3eade9c3cf
feat: support custom shortcut for existing actions
Resolve https://github.com/BLumia/pineapple-pictures/issues/128

Actually also https://github.com/BLumia/pineapple-pictures/issues/72
but not sure why that one is now a 404 page.
2024-10-29 23:28:27 +08:00
2bca7bd691
fix: move to trash not reload current item 2024-07-31 20:21:10 +08:00
c2226ef5c7
chore: update translation strings 2024-07-31 19:41:51 +08:00
3596f9eac4 fix: window title not updated in some cases 2024-07-30 23:25:34 +08:00
a6e31a2c4d
feat: cli argument to list supported image formats 2024-07-28 16:16:20 +08:00
f32cb998ae
fix: crash caused by urlByIndex() with invalid model index
Also save a QVariant convert for QUrl
2024-07-21 00:52:32 +08:00
eb2e2e93f9
refactor(playlist): playlist itself as model
This could make state management easier, and also make it reusable
just in case we need to attach the playlist to a view.
2024-07-20 23:18:42 +08:00
4a095a0cfd
chore: add jfif to supported formats 2024-07-20 13:53:29 +08:00
zhongyic00
d01297043e fix: playlist filter should consider plugins
setAutoLoadFilterSuffix with formats dynammically got from QImageReader, fix https://github.com/BLumia/pineapple-pictures/issues/120
2024-07-20 13:36:03 +08:00
a83cc61148
fix: incorrect header include position 2024-04-19 00:48:28 +08:00
e0fda8f3b0
feat: support move image file to trash
Resolve: BLumia/pineapple-pictures#42
2024-04-15 01:16:00 +08:00
6145925283
feat: add some icons for corresponding menu actions 2024-04-03 19:56:46 +08:00
6e5bde68d8
feat: add "Keep transformation" to menu
This could be helpful when viewing a gallery with similar size, which
need to apply same transformation to the view. E.g. When viewing a batch
of pixel image sprite assets, the view might need to be zoomed to clearly
view the detail of the image.

Other use-case can be seen at the linked issue below.

https://github.com/BLumia/pineapple-pictures/issues/87
https://github.com/BLumia/pineapple-pictures/issues/89
2023-10-15 17:12:46 +08:00
d4ded92734
feat: add option to avoid reset transform when switching between images
It's not enabled for now so it's not available to end-users.
2023-07-09 15:40:15 +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
6f28878837
feat: add tif and tiff to auto load suffix list
Issue: https://github.com/BLumia/pineapple-pictures/issues/88
2023-06-19 00:12:22 +08:00
a29a1806a3
chore: avoid using deprecated function in qt6 builds 2023-06-06 00:15:43 +08:00
6a992f4c1f
feat: able to show file name in window title 2023-05-29 23:59:45 +08:00
5aeb0f821f
chore!: drop Qt version lower than 5.15.2 2023-05-21 00:36:24 +08:00
Gary Wang
d1fbf64011
fix: proper check for filemanager1 dbus 2022-11-01 20:58:48 +08:00
Gary Wang
51e49ab8a8
chore: add fallback in case filemanager1 dbus failed 2022-10-30 12:01:58 +08:00
Gary Wang
de394389e9
fix: select item no longer work via filemanager1 dbus 2022-10-30 01:55:45 +08:00
Gary Wang
b83de962cb
feat: open folder will also select file on linux 2022-10-29 23:35:30 +08:00
Chris Xiong
cc7d58d4ec fix: proper svg icon rendering on hidpi screen. 2022-09-29 19:06:51 +08:00
Gary Wang
814068fa34
chore: add license headers for REUSE license check 2022-06-19 16:17:47 +08:00
Gary Wang
75da5e8ca5
chore: use const reference for a lambda slot 2022-06-04 17:09:12 +08:00
Gary Wang
c9dadcbcad
refactor: use QMetaEnum 2022-03-12 10:35:23 +08:00
Gary Wang
432266a6f0 feat: option for set window startup size 2022-03-11 16:22:44 +08:00
Gary Wang
9e1b10831a feat: open containing folder 2022-02-01 17:19:36 +08:00
Gary Wang
c6b78597e8 shortcuts: left/right for prev/next image, hide open action from menu 2021-12-17 13:36:20 +08:00
Gary Wang
f202bb58f4 feat: new action for open a dialog to select image files 2021-11-25 22:54:37 +08:00
Gary Wang
3f327f94dc fix: mouse back should show previous image 2021-10-08 22:24:55 +08:00
Gary Wang
7a1816cbac fix: do mouse gallery navigation on btn release 2021-10-08 19:31:19 +08:00
Gary Wang
3a442b35f6 feat: support forward/back button on mouse for image navigation 2021-10-08 14:06:18 +08:00
Gary Wang
a4416cd77c chore: initial Qt6 build support 2021-10-02 19:58:13 +08:00
Gary Wang
fcd5e2cb84 fix: disable auto fit after clicking actual size button 2021-08-04 19:30:12 +08:00
Gary Wang
7d2816e544 chore: hide two actions that not ready to be in release 2021-07-10 17:07:35 +08:00
Gary Wang
c9e3274188 chore: use QToolButton instead of QPushButton for bottom bar 2021-07-02 00:06:23 +08:00
Gary Wang
e20562cf16 fix: prev and next arrow not vertically centered in some case 2021-07-01 22:43:11 +08:00
Gary Wang
4c07a89ca3 chore: tweak fit-in-view menu action behavior 2021-06-07 14:16:42 +08:00
Gary Wang
635199b85b feat: add fit-in-view action 2021-06-04 13:53:47 +08:00
Gary Wang
71e8df3107 fix: memory leak when switching between animated image files 2021-05-21 00:06:37 +08:00
Gary Wang
038d04b3da feat: fit by width
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
2021-05-14 00:10:08 +08:00