Commit Graph

12 Commits

Author SHA1 Message Date
PaddleStroke
3c87ff59ee Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed' 2024-03-18 10:02:00 +01: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
Paddle
d66151a2aa Sketcher : Tool parameter : Fix U / J keys when widget spinboxes has focus. 2023-12-20 06:59:47 +01:00
Paddle
1525b3d024 SketcherToolDefaultWidget : Add a blockParameterFocusPassing bool that let us set parameters without passing focus. To fix undue passing of focus when using shortcuts U/J. For example in Polygon. 2023-11-04 08:58:50 +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
Paddle
2c5d90daea SketcherToolDefaultWidget : add 3 parameter configuration functions.
And remove the units from setParameter.
2023-10-24 19:28:13 +02:00
Paddle
48131bafc2 SketcherToolDefaultWidget : add functions to set combobox item icons and checkboxes icons. 2023-10-23 20:24:20 +02:00
wmayer
decbcfdd12 Sketch: use new-style connect() in new code 2023-10-20 14:23:21 +02:00
wmayer
e9586c4206 Sketch: fix several compiler and lint warnings
* Remove private unused field 'sketchView'
* Mark constructor with single argument as explicit
* Mark virtual methods of base class as override
* Fix clang code model parsing error
* Avoid too short identifiers
* Avoid redundant ternary operators
* Avoid passing Base::Unit by value but by const reference
2023-10-20 12:29:59 +02:00
wmayer
9578b57e3b Sketch: fix Qt6 build failure
QRegExp has been replaced with QRegularExpression and isn't part of the base of Qt6 any more
2023-10-20 11:57:21 +02:00
Paddle
5ad7548340 ToolWidget-Sketcher: Tool widget basic framework
================================================

Provides a framework to show in the taskbar a taskbox with a tool settings dialog.
2023-10-15 15:20:03 +02:00