Commit Graph

74 Commits

Author SHA1 Message Date
23rd
cf948c50ef [img-editor] Fixed drag and drop over graphics view in paint widget. 2026-09-06 16:11:35 +03:00
23rd
4ada83fbb6 [img-editor] Added persistence of last used text settings. 2026-09-03 22:02:09 +03:00
23rd
3b8d13b88d [img-editor] Added alignment choice to text tool. 2026-09-03 22:02:09 +03:00
23rd
eff36df1cf [img-editor] Added typeface choice to text tool. 2026-09-03 22:02:09 +03:00
23rd
6776d68c4f [img-editor] Added baking of text scale after canvas item zoom. 2026-09-03 22:02:09 +03:00
23rd
2978ef4839 [img-editor] Moved text style enum to photo_editor_inner_common. 2026-09-03 22:02:09 +03:00
23rd
b53a9d1525 [img-editor] Fixed mirrored text items on flipped photos.
Related commit: 0b70be9a9b.
2026-09-03 22:02:08 +03:00
23rd
1ef0476230 Added release of sticker players for hidden editor items. 2026-08-17 08:33:44 +03:00
23rd
768cf7cd39 [img-editor] Fixed invalid shape geometry for tiny images. 2026-07-31 18:01:35 +03:00
23rd
354bf62115 [img-editor] Added geometric shapes to paint mode. 2026-07-28 09:53:53 +03:00
John Preston
e4cde250df Fix build with Qt 5. 2026-06-24 15:09:52 +04:00
23rd
5ba77ac708 [img-editor] Added pinch zoom gesture support. 2026-06-23 22:59:58 +03:00
23rd
35fa80d446 [img-editor] Fixed crash when closing editor with active text tool. 2026-04-28 18:16:19 +07:00
23rd
812eddb807 [img-editor] Fixed text orientation after rotating media. 2026-04-28 18:16:19 +07:00
23rd
640d1f459b [img-editor] Fixed wheel delta with pressed Shift while zoom canvas. 2026-04-20 16:32:45 +03:00
23rd
d7cfa68a3f [img-editor] Added wheel zoom and middle-button panning for scene items. 2026-04-20 13:55:23 +03:00
23rd
f94ec5a8a9 [img-editor] Added text editing state flow to keep palette consistent. 2026-04-20 12:54:18 +03:00
23rd
3ec1ff8c7e [img-editor] Synced palette color and tool selection with text focus. 2026-04-20 12:54:18 +03:00
23rd
631fe4f362 [img-editor] Improved color handling in text items. 2026-04-20 12:54:18 +03:00
23rd
0b70be9a9b [img-editor] Added styled text items. 2026-04-20 12:54:17 +03:00
23rd
90ec66c34c [img-editor] Added simple implementations of blur brush. 2026-04-03 12:59:54 +03:00
23rd
91df896f8e [img-editor] Refined eraser brush algorithm. 2026-03-12 12:59:49 +04:00
23rd
537375b92b [img-editor] Added simple modes of brush for arrow / marker / eraser. 2026-03-12 12:59:49 +04:00
23rd
c4847e752c [img-editor] Expanded paint canvas to fill editor window during zoom. 2026-03-12 12:59:49 +04:00
23rd
00ef43657e [img-editor] Fixed crash on close by detaching viewport event filter. 2026-03-12 12:59:49 +04:00
23rd
7c5475e62a [img-editor] Added wheel zoom and middle-button pan for paint canvas. 2026-03-12 12:59:49 +04:00
23rd
eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston
03df5b8546 rpl::type_erased() -> rpl::type_erased. 2025-12-10 14:27:05 +04:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
John Preston
ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +04:00
23rd
a3a48a38c8 Replaced callback for box showing with dedicated class in photo editor. 2022-12-26 14:24:07 +04:00
Ilya Fedin
e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
Ilya Fedin
387914be31 Replace style sheet in Editor::Paint 2022-05-02 16:01:36 +04:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd
6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd
6b93d8dc41 Refactored and fixed saving scene states between modes in photo editor. 2021-07-09 12:49:07 +03:00
23rd
1e3044fbf4 Moved performing of Undo/Redo from Editor::Paint to Editor::Scene. 2021-07-09 12:49:07 +03:00
23rd
aef2148ed0 Moved hasUndo and hasRedo from Editor::Paint to Editor::Scene. 2021-07-09 12:49:07 +03:00
23rd
6acd9f18ad Replaced interaction with QGraphicsItem to Editor::NumberedItem. 2021-07-09 12:49:07 +03:00
23rd
78b25c694e Added ability to save and restore items state in photo editor. 2021-07-09 12:49:07 +03:00
23rd
fe8eae09c4 Fixed item handlers size when opening photo editor with modified scene. 2021-07-09 12:49:07 +03:00
23rd
5bbf3a329d Fixed items order when opening photo editor with modified scene. 2021-07-09 12:49:07 +03:00
23rd
8ddbf08a97 Changed max and min sizes of scene items from pixels to ratio. 2021-07-09 12:49:06 +03:00
23rd
d69090bf34 Moved flip and rotation info to Editor::ItemBase struct. 2021-07-09 12:49:06 +03:00
23rd
0c50fbf1b9 Moved Editor::ItemBase arguments to struct. 2021-07-09 12:49:06 +03:00
John Preston
d5a416d5ea Beta version 2.8.6: Fix build for macOS. 2021-07-06 20:25:46 +03:00
23rd
953fa52490 Fixed updating of undo state on deleting item in photo editor. 2021-07-06 14:15:07 +03:00