Commit Graph

19 Commits

Author SHA1 Message Date
AgCaliva
b360b43ebe Fixing DOMDocument redefinition 2023-09-16 00:38:41 -03:00
wmayer
484e0d50c4 Gui: fix several pending issues of image scale:
* refactor some functions
* do not use mdi view of active document as parent for spin box because this can be the wrong widget
* fix compiler warnings of unused variables
* fix typo
* handle Qt::Key_Return in event filter
* fix lint error
2023-04-20 16:52:06 +02:00
Paddle
b6372e376f TaskImage: Fix segfault when doc closed before taskview is dismissed. 2023-04-17 16:03:11 +02:00
Paddle
a69ac4717c TaskImage: Remove 'outside picture' mode. 2023-04-17 15:10:13 +02:00
Paddle
8338b7f01e TaskImage: Simplify restore & updatePlacement. It will make it easier if we want to enable other planes than XY XZ ZY. 2023-04-12 18:52:04 +02:00
Paddle
b6e54b6586 TaskImage: finish fixing when imageplane is in transformed part. 2023-04-12 18:23:35 +02:00
Paddle
f2494a86c2 TaskImage: try to fix bug when in Part container. 2023-04-12 17:50:59 +02:00
Paddle
60a6de9bac TaskImage : fix X Y distances that were not taken into account for SoDatumLabel transform. 2023-04-12 17:50:42 +02:00
Paddle
1e3d000197 Task image. replace {} with () in the ctor for consistency 2023-04-12 17:49:54 +02:00
Paddle
1f17871950 TaskImage: fix X,Y distance that were reversed on XZ and ZY. 2023-04-12 17:49:18 +02:00
Paddle
82ee6c0ab9 TaskImage: Fix enter doesn't work. 2023-04-12 16:48:08 +02:00
Paddle
246014dddd TaskImage: fix issues 2023-04-12 16:48:08 +02:00
Paddle
6460b24b6c TaskImage: add missing headers 2023-04-12 16:48:08 +02:00
Paddle
f3b7c0bd60 TaskImage: Fix Cancel on Esc and final ui adjustments. 2023-04-12 16:48:08 +02:00
Paddle
c53fc99604 TaskImage : Remove OK and Cancel buttons and others 2023-04-12 16:48:07 +02:00
Paddle
b31373cae6 TaskImage : Add OK and Cancel buttons. 2023-04-12 16:48:07 +02:00
Paddle
0b42975e13 TaskImage: rework interactive scaling tool. 2023-04-12 16:48:07 +02:00
Paddle
68ed314604 TaskImage: use SoDatumLabel instead of basic line. 2023-04-12 16:48:07 +02:00
Paddle
9ad3f94265 Image: Merge taskboxes into one 'Image plane Settings'
- Allow user to position the image with a X / Y distance.
- Allow user to rotate the image on its plane.
- Adds Transparency.
- Image sizes change from PX to System unit as PX don't make sense for the user.
2023-04-12 16:48:07 +02:00