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
Gary Wang
622938ac23
fix: always rotate according to current viewport state
2021-03-29 22:43:37 +08:00
Gary Wang
483bb07b09
chore: keep flipping state while rotation and etc.
2021-03-25 23:05:50 +08:00
Gary Wang
6a9e5e80d0
feat: basic image flip support
2021-03-19 23:13:22 +08:00
Gary Wang
b146150528
feat: Shift+Click to use color-inverted checkerboard
2021-03-01 00:44:50 +08:00
Gary Wang
9c460f2ede
chore: add webp to default image queue filter list
2021-02-26 00:57:12 +08:00
Gary Wang
858c9e0ccf
chore: add max zoom-in scale limit (1000x)
2021-02-18 20:03:23 +08:00
Gary Wang
2b4bbc91a7
fix: should now be able to show property dialog for all supported files
2021-02-09 14:19:09 +08:00
Gary Wang
a9ce8b0154
fix: add missing return for canPaste check
2021-01-24 00:47:42 +08:00
Gary Wang
1449844fdd
fix: avoid create menu actions everytime when trigger context menu.
...
fix the minor memory leak issue, also bring some possibility to
implement custom keybinding.
And oops I also did another feature in this commit..
Now we are able to set mouse wheel behavior in config dialog.
2021-01-24 00:07:58 +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