Commit graph

74 commits

Author SHA1 Message Date
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
Rebecca Breu
df5b169080 Wording changes 2021-03-28 21:01:28 +02:00
Rebecca Breu
a8cdd79ab9 Progress Dialogs for loading and saving 2021-03-28 20:32:33 +02:00
Rebecca Breu
c7e7dff3a6 Updated instructions 2021-03-28 14:28:48 +02:00
Rebecca Breu
fc806cdf8f Run apt as root in github workflow 2021-03-28 14:18:32 +02:00
Rebecca Breu
f449f11cec Fix syntax in pytest.yml 2021-03-28 14:16:28 +02:00
Rebecca Breu
2f0e7eec77 Fix pytest CI workflow (maybe?) 2021-03-28 14:15:30 +02:00
Rebecca Breu
c65d7eced9 Another attempt to fix the pytest CI workflow 2021-03-28 11:15:51 +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
d5e15a0b8d Add screenshot to README 2021-03-25 19:56:29 +01:00
Rebecca Breu
e827375a1e Added screenshot 2021-03-25 19:55:00 +01:00
Rebecca Breu
7c1fa062ee Make canvas dark 2021-03-25 19:53:50 +01:00
Rebecca Breu
ae0a42bb9f More unittests 2021-03-25 18:45:55 +01:00
Rebecca Breu
61872c13bb Fix markup in CONTRIBUTING 2021-03-25 16:45:55 +01:00