wmayer
29017e869a
App: Add class CleanupProcess to allow to free resources when closing the application
2024-04-25 15:44:22 +02:00
wmayer
defc6cd906
Base: Fix memory leak in Quantity::parse
...
If an exception is thrown then the allocated buffer won't be cleaned up. To make this exception-safe the class
StringBufferCleaner is added using the RAII idiom
2024-04-25 14:34:02 +02:00
Roy-043
8c19516da2
Merge pull request #13612 from cjmayo/draft-byteCount
...
Draft: Fix QImage object has no attribute 'byteCount'
2024-04-25 09:20:10 +02:00
Chris Mayo
8f27e53ed4
Start: Allow system Microsoft GSL to be used
2024-04-24 14:23:21 -05:00
Chris Hennes
ead426c6eb
Update translations
...
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
356de59830
Merge pull request #13604 from wwmayer/fix_new_start_page
...
Start: Fix new start page
2024-04-24 13:57:36 -05:00
Zheng, Lei
903d72b96e
App: fix linked copy on change group out of scope problem
...
Fixes FreeCAD/FreeCAD#13481
2024-04-24 08:09:53 -05:00
wmayer
3a36c737fd
Start: Fix memory leak
...
* Set parent object to FileCardDelegate so that it will be destroyed if the list view is destroyed
* Inside FileCardDelegate::paint() delete the widget
2024-04-24 15:00:15 +02:00
WandererFan
05206afa1b
Merge pull request #13219 from Ondsel-Development/TD_Insert
...
TechDraw: Unify Insert View tools (View, ProjGroup, Sheet, Arch, svg, image)
2024-04-24 08:24:26 -04:00
wmayer
60c04fc331
Start: make compound widget in FileCardDelegate::paint() more flexible for Qt style sheets
2024-04-24 10:29:12 +02:00
wmayer
929e80a100
Start: Add QApplication to PreCompiled.h
2024-04-24 08:22:35 +02:00
Bas Ruigrok
a2243cec5e
Start: Fix migration script
2024-04-23 19:03:22 -05:00
Roy-043
65b698e222
Gui: DlgSettingsDocument.ui change url to https
2024-04-24 01:22:41 +02:00
wmayer
085ebeb9de
Start: replace QGridLayout with FlowLayout
2024-04-23 23:53:52 +02:00
wmayer
3cf9b767ac
Start: add dynamic layout FlowLayout
2024-04-23 23:53:03 +02:00
Chris Mayo
170f8baa29
Draft: Fix QImage object has no attribute 'byteCount'
...
'PySide6.QtGui.QImage' object has no attribute 'byteCount'
load_texture: unable to load texture
2024-04-23 19:35:54 +01:00
wmayer
690b3c97e4
Start: Make the new StartPage look more like the old one
...
Use style sheets to give visual feedback about hovered or clicked buttons & labels
2024-04-23 16:00:10 +02:00
WandererFan
6189191249
Merge pull request #13590 from farleyrunkel/refractor_tracker
...
TechDraw: Refractor tracker action with proper enum
2024-04-23 08:59:19 -04:00
wmayer
5d4ff908ff
Start: Add command Start_Start only once
...
This fixes an error message that the command is duplicated. And it fixes a memory leak
2024-04-23 12:04:21 +02:00
wmayer
3190b75c1e
Start: do not try to open empty file name
2024-04-23 11:53:52 +02:00
wmayer
1e15f1fbc2
Gui: simplify singleton of PropertyItemFactory
2024-04-23 10:53:24 +02:00
wmayer
7514cb9a45
Gui: fix linter warnings in PropertyItem.cpp
2024-04-23 10:53:24 +02:00
wwmayer
dd9da969e9
PySide6: Fixes #13533 : QSvgWidget is not a child of QtSvg in PySide6 ( #13554 )
...
* Create a compatibility module QtSvgWidgets.py to handle PySide2 & PySide6
* In the Arch and Material modules use the QtSvgWidgets module
* Since Qt6 the method QFont.setWeight() doesn't accept an int any more but requires an enum. Since the call of QFont.setBold(True) sets
a weight of 75 the extra calls of QFont.setWeight(75) can be safely removed
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com >
2024-04-22 18:35:33 -04:00
Chris Hennes
1f12684f3c
Gui: Add random to PreCompiled.h
...
Also re-sorts the STL list
2024-04-22 20:35:50 +02:00
Chris Hennes
f43e101099
FEM: Add SoSwitch.h to PreCompiled
...
Fix compilation on MSVC.
2024-04-22 20:35:12 +02:00
sliptonic
3d517ff2cf
Merge pull request #13134 from chennes/qtQuickTechDemo
...
Start: Recreate start as a QtWidgets-based app
2024-04-22 11:49:02 -05:00
sliptonic
fcd57b965c
Merge pull request #13570 from wwmayer/issue_13549
...
Fixes #13549 : smesh doesn't compile with boost 1.85
2024-04-22 11:18:38 -05:00
Chris Hennes
f8014e0e30
Merge pull request #13520 from wwmayer/fix_material
...
Fix further material issues
2024-04-22 11:16:44 -05:00
WandererFan
f2b1ad1419
Merge pull request #13519 from Roy-043/Sketcher-Improve-GUI-texts-in-SketcherSettingsAppearance.ui
...
Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui
2024-04-22 12:16:00 -04:00
WandererFan
4ec4e9925a
Merge pull request #13511 from Ondsel-Development/sk_polyline_midpoint
...
Sketcher: Fix mid-point autoconstraint not working with polyline.
2024-04-22 12:15:18 -04:00
PaddleStroke
f4aa66ce44
Sketcher: Joint Line and Polyline in a command group.
2024-04-22 11:14:45 -05:00
PaddleStroke
0ebf43a09c
TabBar: Move + tab to beginning.
2024-04-22 11:13:12 -05:00
sliptonic
4056177dd5
Merge pull request #13503 from mosfet80/patch-34
...
[Mod] removed duplicated pi
2024-04-22 11:12:04 -05:00
David Carter
9f43b0ff76
Material: MaterialTreeWidget usability enhancements
...
Improves the MaterialTreeWidget beyond minimum viable product.
- Filters can now be filter lists to allow a variety of filtering
options.
- User preferences allow the inclusion/exclusion of favorites and
recents.
- Widget state such as expansion, tree expansions, etc are saved and
restored.
- show current appearancee material when editing.
- implements a python interface
#fixes 13421: always opens full tree
2024-04-22 11:11:39 -05:00
Chris Hennes
9101454c4d
Merge pull request #13495 from wwmayer/material_colors
...
Support to customize all material colors
2024-04-22 11:09:05 -05:00
WandererFan
c9498235ae
Merge pull request #13489 from yorikvanhavre/draft-axes-colors
...
Draft: Use preference-stored colors for axes colors
2024-04-22 12:08:17 -04:00
Chris Mayo
d7e0182e6a
Tools: Resolve SyntaxWarning in generateTools.py
...
src/Tools/generateBase/generateTools.py:144: SyntaxWarning: invalid escape sequence '\+'
rbe = re.compile("\+")
2024-04-22 11:07:28 -05:00
Chris Hennes
97218d4c87
Merge pull request #13464 from marioalexis84/fem-ccx_element_types
...
Fem: Add element types to ABAQUS writer
2024-04-22 11:05:26 -05:00
Roy-043
d3e7c98965
Sketcher: Make geometry menu texts more consistent
...
Create circle -> Create circle by center
three points -> 3 points
2024-04-22 11:01:53 -05:00
Roy-043
4a586040d5
Sketcher: Make constraints menu texts more consistent
...
The current constraints menu texts are not very consistent. Particularly the mix of adverbs (horizontally) and adjectives (symmetrical) is strange.
2024-04-22 11:01:06 -05:00
FEA-eng
5f96c6dc3c
FEM test INC value fix ( #13397 )
2024-04-22 10:56:25 -05:00
farley
789bbeedf6
Core: Fix searching model tree does not work for numbers #12723 ( #13377 )
...
* Fix problem #12723 : Searching model tree does not work for numbers
- Modify ExpressionTokenizer::perform
- Add tests tokenizeCompletion
2024-04-22 10:55:42 -05:00
marioalexis84
0be9e68fcd
Fem: Constraint symbol scaling ( #13274 )
...
* Fem: Constraint symbols rescaling
* Fem: Add constraint symbol .iv files
* Fem: Fix contact constraint symbol rescaling
* Fem: Fix displacement constraint symbol rescaling
* Fem: Fix fixed constraint symbol rescaling
* Fem: Fix force constraint symbol rescaling
* Fem: Fix heat flux constraint symbol rescaling
* Fem: Fix plane rotation constraint symbol rescaling
* Fem: Fix pressure constraint symbol rescaling
* Fem: Fix spring constraint symbol rescaling
* Fem: Fix temperature constraint symbol rescaling
* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
mosfet80
4fb6891d11
Update sub_wrapup.yml ( #12993 )
...
update geekyeggo/delete-artifact to v5
2024-04-22 10:44:47 -05:00
PaddleStroke
ddd35aeefa
Fix typo introduced by solving conflict.
2024-04-22 17:16:50 +02:00
PaddleStroke
e0e0a91046
TechDraw: TaskProjGroup.ui : use QGroupBox instead of lines for app consistency.
2024-04-22 15:53:14 +02:00
PaddleStroke
2b0403dc27
TechDraw: Insert tool insert DrawViewProjGroupItem that can then be transfered into groups and back.
2024-04-22 15:53:14 +02:00
PaddleStroke
5eb73cf949
TechDraw: Enable setting a custom direction. Fixes #5821
2024-04-22 15:53:14 +02:00
PaddleStroke
b6d8bb094a
TechDraw: InsertView switch the MDI to page when triggered.
2024-04-22 15:53:14 +02:00
PaddleStroke
246496eed1
TechDraw: Add taskbox to Part View. Removes Projection Group from toolbar.
2024-04-22 15:53:14 +02:00