Commit graph

91 commits

Author SHA1 Message Date
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
fe9de9bcdf Fix typo in README 2021-04-06 18:31:45 +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
0a8f59ec36 Format logo in README 2021-04-03 22:30:34 +02:00
Rebecca Breu
c3e824449d Fix path to logo in README 2021-04-03 22:19:54 +02:00
Rebecca Breu
79f1cf8f72 Logo improvements: shading everywhere 2021-04-03 22:18:42 +02:00
Rebecca Breu
01bb0cacdd Move badges up in README 2021-04-03 20:20:22 +02:00
Rebecca Breu
50cc77c7e7 Add Python versions badge 2021-04-03 18:57:27 +02:00
Rebecca Breu
2ccc78bb82 Pytest workflow: run multiple python versions 2021-04-03 18:41:32 +02:00
Rebecca Breu
56318cf762 Add Codecov badge 2021-04-03 18:18:55 +02:00
Rebecca Breu
a709767340 Pytest workflow: fix yaml 2021-04-03 18:13:42 +02:00
Rebecca Breu
258380a4b4 Pytest workflow: Upload coverage report to codecov 2021-04-03 18:10:02 +02:00
Rebecca Breu
7f63000d01 Run pytest with more output 2021-04-03 17:58:03 +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
4141e9666f Make checking for unknown commandline args configurable in the config module.
Introducing commandline args lead to errors when passing arguments to pytest, which were in turn passed to the code and causing errors because they were not recognised. This change only runs the check for known arguments from the main() routine while other imports won't cause a check.
2021-04-02 11:58:00 +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
9392179817 Add z-value debug output 2021-03-31 13:26:09 +02:00
Rebecca Breu
a8bcf9e8c7 Fix segfault during exit 2021-03-31 10:25:12 +02:00
Rebecca Breu
aff745d27f Bring newly inserted items to front 2021-03-31 09:47:24 +02:00
Rebecca Breu
b9487371f8 Logo enhancements (WIP) 2021-03-30 22:11:57 +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
0daf1bfbf1 Fix progress bar when only one item is loaded/saved 2021-03-29 19:21:14 +02:00
Rebecca Breu
e0a8ce42e5 Fix hover cursor shape for items 2021-03-29 19:05:56 +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
c591c3f730 Make selection markings stay the same size 2021-03-28 22:27:01 +02:00