Commit Graph

32939 Commits

Author SHA1 Message Date
wmayer
484e0d50c4 Gui: fix several pending issues of image scale:
* refactor some functions
* do not use mdi view of active document as parent for spin box because this can be the wrong widget
* fix compiler warnings of unused variables
* fix typo
* handle Qt::Key_Return in event filter
* fix lint error
2023-04-20 16:52:06 +02:00
sliptonic
eb3889cb77 Merge pull request #9295 from FreeCAD/master
Path: mediate JobEdit tool name truncation
2023-04-20 07:10:30 -05:00
Yorik van Havre
f379891f6e Merge pull request #9304 from yorikvanhavre/arch-recycler-fix
Arch: Allow the IFC export recycler to work with other templates
2023-04-20 13:54:53 +02:00
Yorik van Havre
8d1877f64c Merge pull request #9323 from berndhahnebach/bhbdev247
ARCH, export ifc, add workaround for placement problem in IfcOS serializer
2023-04-20 12:06:05 +02:00
Roy-043
2bc8ed561e [Draft] Disable Draft_AddConstruction if there is no selection (#9322) 2023-04-20 08:51:44 +02:00
J-Dunn
f956da1423 Merge branch 'master' into master 2023-04-20 07:23:44 +02:00
Bernd Hahnebach
6340ef1b96 ARCH, export IFC, serializer, workaround for placement problem 2023-04-20 00:17:03 +02:00
J-Dunn
7c4518c7aa Path: JobEdit setWordWrap(False)
Turn off word wrap on JobEdit Tool tab to prevent TC name truncation. 
Also add translate() to new tooltips.
2023-04-19 23:36:25 +02:00
wmayer
f1571a7d4d Gui: declare methods as override 2023-04-19 17:38:56 +02:00
Przemo Firszt
001656a132 [COPR] Fix broken builds
Fixes by mr-milky, edited by PrzemoF
2023-04-19 17:38:14 +02:00
Roy-043
8ecce37277 [Arch] remove obsolete decode code (#9316)
* Update ArchCommands.py

* Update ArchPanel.py

* Update ArchReference.py

* Update ArchWall.py

* Update import3DS.py

* Update importDAE.py

* Update importIFClegacy.py

* Update importOBJ.py

* Update importSHP.py

* Update importSHP.py

Reverted

* Update importSH3D.py
2023-04-19 15:58:06 +02:00
luzpaz
0e1530be59 Draft: linting bad indentations, superflous markup (#9313) 2023-04-19 09:48:57 +02:00
luzpaz
fdca2d49f7 Arch: lint bad indentation, superfluous formatting (#9310) 2023-04-19 09:40:16 +02:00
Yorik van Havre
c55cae44b9 Merge pull request #9314 from chennes/addAppToCrowdIn
Add App to CrowdIn
2023-04-19 09:17:39 +02:00
Chris Hennes
a5d187c24d Tools: Apply Black to updatecrowdin.py 2023-04-18 22:41:19 -05:00
Chris Hennes
fb6ea28fd5 Tools: Add App to CrowdIn upload 2023-04-18 22:37:23 -05:00
Chris Hennes
4a01b5cf6b Merge pull request #9299 from chennes/translateGeometryCheckResults
Part: translate geometry check results
2023-04-18 10:46:24 -05:00
Chris Hennes
5981d2ef54 Merge pull request #9305 from chennes/toolbarMenuTranslationStrings
GUI: Add missing toolbar translation strings
2023-04-18 10:45:50 -05:00
Chris Hennes
b7cc1effd7 Merge pull request #9292 from chennes/femGuiToolsTranslation
FEM: Fix translation of long phrase
2023-04-18 09:32:26 -05:00
Chris Hennes
bc23af1067 Merge pull request #9302 from ronnystandtke/i18n_command_body
i18n for CommandBody
2023-04-18 09:29:17 -05:00
luzpaz
e7ced1f7cb Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Chris Hennes
aeb059fc7a GUI: Add missing toolbar translation strings 2023-04-18 09:21:19 -05:00
Artyom V. Poptsov
ed343317d4 ArchPanel: Remove "utf8_decode=True" from "translate" calls (#9279)
* src/Mod/Arch/ArchPanel.py: Remove deprecated "utf8_decode=True" from
  "translate" calls.
2023-04-18 16:18:01 +02:00
luzpaz
69d03ffc79 Arch: fix linting for ArchStairs.py (#9276)
* Arch: fix linting for ArchStairs.py

Fix bad indentation

* Arch: fix linting for ArchStairs.py (cont.)

Fixed long line, superflous parathesis, and formatting
2023-04-18 16:15:35 +02:00
Yorik van Havre
2449d842b9 Arch: Allow the IFC export recycler to work with other templates
The IFC export recycler always assumes to be used from the Arch builtin
IFC exporter from exportIFC.py. This change allows it to be used with
other templates/input files as well
2023-04-18 15:01:47 +02:00
Ronny Standtke
ff324c9df7 fixed typo 2023-04-18 12:24:21 +02:00
Ronny Standtke
726e786493 added i18n for new body labels 2023-04-18 12:23:37 +02:00
Chris Hennes
059b9eddce Merge pull request #8982 from ConnorWorrell/SpinboxFractionInputForMerge
[GUI] QuantitySpinBox: more intuitive parsing
2023-04-17 21:47:48 -05:00
Chris Hennes
a41912946d Merge pull request #9291 from chennes/translateToolRemoveBOM
Translate tool remove BOM
2023-04-17 21:33:17 -05:00
Chris Hennes
42f062fe0d Merge pull request #9284 from dodomorandi/fix-event-type-ub
Fix wrong downcasting of QEvent
2023-04-17 21:32:34 -05:00
wandererfan
3d0d65b41c [TD]make scrubbing count a property of view 2023-04-17 20:43:20 -04:00
Edoardo Morandi
e6323b9bc8 fix: UB by erroneous event downcasting
When an event type is `QEvent::Wheel`, the event type is `QWheelEvent`,
which is not a `QMouseEvent`. This caused a undefined behavior that can
be cached by ubsan.
2023-04-17 23:42:15 +02:00
Chris Hennes
73c706fb1b Merge pull request #9298 from Ondsel-Development/fix_wb_autoload
Pref: Wb: disabling wb do not disable auto-load.
2023-04-17 16:13:37 -05:00
Chris Hennes
9f2094c86e Part: translate geometry check results 2023-04-17 16:06:15 -05:00
Paddle
77073a9710 Pref: Wb: disabling wb do not disable auto-load. 2023-04-17 21:37:46 +02:00
Chris Hennes
04e0fdd012 Merge pull request #9199 from Ondsel-Development/image_task
Image: Merge taskboxes into one 'Image plane Settings'.
2023-04-17 14:24:35 -05:00
Chris Hennes
6d099f0b65 Merge pull request #9290 from chennes/translateSoFCColorText
Gui: Add translations for color bar labels
2023-04-17 12:25:16 -05:00
Chris Hennes
8268c63005 Merge pull request #9293 from chennes/translateExportErrorDialog
Gui: Fix translation of Export error dialog
2023-04-17 11:14:38 -05:00
Paddle
b6372e376f TaskImage: Fix segfault when doc closed before taskview is dismissed. 2023-04-17 16:03:11 +02:00
Paddle
a69ac4717c TaskImage: Remove 'outside picture' mode. 2023-04-17 15:10:13 +02:00
J-Dunn
e5836bad23 Path : mediate JobEdit tool name truncation
reducing feed-rate column headers to V and H to reduce truncation due to  (Qt.ElideMode) bugginess.
2023-04-17 10:12:24 +02:00
Chris Hennes
ee47e614e1 Gui: Fix translation of Export error dialog 2023-04-16 21:27:28 -05:00
Chris Hennes
5cb6e0733f FEM: Fix translation of long phrase
The lupdate tool does not correctly parse Python string concatenation. Also, .format() calls should be made on the string returned from tr(), not on the string going into it.
2023-04-16 21:13:54 -05:00
Chris Hennes
7e6f554401 Gui: Add translations for color bar labels 2023-04-16 20:58:42 -05:00
Chris Hennes
2dabffbf6c Tools: Apply Black formatter to updatets.py 2023-04-16 20:54:32 -05:00
Chris Hennes
e363a27c97 Tools/updatets.py: clean up file formatting issues. 2023-04-16 20:54:22 -05:00
wandererfan
ffd3f9b1a2 [TD]fix unwanted inversion in edge scrubbing 2023-04-16 16:34:09 -04:00
Chris Hennes
d94f864fae Merge pull request #9287 from xtemp09/gui-fix2
[GUI] Setting initial color of QColorDialog
2023-04-16 13:19:09 -05:00
Chris Hennes
918007af56 Merge pull request #9286 from dodomorandi/fix-uninit-variable
Fix uninitialized member variable
2023-04-16 13:17:16 -05:00
sliptonic
3801c6010c Merge pull request #9167 from nik570/Fangling_postprocessor
Path: Added post processor for Fangling plasma cutter
2023-04-16 12:23:15 -05:00