Commit Graph

38744 Commits

Author SHA1 Message Date
Jiří Pinkava
b2faf00fa3 BIM: drop unnecessary setPixmap from wellcome window
The image is already set in the UI file, it is not necessary to set it again
2024-09-16 13:27:25 +02:00
Jiří Pinkava
c8a12f81e8 BIM: adjust size of wellcome window to fit content
The actual optimal size of the window depends on many details, like UI style, system fonts,
OS etc ... so lets auto-resize the window to fit the content before display.
2024-09-16 13:27:25 +02:00
Roy-043
b6599c5315 Draft: Fix regression with layer print color
Problem with the same cause as #16212.
2024-09-16 10:07:40 +02:00
hoshengwei
9b63b1b4d9 fix Material TaskPanel Load Preset not working bug 2024-09-16 10:03:26 +02:00
Kacper Donat
b4923d1c58 Gui: Use FreeCAD Theme only for FreeCAD stuff 2024-09-14 17:38:47 +02:00
Yorik van Havre
f09dfa72d0 Draft: Fixed restrained movement - Fixes #16386 2024-09-13 13:20:45 -06:00
Chris Hennes
5fb2361d63 Merge pull request #15262 from Rexbas/fix-alignment-direction
Move getGlobalPlacement() and fix alignment direction for transformed objects
2024-09-13 13:09:23 -06:00
Jacob Oursland
f8c4842d6f Windows: Make FreeCAD.exe debuggable on PDB builds. 2024-09-13 12:30:10 -06:00
Jacob Oursland
c80ab28f41 CMake: conda-macos-* do not search Homebrew for dependencies. 2024-09-13 12:28:05 -06:00
Jacob Oursland
b6ac2b2920 Base: switch header include type for consistency with codebase. 2024-09-13 12:27:18 -06:00
Jiří Pinkava
ede67d4b24 GUI: Fix tree visibility click when a tree item gets collapsed
The tree can change shape during handling the mousePressEvent() event,
because some part of the tree can be (un)folded. This might lead to
shift of the three (up or down). The position of items in tree change
relatively to the position of mouse (which stays in place).
If the visibility click is handled after mousePressEvent, the shift in
position can lead to cursor beeing over visibility icon and the click
is handled like if the visibility icon vas clicked, which is unexpected.

Handling the visibility click first fixes this. The setAccepted(true),
was removed, it is left to the subroutine to set it.
2024-09-13 13:24:42 -05:00
Chris Hennes
9de78e27f4 Core: Bump minor version, now 1.1dev 2024-09-13 08:51:27 -05:00
Jacob Oursland
a64fd6babe Version: set development branch back to 'dev' suffix. 2024-09-13 08:51:27 -05:00
Chris Hennes
14ca86827d Merge pull request #16480 from benj5378/measurementSegFault
[Measure] Redirect enter key press to apply button
2024-09-13 08:42:41 -05:00
wmayer
86806cb353 Port: Include changes of FreeBSD port 2024-09-13 08:31:54 -05:00
Yorik van Havre
6c5e90a6d2 Draft: Fixed function case 2024-09-13 15:00:47 +02:00
Yorik van Havre
8ef66ad73d Draft: Fixes error in Draft trackers when not on a 3D view 2024-09-13 15:00:47 +02:00
hoshengwei
5d87b26a91 fix ArchMaterialTaskPanel wrong import BimClassification Path
1. fix ArchMaterialTaskPanel wrong import BimClassification Path and icon after BIM merge into Arch

2. change taskpanel name to BIM material 

3. fix Qt slot and signal (more up to date style)
2024-09-13 12:11:56 +02:00
Roy-043
3fd57efbb0 Use max instead of if-else for numerical checks (as per linter warning) 2024-09-13 12:07:52 +02:00
Roy-043
ba6dd5858e Draft: fix division by zero and count is zero for path arrays
Fixes #16468.
2024-09-13 12:07:52 +02:00
Adrián Insaurralde Avalos
a4f742a2f7 GUI: Fix splashscreen for single image (#16428)
* fix splashscreen for single image
* improve clarity of splashscreen load order logic
* fix splashscreen with no _2x variant
2024-09-12 21:49:35 -05:00
Chris Hennes
e5990fe146 Merge pull request #16465 from mosfet80/mosfet80-patch-2
fix CXX standard selection
2024-09-12 21:35:19 -05:00
Chris Hennes
71599f1589 Merge pull request #16403 from oursland/conda-clang-format
conda: Add clang-format to the developer's environment.
2024-09-12 21:26:28 -05:00
Chris Hennes
db2aa8ae93 Merge pull request #16451 from wwmayer/fix_qt6_warnings
Fix Qt6 warnings
2024-09-12 21:22:37 -05:00
Benjamin Bræstrup Sayoc
5bd595c0d3 [Gui] Handle unset style preferences in clipboard about info
FIxes #16391
2024-09-12 21:20:02 -05:00
Scott Noyes
49ed687afc consistent preposition 2024-09-12 21:17:55 -05:00
Chris Hennes
4ca08595ad Merge pull request #16355 from CalligaroV/Sketcher-checkSubName-from-LS3
Sketcher/Toponaming: import SketchObject::checkSubName() from LS3
2024-09-12 21:11:39 -05:00
Benjamin Bræstrup Sayoc
e20ab85fd3 [Measure] Redirect enter key press to apply button
Fixes #16401. Now call of the save function is dependent on whether the apply button is enabled. The button is only enabled if valid objects to save.
2024-09-12 16:23:17 +02:00
Benjamin Bræstrup Sayoc
a7831eee4b [Measure] Fix redundant variable assignment 2024-09-12 16:17:29 +02:00
luzpaz
77b3311f57 TechDraw: fix typo ballon->balloon 2024-09-12 09:25:40 -04:00
Yorik van Havre
b06943c5e1 BIM: Fixed bug in BimViews - fixes #16452 2024-09-12 14:30:41 +02:00
Furgo
5fa7fb757a Check location and call corresponding addObject, add missing import. Fixes #16435 2024-09-12 14:29:10 +02:00
Kacper Donat
781c9b6b84 Gui: Force OpenGL rendering for main window
This is big hack for Qt6 to force rendering using OpenGL from the
beginning. Since Qt6 OpenGL context is initialized only after creating
first QOpenGLWidget which results in window hiding and showing again
after some delay. This causes various timing issus as the window is not
supposed to do that.
2024-09-12 13:27:44 +02:00
wmayer
0946c6880d StartPage: Make sure to pass a container widget to the QScrollArea
Fixes #16047: FreeBSD: Segfault in StartView::firstStartWidgetDismissed
2024-09-12 12:04:23 +02:00
wmayer
8f1a533045 MSVC: Fix several compiler warnings 2024-09-12 11:58:36 +02:00
Roy-043
40e71af920 BIM: fix BIM_Setup license issue
FreeCAD currently has 19 standard licenses. BIM_Setup could only handle the first 10.

Forum post:
https://forum.freecad.org/viewtopic.php?p=781578#p781535
2024-09-12 11:00:39 +02:00
Benjamin Bræstrup Sayoc
5785cb589b [TechDraw] Fix uncentered balloon label 2024-09-11 20:04:30 -04:00
mosfet80
95c42d0be3 fix CXX standard selection
only   CXX 23, 20 and 17 standards are allowed
2024-09-11 21:08:44 +02:00
pre-commit-ci[bot]
9d040467ac [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-11 14:39:34 +00:00
wmayer
36db6a98cb Qt6: QLocale::countryToString and QLocale::country() are deprecated since Qt 6.6 2024-09-11 16:34:59 +02:00
wmayer
10a5d67109 Qt6: Several methods of QMouseEvent are deprecated since Qt 6.0 2024-09-11 16:33:19 +02:00
xtemp09
614a14fe87 [GUI] Make some strings untranslatable in Light Sources dialog 2024-09-11 08:41:07 -05:00
wmayer
fe69762652 Qt6: QColor::setNamedColor is deprecated since Qt 6.6 2024-09-11 15:41:04 +02:00
Adrián Insaurralde Avalos
85ade21436 CI: add version to cache key for libpack/ccache download actions for win 2024-09-10 14:06:05 -04:00
Adrián Insaurralde Avalos
d095a91f64 Fix compiler cache for conda linux builds 2024-09-10 14:06:05 -04:00
spanner888
a4313f358e save after del, new, add (#16230)
Co-authored-by: spanner888 <spanner888@users.noreply.github.com>
2024-09-10 11:20:35 -05:00
sliptonic
6ac0cb7588 set default directory for sanity (#15934)
Respond correctly if user cancels  Fixes #14796

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
2024-09-10 10:23:13 -05:00
Roy-043
3503d677a9 BIM: BimWindow.py add missing imports (#16308) 2024-09-10 12:24:29 +02:00
Furgo
5af5936c24 BIM: Fixes profile tool positioning (#16305)
* [BIM] Get working plane when picking a point

Fixes: #16284

* Use the new way of getting the Draft Working Plane
2024-09-10 11:48:39 +02:00
Jacob Oursland
d7fc2d66e1 conda: Add clang-format to the developer's environment. 2024-09-09 20:13:00 -07:00