Commit Graph

40 Commits

Author SHA1 Message Date
Ladislav Michl
2ea8a633ac Base: Quantity: return std::string 2024-12-23 17:48:42 +01:00
Kacper Donat
651cefde4d Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
wmayer
88ee1d6df3 FEM: Fix convoluted event handling of constraint task boxes
and make Delete key working on macOS
2024-07-23 23:19:51 -05:00
marioalexis
6c0f3bde92 Fem: Use base class open and reject methods in constraint task panels 2024-06-24 22:03:07 -03:00
marioalexis
0361543cfb Fem: Set Scale in TaskFemConstraint base class 2024-06-24 22:03:07 -03:00
marioalexis
f17ad4f143 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
wmayer
b8b94c249e Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
kaktus Jacek
41fb0d45a3 Fem: Removing "constraint" from the names
Removing "constraint" from the names of most FEM workbench features.

https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
wmayer
d525e0d308 Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
009f9f2222 FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Uwe
642b8b3196 [FEM] Transform constraint overhaul
- fix warning about local scope
- make the angles a PropertyAngle to handle the unit
- also fix some too long code lines
2023-03-28 02:11:36 +02:00
Uwe
97103b3bf3 [FEM] use std::unique_ptr for all dialog objects
- also fix too long line
- also further clang automatic code style changes
2023-03-22 20:08:13 +01:00
wmayer
a9b9899846 FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
Uwe
2cb9ddddae [FEM] task dialogs: remove unused includes
- also some code style fixes from MSVC
2022-03-17 23:31:17 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
9057093f02 [FEM] use predefined M_PI 2022-01-07 21:50:47 +01:00
luz paz
cfebd3f1e6 FEM: remote superfluous double semicolons [skip ci] 2021-02-14 22:13:16 +01:00
Bernd Hahnebach
7b505a8978 FEM: constraint transform task panel, fix warning message 2020-07-15 09:21:53 +02:00
Bernd Hahnebach
4d6e21e455 FEM: rename icon, Constraint Transform 2020-03-06 08:39:29 +01:00
donovaly
27395bbba2 [FEM] spread the fixes from commit a5be62b8 to the other dialogs 2020-03-01 14:37:28 +01:00
donovaly
e2d2101996 [FEM] highlight also selected transformable surfaces
this makes it much easier to find the surfaces that are transformable
2020-02-26 08:24:16 +01:00
Bernd Hahnebach
c1e7bb3a08 FEM: transform task panel, use doc identifier instead of App.ActiveDocument 2020-02-26 08:14:01 +01:00
Bernd Hahnebach
a6b22b3251 FEM: transform task panel, pyton fix 2020-02-26 00:10:58 +01:00
wmayer
78040f7711 Fem: [skip ci] fix segmentation fault when opening contraint transform panel
The segmentation fault is caused when NameDispl has less elements than the RefDispl property
2020-02-25 23:44:22 +01:00
donovaly
d19d5b5fce FEM: constraint dialogs: sort out commonly used function
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
donovaly
288456ee4b [FEM] fix special Dlg issue with deletion
- if an existing constraint has only one item, the item could under some circumstances not be deleted by pressing Del
2020-02-21 18:00:58 +01:00
donovaly
97de09ad6f [FEM] add shortcut to delete constraints from list in dialog
see https://forum.freecadweb.org/viewtopic.php?f=18&t=43402
2020-02-19 10:15:10 +01:00
Abdullah Tahiri
241c370f5f PCH: Fem Gui 2019-05-16 21:43:08 +02:00
sL1pKn07
018b41032a [For v018] Fix build with Qt5 beta
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
Bernd Hahnebach
9bcdd09473 FEM: constraint transform, fixes #3283 2017-12-13 12:38:22 +01:00
wmayer
ce6809415b inherit FemAnalysis from DocumentObjectGroup and remove Member property 2017-10-24 20:07:05 +02:00
Bernd Hahnebach
2cdaba4b89 FEM: code formating, white spaces 2017-02-17 22:07:56 +01:00
kgoao
c11fdbe355 FEM: ConstraintTransform: Allow forces to be transformed 2016-12-21 11:27:41 -02:00
wmayer
09028b0a7f + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
Bernd Hahnebach
005f7f6bc8 FEM: constraint transform task panel, fix if analysis name is not analysis 2016-09-27 13:04:46 -03:00
kgoao
086f716e6e FEM: ConstraintTransform: core implementation
FEM: ConstraintTransform: transformable surface comment modification

FEM: ConstraintTransform: re-adjusted GUI layout

FEM: ConstraintTransform: more tweaking

FEM: ConstraintTransform: GUI layout adjustment

FEM: ConstraintTransform: GUI bug fix

FEM: ConstraintTransform: implemented App::PropertyEnumeration for type of transform
2016-09-27 13:04:46 -03:00