wmayer
5bd156066e
Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos()
2021-11-02 19:06:12 +01:00
Bernd Hahnebach
1167babc66
FEM: command module, fix regression in the regard of translation added with 277b71b53894aa
2021-11-02 17:43:41 +01:00
Chris Hennes
1d8a9a86a4
Spreadsheet: Fix bug in content and alias lineedits
...
The two line edit widgets above the spreadsheet, one for exiting the
cell contents and one for editing the alias, were set to use the same
editing widget as the individual spreadsheet cells. Once that widget was
refactored to handle tab/enter behavior it was no longer the correct
widget for those elements. This commit changes them to
Gui::ExpressionLineEdit widgets instead, so that the Enter key works
correctly for them again.
2021-11-02 10:15:19 -05:00
wmayer
6323098d0d
Gui: [skip ci] code clean-up
2021-11-02 16:06:21 +01:00
wmayer
0c59884e83
Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication
2021-11-02 15:57:54 +01:00
wmayer
3b7a758563
Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication
2021-11-02 15:32:20 +01:00
wmayer
4c1ddafb15
Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication
2021-11-02 14:52:22 +01:00
wmayer
61ecfd3639
Gui: [skip ci] expose function to Python to enable/disable context-menu of 3d view
2021-11-02 12:57:54 +01:00
wmayer
eacca01b8e
Path: [skip ci] partially fix issue 0004765: [MSVC][Build][Permissive-][std:c++latest] FreeCAD failed to build on MSVC
2021-11-01 19:32:21 +01:00
wmayer
cd918265c8
Gui: [skip ci] allow to set edit mode in cmdSetEdit()
2021-11-01 14:47:26 +01:00
Chris Hennes
dfa8bbc8e0
Merge pull request #5128 from luzpaz/freecad-translation-6
...
PD: Expose missing commands to translation in Measure dropdown menu
2021-11-01 00:22:28 -05:00
Chris Hennes
064e592ca4
Merge pull request #5136 from sanguinariojoe/qtwebengine
...
Prefer QtWebEngine over QtWebKit
2021-11-01 00:20:04 -05:00
Chris Hennes
7c7b30e79d
[Spreadsheet] Fix missing header context menu
2021-10-31 23:38:11 -05:00
Jose Luis Cercos-Pita
d2654d6ecb
Prefer QtWebEngine over QtWebKit
2021-10-31 23:29:31 +01:00
Chris Hennes
8aa06d30b2
Merge pull request #5130 from Roy-043/Draft-Fix-merge-layers
...
Draft: Fix merge layers
2021-10-31 16:15:10 -05:00
Chris Hennes
9accfca831
Merge pull request #5133 from Roy-043/Draft-Fix-angle-dimension-issue
...
Draft: Fix angle dimension issue
2021-10-31 15:45:10 -05:00
Chris Hennes
3cdfe38978
Merge pull request #4952 from realthunder/FixDocumentRestore
...
Fix external document loading
2021-10-31 10:36:12 -05:00
wmayer
ad458c423a
PD: [skip ci] if no active body exists then by default pre-select the first option to create a new body
2021-10-31 12:33:48 +01:00
Chris Hennes
6427afbe6c
Merge pull request #5132 from luzpaz/Draft-whitespace
...
Draft: Fix superfluous whitespace in translations + misc. typos
2021-10-30 22:10:27 -05:00
wmayer
e4851a11b4
Part: fixes #0004774 : Datum plane or line is not available in sketch in another body via binder
2021-10-30 22:28:57 +02:00
luzpaz
95a0c9c008
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luzpaz
005a5d8cd7
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luz paz
b90fefa1ca
Refined code formatting for uniformity
2021-10-30 15:20:28 -04:00
luzpaz
fa7ea019f8
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luz paz
8aab47fb06
Draft: Fix superfluous whitespace in translations + misc. typos
2021-10-30 15:20:28 -04:00
wmayer
42174a7b13
Part: in ViewProviderSpline use the ViewProviderSplineExtension to avoid code duplication
2021-10-30 17:57:52 +02:00
wmayer
4d7f2ef6e5
Part: [skip ci] include PartGlobal.h in ViewProviderExt.h
2021-10-30 17:57:11 +02:00
wmayer
91aa308cba
Part: [skip ci] add PartGlobal.h with export/import macros
2021-10-30 17:29:11 +02:00
wmayer
0672b879c6
dist-git: make script working again for Py3 and Linux
2021-10-30 14:50:00 +02:00
Zheng, Lei
c349e78f45
Minor code change according to suggestions
2021-10-30 12:30:45 +08:00
Zheng, Lei
ba4c992eaa
App: use enum in API Application::getDocumentByPath()
2021-10-30 11:03:55 +08:00
Zheng, Lei
ad9ad30c00
App: fix external document loading
...
The problem happens when partial loading is enabled. If document A
contains a link to some object in document B, it will load B as partial
document with only that object and its necessary dependencies. But if
document A contains another link to some object in document C which also
has a link to some object in document B, the link in document C may not
be restored, because document B is partially loaded without the linked
object. This patch will check for this case and reload document B for
more objects.
See an example reported in
https://forum.freecadweb.org/viewtopic.php?p=495078#p495078
2021-10-30 11:03:52 +08:00
Zheng, Lei
39e2381f29
Part: fix unnecessary document 'modified' status
2021-10-30 11:02:39 +08:00
Zheng, Lei
c067e0d7db
Gui: fix document 'modified' status on view property change
2021-10-30 11:02:39 +08:00
Uwe
188b138545
Merge branch 'master' into PDEdit
2021-10-30 00:30:14 +02:00
wmayer
5583a42c07
Unit test: [skip ci] gimbal lock
2021-10-29 20:02:09 +02:00
0penBrain
ffa6b3ce5e
[PartDesign] Remove useless function overriding
...
Double-click is already handled by PartDesign::ViewProvider::doubleClicked()
Overridings in Loft & Pipe brings no specific behavior
By removing overridings, behavioral consistency is improved both in ...
... undo commands & body activation management when PartDesign items ...
... are double-clicked
2021-10-29 17:30:06 +02:00
wmayer
8f08fea670
Gui: add class RotationHelper to reduce code duplication of PropertyRotationItem and PropertyPlacementItem
2021-10-29 15:59:55 +02:00
wmayer
2e5b29d180
Gui: implement editor for PropertyRotation
2021-10-29 12:41:03 +02:00
wmayer
c74d2b8dd5
App: add class PropertyRotation
2021-10-29 12:40:32 +02:00
Roy-043
84c517e333
Draft: Fix angle dimension issue
...
If the end points of the selected edges for an angular dimension were (almost) coincident with their intersection, random angles could be calculated. In essence a floating point inaccuracy issue.
2021-10-28 19:29:59 +02:00
wmayer
b3bdf5967b
Sketcher: [skip ci] handle coincident points when trying to create arc/circle
2021-10-28 17:03:11 +02:00
Bernd Hahnebach
67a7f038bf
Arch: import IFC, Materials, make merge materials working on duplicate label setting
2021-10-28 16:02:06 +02:00
Bernd Hahnebach
b679c15164
Arch: import IFC, Material, small improvement, no changes
2021-10-28 15:45:15 +02:00
Bernd Hahnebach
5be99d7469
Arch: import IFC, Materials, small code improvements, no changes
2021-10-28 15:43:35 +02:00
Bernd Hahnebach
5f8422e7ea
Arch: import IFC, use doc identifier instead of FreeCAD.ActiveDocument
2021-10-28 09:49:51 +02:00
Bernd Hahnebach
636be32ec0
Arch: IFC export and import, some code formating (only very clearly ones)
2021-10-27 23:10:01 +02:00
wmayer
c3f10e8e62
Base: [skip ci] C++11: modernize use nullptr (replaces NULL or 0)
2021-10-27 19:26:26 +02:00
wmayer
b803d987b9
Base: [skip ci] handle gimbal lock when computing Euler angles
2021-10-27 17:02:07 +02:00
wmayer
16c08ec96f
Base: [skip ci] in Rotation class allow to set angle in radian
...
App.Rotation(axis, angle) still defines the angle in degree
App.Rotation(axis, Degree=angle) does the same as above
App.Rotation(axis, Radian=angle) defines the angle in radian
2021-10-27 10:59:34 +02:00