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.
* unused parameter 'parent' [-Wunused-parameter]
* reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
And it looks like that QMetaType::type("Base::Quantity") neither works with Qt5 nor with Qt6 because it returns 0 as id that means the type is unknown.
=====================================================
Enforce strong typing to avoid all kinds of abusive implicit conversionsm, the corresponding associated bugs and make code more readable.
=======================================
Rewrite of the architecture to accomodate on-view parameters and to enable code reuse
between the default widget and custom widgets.
G91 incremental coordinates
--relative (Disabled by default)
Specific comment character
--comments-character (None by default)
Specific space character, use "" to ommit spaces
--command-space (" " by default)
Add character before newline
--endline-character (None by default)
Multiplier for machines that use not standard dimensions like micrometers (1000)
--scale (1 by default)
Define decimal points
--precision (3 for mm, for inch by default)
Add trailing 0s
--fixed-length (0 (disabled) by default)
G0 rapid moves disabled by default, replaced with G1
--use-rapids (Set flag to enable G0)
Disable setting units on output code G20/21
--omit-units (Set flag to avoid setting units)
Force two digit codes G01 insted of G1
--two-digit-codes (Set flag to enable)
Add + sign to positive coordinates
--force-sign (Set flag to enable)
Ignore unsuported operations, use Labels and separate with ','
--ignore-operations (Empty by default)
Related issue:
#5603.
For gui_snapper.py and gui_trackers.py an intermediate solution has been adopted. They still rely on App.DraftWorkingPlane, but now use a small function to retreive it.
Simply switching to the PlaneGui class is problematic for the trackers as this results in an endless recursion (wp->grid->wp->...). Using the old App.DraftWorkingPlane (which is kept up-to-date by PlaneGui) solves this for now. I will try to return to this later (which may be after the next release though).