Commit Graph

37100 Commits

Author SHA1 Message Date
wmayer
cbc3d81bca Gui: save active palette
If the QLineEdit is disabled the current color group of the cached QPalette is set to 'Inactive'. Now when enabling the QLineEdit the wrong palette is set and the text looks like it's inactive.
2023-11-17 18:52:28 +01:00
Roy-043
03e8ac4ac6 Draft: make in-command shortcuts non-global
Fixes #8329.
2023-11-17 12:57:56 +01:00
Roy-043
f741d28b43 Merge pull request #11426 from Roy-043/Draft-minor-updates-related-to-precision-pref
Draft: minor updates related to precision pref
2023-11-17 10:18:35 +01:00
Roy-043
e9e4554c06 Draft: minor updates related to precision pref 2023-11-17 09:49:01 +01:00
Roy-043
16a9f09940 Merge pull request #11419 from Roy-043/Draft-Draft_Join-should-call-join_wires
Draft: Draft_Join should call join_wires
2023-11-17 09:30:01 +01:00
pavltom
2ffca4958a [TechDraw] Multiselection mode implementation 2023-11-16 20:45:02 -05:00
pavltom
e3fe68a0f3 [TechDraw] Remove obsolete getYInClip method 2023-11-16 20:45:02 -05:00
pavltom
98a005b7b5 [TechDraw] Remove nowhere used m_dragState 2023-11-16 20:45:02 -05:00
pavltom
ec6df1726e [TechDraw] Refactor QGIView and QGIPrimPath mouse processing 2023-11-16 20:45:02 -05:00
pavltom
bd69b1c341 [TechDraw] Remove now unused SelectPoint signal relics 2023-11-16 20:45:02 -05:00
pavltom
87e2c36dda [TechDraw] Fix app selection not reflecting Qt selection 2023-11-16 20:45:02 -05:00
pavltom
886c683f65 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
Pesc0
6fe6cbe4b7 Upgrade debugger to debugpy 2023-11-17 02:00:32 +01:00
Pesc0
be6ed4670b addon manager: use get_python_exe from utils file 2023-11-17 02:00:25 +01:00
Pesc0
0e6ec6e3ac create utils file with get_python_exe 2023-11-17 02:00:12 +01:00
Roy-043
c3a3100137 Draft: Draft_Join should call join_wires
Also removed an obsolete comment.
2023-11-16 21:02:19 +01:00
wmayer
c608c77d2b Tests: add test for QuantitySpinBox::setValue(double) 2023-11-16 19:37:21 +01:00
Abdullah Tahiri
6a9fa8da68 Gui: QuantitySpinBox - keep format on setValue
==============================================

Problem:
When the value set is a double, a new Quantity is created, which does not follow
the previously configured format (setDecimals).

Solution:
To copy the old format to the newly created quantity.
2023-11-16 19:29:46 +01:00
wmayer
5a39a85b73 Tools: for generated Python binding use PyTypeObject instead of _typeobject
And name the function arguments of PyMake to handle readability-named-parameter
2023-11-16 17:03:14 +01:00
bgbsww
f2d5e07b4e PartDesign: refresh body after pipe creation (#11357) 2023-11-16 12:58:39 -03:00
Pesc0
0303af1ebb Vscode PR - split 1 - add cmakepresets (#11385)
* add CMakePresets.json
2023-11-16 12:49:54 -03:00
Roy-043
b4d58cb8eb Merge pull request #11415 from Roy-043/Draft-prefs-remove-copymode-useSupport-no-longer-via-UI
Draft: prefs: remove copymode, useSupport no longer via UI
2023-11-16 16:13:54 +01:00
mos
c25500fc72 fix python get value rotation are a Long .
remove old check python >=3.5 -> freecad require python 3.6
2023-11-16 14:05:30 +01:00
Roy-043
daea162ae2 Draft: prefs: remove copymode, useSupport no longer via UI
This PR removes the copymode (Global copy mode) preference.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=82679

Additionally useSupport is removed from preferences-draft.ui, turning it into a fine-tuning preference. Use of this feature is rare and may not be supported in the future. No need to present this preference to new users in the UI.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=80689
2023-11-16 11:40:23 +01:00
Roy-043
68728f7ca9 Merge pull request #11405 from Roy-043/Draft-menu-texts-of-snaps-to-sentence-case
Draft: menu texts of snaps to sentence case
2023-11-16 10:09:13 +01:00
wmayer
08b10cd287 fix cppcoreguidelines-*
* cppcoreguidelines-init-variables
* cppcoreguidelines-c-copy-assignment-signature
* cppcoreguidelines-macro-usage
* cppcoreguidelines-non-private-member-variables-in-classes
* cppcoreguidelines-pro-type-member-init
* cppcoreguidelines-slicing
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-virtual-class-destructor
2023-11-16 01:22:09 +01:00
wmayer
39337ea12e fix bugprone-*
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
2023-11-16 01:22:09 +01:00
wmayer
c07c7c9fc9 fix performance-*
* performance-type-promotion-in-math-fn
* performance-trivially-destructible
* performance-noexcept-move-constructor
* performance-faster-string-find
2023-11-16 01:22:09 +01:00
wmayer
85ead154c4 fix readability-make-member-function-const 2023-11-16 01:22:09 +01:00
wmayer
7c00932fa0 fix readability-isolate-declarations 2023-11-16 01:22:08 +01:00
wmayer
5c306f6e2a fix readability-*:
* readability-uppercase-literal-suffix
* readability-named-parameter
2023-11-16 01:22:08 +01:00
wmayer
f539138dd9 fix readability-*:
* readability-const-return-type
* readability-container-data-pointer
* readability-container-size-empty
* readability-delete-null-pointer
* readability-else-after-return
* readability-inconsistent-declaration-parameter-name
* readability-redundant-member-init
* readability-redundant-smartptr-get
* readability-redundant-string-cstr
* readability-use-anyofallof
* readability-static-definition-in-anonymous-namespace
* readability-static-accessed-through-instance
* readability-simplify-boolean-expr
2023-11-16 01:22:08 +01:00
wmayer
e4975f0153 fix readability-braces-around-statements 2023-11-16 01:22:08 +01:00
wmayer
767647a05f fix readability-avoid-const-params-in-decls 2023-11-16 01:22:08 +01:00
wmayer
73a1e90e45 fix readability-identifier-length 2023-11-16 01:22:08 +01:00
pre-commit-ci[bot]
6a66034ce2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-16 00:24:09 +01:00
wandererfan
7194c29a81 [Units]Add Meters-only schema (#7395)
- use correct unit for velocity

- typo in include guard
2023-11-16 00:24:09 +01:00
Roy-043
b07ff3eeb5 Draft: menu texts of snaps to sentence case 2023-11-15 14:59:38 +01:00
Paddle
fbcc53d2cb Fix ESC key for Sketcher_Dimension 2023-11-15 14:41:43 +01:00
Paddle
12f48d531c Sketcher OVP setting : add missing default. 2023-11-15 14:40:03 +01:00
Abdullah Tahiri
97d3665757 SketcherGui: Fix preselectAtPoint for non X-Y orientations 2023-11-15 14:34:11 +01:00
Roy-043
4857836287 Merge pull request #11393 from Roy-043/Draft-cleanup-related-to-PR11336
Draft: cleanup related to PR11336
2023-11-15 09:43:49 +01:00
Adrián Insaurralde Avalos
e937cc1efc move WindowsInstaller to tools/build [skip ci] 2023-11-14 14:55:08 -03:00
Adrián Insaurralde Avalos
81d56fa45a Improve upon #11268 - fix wrong description for shortcuts [skip ci] 2023-11-14 14:55:08 -03:00
Paddle
60dc6cd1cf Slot fix vertical/horizontal constraints 2023-11-14 14:22:26 +01:00
Paddle
ca4ba5e3b0 Slot DSH : fixes 2023-11-14 14:22:26 +01:00
Paddle
cb19b1036e Slot DSH : implement tool parameters. 2023-11-14 14:22:26 +01:00
Abdullah Tahiri
b4d4a00329 SketcherGui: DSH - parameter unused depending of constexpr fixed 2023-11-14 14:12:16 +01:00
Roy-043
0f76aaab86 Draft: cleanup related to PR11336
See #11336
2023-11-14 11:51:34 +01:00
Roy-043
8b6d133c26 Merge pull request #11388 from Roy-043/Arch-more-file-extensions-also-in-caps
Arch: more file extensions also in caps
2023-11-14 10:34:42 +01:00