Commit Graph

29715 Commits

Author SHA1 Message Date
wmayer
3fddaf4a2f Fix several clazy issues:
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
2022-07-24 19:03:30 +02:00
Uwe
a5b50fd114 [FEM] set default selection mode to BoundBox for post objects
- this fixes a long-standing annoyance that popped up also from time to time in the forum:
  the post objects deliver information via its coloring but a selection in the tree changed the shape color

Even experienced users like me did not know about the SelectionStyle property and always had to click into the model to see the real color, not the selection color.
Therefore SelectionStyle set to BoundBox is sensible as default settings for post objects since this assures that the users always see the right coloring.
2022-07-24 16:24:01 +02:00
Uwe
2f589e8e8f [.github] try to get the checks also for the 0-20 branch 2022-07-24 06:01:52 +02:00
Uwe
c3074efb29 [FEM] fix regression of missing stress results
- fixes the regression that went in short as "last minute fix": commit c5daa88b82 -> fixes #7242

- also remove a doubled entry in an IF
2022-07-24 05:41:33 +02:00
Uwe
5ec39189fa [.github] disable tidy checks for now
- as requested in https://github.com/FreeCAD/FreeCAD/pull/7152#issuecomment-1193176866
2022-07-24 02:58:39 +02:00
wmayer
d887c2d77b Import: use Part::ImportExportSettings to access parameters 2022-07-23 21:58:51 +02:00
wmayer
33a07fcdf0 Part: initialize controls of DlgImportExportStep with ImportExportSettings 2022-07-23 21:16:04 +02:00
wmayer
231c5f44d9 Part: implement class ImportExportSettings for consistent parameter access 2022-07-23 21:15:22 +02:00
Uwe
a670ff8e51 [.github] disable clang checks for now
see https://github.com/FreeCAD/FreeCAD/pull/7152#issuecomment-1193167296
2022-07-23 20:25:21 +02:00
Uwe
e95a16408c [FEM] TaskBoxes: add missing info about transparency
The user had no info about the current transparency nor the value he will be selecting.
2022-07-23 19:41:18 +02:00
Floriansimmer
f2285dfac1 Github: basic check CI Run (#7152)
* Github: basic check CI Run

- trailing Whitespace
- tab
- string based QT connections
- Cpplint
- pylint
- Black
- clang-format
- Codespell
- clang-tidy
- clazy (+QT6 Checks)
- Report
2022-07-23 18:53:50 +02:00
Uwe
5aedc73ef6 [FEM] better fix for missing colorbar update for FemPostObject
- better fix for #7230 because we can call the direct paint method and because the bar is now also updated when the object is shown

- also add a ToDo note
2022-07-23 16:57:16 +02:00
Uwe
6aa7b0d761 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
mosfet80
892ad71f62 Git ignore hidden files with defined exceptions (#7108)
* git ignore all hidden files

* Removal file with non-existent link

* git Ignore all hidden files except .gitignore

* Set exceptions in gitignore
2022-07-23 14:47:53 +02:00
andrea
187772de7c fix warning :unused variables 2022-07-23 14:27:50 +02:00
andrea
61a5551940 Remove unused code into App 2022-07-23 14:27:50 +02:00
Uwe
82083ab059 [FEM] task_material_common: add a comment 2022-07-23 14:22:48 +02:00
Uwe
68659771f5 [FEM] fix material task dialog for fluids
- this fixes a mistake from commit 821dc915
- it also consistently use the thermal expansion coefficient
- add code comments

now the material task dialog works with all fluid materials without errors or warnings
2022-07-23 04:59:10 +02:00
Syres916
3b6e5d7b79 [Part] Bugfix Primitives correction of decimal..
...places on creation
See https://forum.freecadweb.org/viewtopic.php?f=3&t=70339
2022-07-23 03:27:32 +02:00
wmayer
cdaff7f550 Part: fix TopoShape.isInside() for faces 2022-07-22 15:32:30 +02:00
Yorik van Havre
cc8b407b6f Merge pull request #7233 from Roy-043/Arch-Housekeeping-import-translate-from-correct-file
Arch: Housekeeping: import translate from correct file
2022-07-22 12:55:06 +02:00
Uwe
0a67a39065 [Gui] [skip CI] Selection: a formatting style fix 2022-07-22 02:09:25 +02:00
Uwe
0105189304 [FEM] [skipCI] ViewProviderFemPostPipeline: remove unused include
- also sorting
2022-07-22 02:08:11 +02:00
Chrismettal
404b481625 [Stylesheets] Remove whitespace and add "checked" icon style 2022-07-22 02:05:49 +02:00
Uwe
ac27f4700a [FEM] fix missing colorbar update for FemPostObject
- fixes issue #7230

- to update the color bar for post objects, the Field property has to be reset to trigger this. This PR does this.
2022-07-22 01:20:18 +02:00
luz paz
e3bdf0a1ef Fix typos in Part and TechDraw workbenches
[skip ci]
2022-07-21 15:15:35 +02:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Uwe
b726941073 [FEM] [skip CI] fix UI file height entry
- was automatically done by QT designer
2022-07-21 03:43:26 +02:00
Benjamin Bræstrup Sayoc
7ee5be032d [TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp

[TechDraw] Improve readability of DrawViewDimExtent.cpp

[TechDraw] Improve readability of DrawViewDraft.cpp

[TechDraw] Improve readability of DrawViewImage.cpp

[TechDraw] Improve readability of DrawViewMulti.cpp
2022-07-20 16:44:26 -04:00
edi271
a1b7e3e33b [TD] Add SurfaceFinishSymbol command
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-20 16:13:56 -04:00
Wanderer Fan
cc2648b399 [TD]review comments and rebase for PR7197 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
5fcea95ed1 [TechDraw] Improve readability of DrawViewClip.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
0072e423b8 [TechDraw] Improve readability of DrawViewBalloon.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
86ec5d0a09 [TechDraw] Improve readability of DrawViewArch.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
361012df77 [TechDraw] Improve readability of DrawViewAnnotation.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
23c2c47386 [TechDraw] Improve readability of DrawTile.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
88b52bd00d [TechDraw] Improve readability of DrawRichAnno.cpp 2022-07-20 12:59:12 -04:00
Uwe
b2bb479788 [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
b81d7e4864 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
49c9541034 [PD] TaskExtrudeParameters: add missing simplification
forgot this change in commit 8789c4a1
2022-07-20 11:35:46 +02:00
Yorik van Havre
df5eb4260b Merge pull request #7215 from Roy-043/Draft-Remove-unnecessary-DisplayStatusbar-preference
Draft: Remove unnecessary DisplayStatusbar preference
2022-07-20 10:45:36 +02:00
Yorik van Havre
de1c94875e Merge pull request #7217 from manuvarkey/dev_branch_1
Arch: Add support for editing profile type, add L and T sections
2022-07-20 10:38:03 +02:00
Uwe
04e6414458 [PD] TaskExtrudeParameters: simplify code
to avoid several time the same translatable string
2022-07-20 03:16:56 +02:00
adrianinsaval
76f5c32574 [PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode (#7216)
* [PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode
2022-07-20 03:13:01 +02:00
Uwe
5486c9808d [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
7b4e5d7522 [TD] remove more superfluous nullptr checks 2022-07-20 02:32:52 +02:00
wmayer
1e3275a065 Part: add instruction how to adjust the maximum number of grid lines 2022-07-19 11:50:56 +02:00
wmayer
108c64dc46 Gui: fix crash in ViewProviderLink::currentDraggingPlacement() if there is no active dragger 2022-07-19 10:40:32 +02:00
Uwe
15ec3e2cda [TD] Gui: remove more superfluous nullptr checks 2022-07-19 03:40:32 +02:00
Uwe
aca9973791 [PD] [skip CI] FeatureExtrude.cpp: fix a comment 2022-07-19 03:30:48 +02:00