Rebecca Breu
a9d360dcb4
Action for toggling scrollbars
2021-04-17 23:59:59 +02:00
Rebecca Breu
a358d86620
Add unit test for help dialog
2021-04-17 20:16:14 +02:00
Rebecca Breu
7ab442f6b5
Add Select All/Deselect All
2021-04-17 13:01:15 +02:00
Rebecca Breu
6f77c43d76
Add actions for undoing transformations
2021-04-16 22:28:13 +02:00
Rebecca Breu
eb41300172
Fix fit item when multi selection active
2021-04-15 20:51:43 +02:00
Rebecca Breu
4d64a7422f
Re-implemend itemsBoundingRect to not include selection handles
2021-04-15 18:21:21 +02:00
Rebecca Breu
ea833d830a
Fix fit view issues; enable zoom anchor
2021-04-14 21:04:40 +02:00
Rebecca Breu
90067f96ab
Add Fit Scene, Fit Selection and Fit Image (via doubleclick)
2021-04-14 13:26:35 +02:00
Rebecca Breu
e88bdb5910
Add basic unittests for __main__
2021-04-13 17:39:38 +02:00
Rebecca Breu
d2c26d98d6
Move file IO to dedicated thread
2021-04-13 17:08:23 +02:00
Rebecca Breu
a907343d04
Reset view when no items; ignore pan and zoom when no items
2021-04-11 20:26:32 +02:00
Rebecca Breu
8ee5e1db68
Add 'New Scene' action
2021-04-11 20:04:08 +02:00
Rebecca Breu
27813f5bd8
Add Flip action to menu
2021-04-11 17:25:56 +02:00
Rebecca Breu
0d4b5da84b
Refactor creation of menu and actions
2021-04-11 11:36:49 +02:00
Rebecca Breu
4e31ec8bac
Add flip
2021-04-10 19:35:47 +02:00
Rebecca Breu
cc54698baa
Prevent infinite event loop for multi selection
2021-04-06 18:15:33 +02:00
Rebecca Breu
b98e455272
More unittests for the view
2021-04-06 17:34:55 +02:00
Rebecca Breu
55819bf4c4
Add snapping for rotating
2021-04-06 16:19:02 +02:00
Rebecca Breu
be9adfdf4c
Fix unittests
2021-04-06 15:27:55 +02:00
Rebecca Breu
b7a9ab01ba
Normalize actions scale around image centers
2021-04-06 15:16:16 +02:00
Rebecca Breu
5fd18253e1
Unit tests
2021-04-06 14:37:48 +02:00
Rebecca Breu
46768dce24
Minor refactoring of BeePixmapItem.set_pos_center
2021-04-06 11:27:59 +02:00
Rebecca Breu
829d0d19fc
Fix scale handle cursor shapes for rotated items
2021-04-06 11:23:42 +02:00
Rebecca Breu
a34231cd7d
Fix scaling for rotated items
2021-04-06 10:13:25 +02:00
Rebecca Breu
2d3e6613bf
Small enhancements around rotating
2021-04-05 19:34:26 +02:00
Rebecca Breu
d58b46b08f
Add rotation
2021-04-05 19:07:31 +02:00
Rebecca Breu
8204d3141f
Add rotate cursor
2021-04-05 14:45:18 +02:00
Rebecca Breu
1ff957bca4
Add hover areas for rotating items
2021-04-04 22:10:07 +02:00
Rebecca Breu
476c061071
Minor fixes for rubberband selection
...
Changed item shape so that it doesn't include handles during multi selection. This gives a more accurate behaviour for getting items out of the rubberband selection (except for the last remaining item, oh well).
2021-04-04 16:23:56 +02:00
Rebecca Breu
37a01f80a2
Add rubberband selection.
...
There's a slight inaccuracy when getting an already selected item outside of the rubberband: the additional margin of the selection handles needs to be outside of the rubberband too (since it's part of the item's bounding box), making it slightly harder to get an item out of the selection than it should be.
Let's see if it's very noticeable/annoying in practice.
2021-04-04 12:15:23 +02:00
Rebecca Breu
5c4b23518e
Minor refactoring (use QPointF everywhere instead of tuples)
2021-04-03 17:08:52 +02:00
Rebecca Breu
165283d56c
Unittests for multi selections
2021-04-03 16:53:19 +02:00
Rebecca Breu
511848146e
Add scaling for multiple items at once
2021-04-02 21:43:43 +02:00
Rebecca Breu
5be88649f6
Make commandline file unittest more stable
2021-04-01 22:20:13 +02:00
Rebecca Breu
fea8d38d95
Add commandline options for loglevel and debug shapes
2021-04-01 22:02:16 +02:00
Rebecca Breu
7bb8cd200d
Add scaling handles for all corners
2021-04-01 20:08:19 +02:00
Rebecca Breu
e9444dd8e3
Fix issues around selecting/deselecting (segfaults and hangs)
2021-03-31 21:26:02 +02:00
Rebecca Breu
aff745d27f
Bring newly inserted items to front
2021-03-31 09:47:24 +02:00
Rebecca Breu
751aebe26e
Bring selected item to front; load/save z values
2021-03-30 20:51:58 +02:00
Rebecca Breu
0db0ef45ea
Unit tests for resize calculations
2021-03-30 19:04:44 +02:00
Rebecca Breu
af5aa5e87a
Rework selection code part 2
2021-03-29 18:22:45 +02:00
Rebecca Breu
667239b8b6
Rework selection code part 1
2021-03-29 13:56:47 +02:00
Rebecca Breu
eea5adb416
Remove unneeded attribute scale_factor
2021-03-28 22:45:16 +02:00
Rebecca Breu
a8cdd79ab9
Progress Dialogs for loading and saving
2021-03-28 20:32:33 +02:00
Rebecca Breu
8d7460de61
Enhanced unittests
2021-03-28 11:06:04 +02:00
Rebecca Breu
aa75b30094
Error handling for reading/writing bee files
2021-03-27 21:55:47 +01:00
Rebecca Breu
e42ed2d598
Make bee file sqlar compliant
2021-03-27 15:37:03 +01:00
Rebecca Breu
ef086f1468
Fix small load/save issues
2021-03-26 20:22:33 +01:00
Rebecca Breu
063102ae50
Switch native file format to sqlite
2021-03-26 19:55:08 +01:00
Rebecca Breu
ae0a42bb9f
More unittests
2021-03-25 18:45:55 +01:00