PaddleStroke
425896108f
Sketcher: BSpline DSH: implement OVP/widget
2024-06-17 16:52:24 +02:00
PaddleStroke
08705ecb85
Sketcher: fix OVP placement issue #13827
2024-05-06 12:30:43 -04:00
pre-commit-ci[bot]
15d7980173
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-31 10:47:32 +02:00
ppphp
8863b9ac4c
fix: c++20 deprecate [=]
2024-03-31 10:47:32 +02:00
PaddleStroke
4ced18c419
DrawSketchController: Fix crazy focus behavior in tool widget (see in the translate tool).
2024-03-17 08:15:54 +01:00
PaddleStroke
fc1e978fc0
Sketcher: change DSH framework so that tab cycle through OVP and widget parameters.
2024-02-12 17:48:35 +01:00
PaddleStroke
f56bd4ea5a
Sketcher: DSH: add two shortcuts for DSH to use. Fix a small syntax error in polygon/rotate.
2024-02-12 17:48:29 +01:00
Chris Hennes
746fbff8f2
Sketcher: Add check for handler's existence
2024-02-01 09:08:16 +01:00
Abdullah Tahiri
aa901520b5
Sketcher: DSH Framework fix lints
2023-12-20 06:59:47 +01:00
Paddle
d66151a2aa
Sketcher : Tool parameter : Fix U / J keys when widget spinboxes has focus.
2023-12-20 06:59:47 +01:00
Paddle
5c11f39be7
Sketcher OVP setting : add missing default.
2023-11-15 14:40:03 +01:00
Abdullah Tahiri
1a880d3e12
SketcherGui: Fix lints
2023-11-13 18:18:50 +01:00
Paddle
c2bb84de8e
DSH : modify drawDoubleAtCursor so that it can draw an angle.
2023-11-13 14:00:18 +01:00
Abdullah Tahiri
1d0c72a685
Sketcher: DSHController - extend framework to make cursors OVP visibility dependent
2023-11-11 11:15:54 +01:00
Abdullah Tahiri
2f40dd34c8
Sketcher: Encapsulate function to ensure MDI focus
2023-11-08 17:46:34 +01:00
Paddle
c7f0b19eaa
Remove moveCursorToSketchPoint on init.
2023-11-08 15:20:13 +01:00
Paddle
8be614abcc
Fix bug where M key stop working in some cases by giving focus to MDI on reset.
2023-11-08 15:20:13 +01:00
Abdullah Tahiri
ed9e6d104b
Sketcher: DrawSketchController - Extend framework to support hiding OVPs via preference
2023-11-08 15:20:13 +01:00
Abdullah Tahiri
d0f9869f6d
Sketcher Gui: DrawSketchController - lints
2023-11-08 15:20:13 +01:00
Abdullah Tahiri
cc5e928d74
Sketcher: Handling of ESC keypress during handler execution
...
===========================================================
Instead of terminating the handler, as mandated before this PR by ViewProviderSketch, ViewProviderSketch
delegates the action to DrawSketchHandler.
DrawSketchHandler implements by default this terminating behaviour, but allows to override it.
DrawSketchDefaultHandler (and all tools deriving from it) implement as default behaviour to cancel if
in initial state, otherwise to reset.
2023-11-07 16:05:08 +01:00
Paddle
95e6699a3e
EditableDatumLabel : Fix issue where the spinbox would get in the way of the cursor for angle. For example line angle.
2023-11-07 15:36:21 +01:00
Paddle
8f17091b8b
Fix focus passing between OnViewParameters with tab.
2023-11-07 15:36:21 +01:00
Paddle
5e8701a2ca
Fix bug nParameter is not initialized based on construction methode.
...
Also fix bug construction methode combobox is not at correct index on tool start if not first methode.
2023-11-07 15:36:21 +01:00
Paddle
923a0de70b
Prevent passing the focus to a spinbox when it shouldn't.
...
In some DSH some mode (seekSecond for example) don't have onViewParameter. In this case it would wrongly try to give focus to the previous spinbox with focus.
2023-11-04 08:58:50 +01:00
Paddle
1a8aaa7d2e
Redraw on construction method changed. Avoid a small issue where you had to move mouse first before being able to rechange the methode by the M key.
2023-11-04 08:58:50 +01:00
Paddle
fcc91e0055
DrawSketchController and DrawSketchDefaultWidgetController : fix lint warnings
2023-11-03 14:02:25 +01:00
Abdullah Tahiri
17b5a561d0
Sketcher: New flexible DSH Architecture
...
=======================================
Rewrite of the architecture to accomodate on-view parameters and to enable code reuse
between the default widget and custom widgets.
2023-11-03 14:02:25 +01:00