Commit Graph

64 Commits

Author SHA1 Message Date
23rd 9dacf69d41 Fixed line drawing on mode switching in photo editor. 2021-07-06 12:13:06 +03:00
23rd a91efd9164 Fixed ability to draw blank lines in photo editor. 2021-07-06 12:13:06 +03:00
23rd a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd 7bcb1fc8b2 Fixed borders of drawn lines in photo editor. 2021-07-06 12:13:06 +03:00
23rd 96b40f43e9 Added ability to drag and drop images in photo editor. 2021-07-06 12:13:06 +03:00
23rd a93ec9c2c2 Added Escape hotkey to clear selection in photo editor. 2021-07-06 12:13:06 +03:00
23rd 3ee3919d50 Added hotkeys for switching between modes in photo editor. 2021-07-06 12:13:06 +03:00
23rd b4410c49b9 Added background color in photo editor. 2021-07-06 12:13:06 +03:00
23rd 82bf6ca94f Fixed display of sticker panel on mode change in photo editor. 2021-07-06 12:13:06 +03:00
23rd 785ebfee34 Added animation to button bars in photo editor. 2021-07-06 12:13:06 +03:00
23rd a60f8d75a0 Added second button bar for paint mode in photo editor. 2021-07-06 12:13:06 +03:00
23rd 5976a7ed19 Moved edge buttons to bar in photo editor. 2021-07-06 12:13:06 +03:00
23rd df7026b59c Made alignment to bottom for button strip in photo editor. 2021-07-06 12:13:06 +03:00
23rd e926e5f882 Slightly improved style of controls in photo editor. 2021-07-06 12:13:06 +03:00
23rd 2a86ce596d Added shortcuts for actions of items in photo editor. 2021-07-06 12:13:06 +03:00
23rd f936e484cc Removed unused types from scene items. 2021-07-06 12:13:05 +03:00
23rd 1cdb83462e Added initial implementation of masks panel. 2021-07-06 12:13:05 +03:00
23rd d9a29b6f15 Fixed item pen width in big images. 2021-07-06 12:13:05 +03:00
23rd 1504f92a64 Fixed size limits of item on big images. 2021-07-06 12:13:05 +03:00
23rd 36e5056b59 Fixed selection of items on mode switching. 2021-07-06 12:13:05 +03:00
23rd c5c707f0fd Fixed independence of item and scene transforms when adding. 2021-07-06 12:13:05 +03:00
23rd 832dd8d50c Moved some photo editor files to separate directories. 2021-07-06 12:13:05 +03:00
23rd 049945a9b9 Added ability to duplicate items in photo editor. 2021-07-06 12:13:05 +03:00
23rd 808c9e3d2c Added ability to flip items in photo editor. 2021-07-06 12:13:05 +03:00
23rd fde7cef9c8 Removed using of raw pointers for QGraphicsItem in photo editor.
Now all items are wrapped in the shared_ptr,
and the Scene loses ownership of all items before being destroyed.
2021-07-06 12:13:05 +03:00
23rd 2791f89f30 Added initial context menu to items in photo editor. 2021-07-06 12:13:05 +03:00
23rd 858b5831e8 Fixed clearing of redo list after adding sticker item in photo editor. 2021-07-06 12:13:05 +03:00
23rd 9166423598 Fixed multi selection of items in photo editor. 2021-07-06 12:13:05 +03:00
23rd 184d984336 Added ability to snap rotation of items with Shift key in photo editor. 2021-07-06 12:13:05 +03:00
23rd 0b5044f064 Fixed size of handles of base item in photo editor. 2021-07-06 12:13:05 +03:00
23rd 274b66f74b Added ability to create items in photo editor with different ratios. 2021-07-06 12:13:05 +03:00
23rd e05343d721 Added sending info of stickered photos. 2021-07-06 12:13:05 +03:00
23rd a6904be81d Slightly optimized mouse painting in photo editor. 2021-07-06 12:13:05 +03:00
23rd 690a7d1608 Fixed undo and redo paint actions. 2021-07-06 12:13:05 +03:00
23rd a3e54fcd7c Moved draft painting in photo editor to separate files. 2021-07-06 12:13:05 +03:00
23rd 23c67bb2a2 Added ability to add stickers to photo in photo editor. 2021-07-06 12:13:05 +03:00
23rd 75367f0488 Added sticker panel to photo editor. 2021-07-06 12:13:05 +03:00
23rd 216ffad80e Added container of controllers for photo editor. 2021-07-06 12:13:05 +03:00
23rd c312607ff8 Added stickers panel controller for photo editor. 2021-07-06 12:13:05 +03:00
23rd 812d616f66 Added scene base item for photo editor. 2021-07-06 12:13:05 +03:00
23rd 183408cb2d Added button highlighting for flipped image to photo editor. 2021-07-06 12:13:05 +03:00
23rd 1a7d5b7c95 Removed unused photo crop box. 2021-07-06 12:13:05 +03:00
23rd 17465e1082 Replaced old photo crop box with photo editor for profile photos. 2021-07-06 12:13:05 +03:00
23rd a996b14291 Fixed keeping of aspect ratio in crop widget. 2021-07-06 12:13:05 +03:00
23rd 2045252cfd Added ability to pass data for photo editor. 2021-07-06 12:13:05 +03:00
23rd d1b6cf1fae Added draft menu to EditCaptionBox to open photo editor. 2021-07-06 12:13:05 +03:00
23rd 671a06c407 Replaced using of QPixmap in photo editor with Image. 2021-07-06 12:13:05 +03:00
23rd 09768ce28a Refactored crop widget in photo editor. 2021-07-06 12:13:05 +03:00
23rd c9affe0da5 Added custom layer widget with photo editor. 2021-07-06 12:13:05 +03:00
23rd e322733e20 Added saving of color and size of brush from photo editor to settings. 2021-07-06 12:13:05 +03:00