marcuspollio
0526257be5
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-15 13:45:43 +12:00
hlorus
030cdcfa5e
MeasureGui: Add UMF folder icon
...
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-05-14 17:55:21 +02:00
hlorus
b3ea58a503
MeasureGui: Add icons
...
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-05-14 17:55:06 +02:00
hlorus
c797c146e9
Gui: Add icon support in SoFrameLabel
2024-05-14 17:55:06 +02:00
hlorus
ae7a16f945
Measure Prefs: Set background default color to white
2024-05-14 17:53:56 +02:00
wmayer
f3327475b9
Gui: move to new-style connect() in createEditor()
2024-05-14 15:58:44 +02:00
WandererFan
cf57d0adc7
Merge pull request #14000 from wwmayer/td_fix_warning
...
TD: Fix several compiler warnings
2024-05-14 07:56:38 -04:00
wmayer
88216148ce
Fix linter warnings
2024-05-14 12:06:15 +02:00
wmayer
c7532cf496
TD: Fix several compiler warnings
2024-05-14 10:55:41 +02:00
bgbsww
869cb1f83b
Toponaming: bring in missing code fragments in Sketcher
2024-05-13 15:47:44 -05:00
Bas Ruigrok
491f4ea114
Gui: Add alignToSelection() icon and add to toolbar
...
Co-authored-by: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-05-13 19:04:06 +02:00
Bas Ruigrok
3fae3fac63
Gui: Add alignToSelection() method and command
2024-05-13 19:04:06 +02:00
Bas Ruigrok
fb1539f48e
Part: Implement getCameraAlignmentDirection() for PartFeature
...
Returns normal of a face or direction of an edge
2024-05-13 19:03:56 +02:00
Bas Ruigrok
4c39b2f2bd
App: Add getCameraAlignmentDirection() to GeoFeature
2024-05-13 19:01:38 +02:00
Johannes Wüller
0e24e121eb
Fix backwards-compatible Qt6 warnings
2024-05-13 11:39:24 -05:00
WandererFan
c12e1f8bc2
Merge pull request #13525 from Ondsel-Development/td_dimension
...
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
MisterMaker
52605f164c
New XP icons for Qsint dialog ( #13697 )
...
* new icons
Less kb more pixels what more do you want?
* small tweaks
2024-05-13 11:24:40 -05:00
Max
d2f381c379
update icons for legibility on dark themes and update icons for WBs
2024-05-13 11:23:21 -05:00
wmayer
3a16d73253
Measure: Fix quick measure
...
* Create QuickMeasure in C++ instead of Python to avoid that it will be garbage collected
* Handle exceptions in case of invalid selections
* Refactor QuickMeasure class
* Fix linter warnings
2024-05-13 11:22:52 -05:00
Chris Hennes
fef3a24187
Merge pull request #13914 from Roy-043/Draft-Draft_SetStyle-new-Material-handling
...
Draft: Draft_SetStyle new Material handling
2024-05-13 11:22:11 -05:00
marcuspollio
fd01f325b3
Update Draft WB icons ( #13585 )
...
* Update Draft WB icons
* Also make all icons 64px based
* keep inner white outline and small tweaks
* Tweaks following review
* Further tweaks following feedback
* Tweak more icons for consistency with light/dark themes
* Update following PR 13865, save as Plain SVG and remove unused ressources
Update texts for visibility
Some more cleanup
Use consistent FreeSans font
2024-05-13 11:20:42 -05:00
David Carter
f9eb6c2c68
Material: Material Preferences
...
Updates the material preferences including selecting a default material
Preferences adds some options for what gets displayed in the Materials editor.
The option to use the legacy editor is removed in favour of the new
editor.
A new preference page has been added that allows the user to select a
default material. This will then be assigned to any newly created object. In
support of this, a new widget PrefsMaterialTreeWidget has been added as an
extension of the MaterialTreeWidget to automatically save and restore the
selected material.
2024-05-13 11:14:55 -05:00
Chris Hennes
e3418ed46b
Merge pull request #13721 from kadet1090/more-at-the-end
...
Gui: Move more button to the end WB TabBar
2024-05-13 11:12:26 -05:00
Zheng, Lei
412a82f340
Gui: fix toolbar init state
2024-05-13 11:06:01 -05:00
PaddleStroke
344b125a07
Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py
2024-05-13 17:58:34 +02:00
ppphp
4cd8b2ad15
fix some warnings: cmake string quotes and float mark ( #13909 )
...
Co-authored-by: liukaiwen <kaiwen.liu@zixel.cn >
2024-05-13 11:55:59 -04:00
FEA-eng
7523582c5f
FEM: Change the misleading constraint descriptions regarding the geometry selection ( #13921 )
...
* FEM: Update TaskFemConstraintFixed.ui
* FEM: Update TaskFemConstraintForce.ui
* FEM: Update TaskFemConstraintTemperature.ui
* FEM: Update TaskFemConstraintDisplacement.ui
2024-05-13 10:54:03 -05:00
Jacob Oursland
dc9f42de1e
VSCode: Use port 39999 to test for debugger readiness.
2024-05-13 10:53:27 -05:00
Chris Hennes
cc39030293
Merge pull request #13907 from wwmayer/issue_13898
...
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
hlorus
2b9e9d6ca5
[MeasureGui] Add measurement value to label text
2024-05-13 10:47:10 -05:00
hlorus
3d2de62cbc
MeasureGui: Improve measure task wording ( #13857 )
...
* MeasureGui: Add remaining labels for translation
* MeasureGui: Improve wording for annotation and close buttons
2024-05-13 10:45:09 -05:00
Florian Foinant-Willig
219a2e0104
Fix #13107 ( #13682 )
...
Introduce a signal slot for tree item highlight change.
2024-05-13 10:42:57 -05:00
Chris Hennes
1028345ae6
Merge pull request #13811 from hlorus/remove_measure_prefs
...
[Measure] Remove unused properties from measure preferences
2024-05-13 10:39:18 -05:00
bgbsww
f304b0123c
Toponaming: bring in missing code fragments in PartDesign
2024-05-13 08:45:26 -05:00
PaddleStroke
3ed366b629
TechDraw: Smart Dimension tool : Integrate the 'chamfer' tool.
2024-05-13 15:03:43 +02:00
PaddleStroke
1aee2772f0
Techdraw: Smart Dimension: Fixes and simplifies code
2024-05-13 15:03:37 +02:00
wmayer
8fcaaed275
Draft: refactor TestDraftGeomUtils
2024-05-13 09:15:35 +02:00
Chris Hennes
f84d794379
Merge pull request #13964 from bgbsww/bgbsww-toponamingMissingPartDesignTests3
...
Toponaming Add missing code elements in Part
2024-05-12 23:25:20 -05:00
bgbsww
84ae6b9b7b
Toponaming: bring in missing code fragments in Part
2024-05-12 23:08:06 -04:00
bgbsww
80a3e9ec75
Toponaming: bring in missing code fragments in App
2024-05-12 20:59:39 -04:00
bgbsww
c734bfd53c
Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers
2024-05-12 20:57:00 -04:00
Chris Hennes
fd2d8939e7
Merge pull request #13963 from bgbsww/bgbsww-toponamingMissingPartDesignTests2
...
Toponaming: missing code bits in App
2024-05-12 19:30:04 -05:00
Chris Hennes
e703615603
Update translations
2024-05-12 17:06:56 -05:00
bgbsww
71892a1d72
Toponaming: bring in missing code fragments in App
2024-05-12 17:21:49 -04:00
bgbsww
dbaaa95974
Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers
2024-05-12 16:22:23 -04:00
bgbsww
45c4aefaae
Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers
2024-05-12 13:28:20 -05:00
Kacper Donat
2e6af15880
Gui: Reuse QActions for workbench activation
...
This fixes segfault that can occour due to keeping reference to QAction
that is supposed to change workbench.
2024-05-12 19:05:14 +02:00
Kacper Donat
b1a11a6ab0
Gui: Fix wrong orientation of workbench tab bar after start
...
This replaces old mechanism that was based on storing tab bar
orientation in user settings with one that delays initialization by half
of a second to ensure that toolbar is placed where in right place.
2024-05-12 19:05:14 +02:00
Kacper Donat
82f6b68307
Gui: Use RTL layout when Wb Tab Bar is placed in right corner
...
Right corner is placed to the right edge of screen, so its natural
growth occours on the left side. Basically it is Right to Left order and
so in that case the "end" is actually on left and so TabBar should grow
in that direction.
Unfortunately it is not possible to simply use RTL Qt feature to handle
that case as it would result in reverse order of workbenches (people will still
read it in LTR order) and icons on the right which is not wanted. That's
custom support is introduced.
2024-05-12 19:05:14 +02:00
Kacper Donat
37d6ba2898
Gui: Adjust sizing of Workbench TabBar when changing orientation
...
This should fix issues when toolbar containing Workbench TabBar suddenly
(or not) changes orientation. It also fixes size policies so toolbar
resizes properly and does not cause window to grow.
Fixes : #13286
2024-05-12 19:05:14 +02:00