Commit Graph

5826 Commits

Author SHA1 Message Date
Ladislav Michl
bf1a276977 Gui: set Qt attributes in setupApplication() 2024-11-12 07:59:47 +01:00
Ladislav Michl
d6c9f9c8fe Gui: DlgAbout: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
038562220c Gui: SplashSreen: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
0a9e1bc9e8 Gui: refactor Splashscreen
Move About dialog class to the separate source file.
2024-11-12 07:59:44 +01:00
Ladislav Michl
cff4245a85 Gui: refactor hiddenMainWindow usage 2024-11-12 07:53:38 +01:00
Adrian Insaurralde Avalos
46831f4c86 Gui: extend version info to specify flatpak and conda builds 2024-11-11 15:30:27 -03:00
Benjamin Bræstrup Sayoc
e661774a29 [Gui] Center expression icon 2024-11-11 18:32:34 +01:00
PaddleStroke
4649b678f2 Core: QuantitySpinbox: Change truncate value from 18 to 12. Ensuring a more reasonable width. 2024-11-11 18:31:17 +01:00
hasecilu
16897e2f63 DependencyGraph: Tweak dot flags to prevent overlaped edges
- `-Granksep=2` lets increase the separation between groups (nodes),
ideally should depend on graph size
- `-Goutputorder=edgesfirst` lets place the edges first to allocate more
space for them
- `-Gsplines=ortho` changes the edges from curves to straight,
orthogonal lines

Fix #10207
2024-11-11 18:21:53 +01:00
Yorik van Havre
36c6a9ffa0 Merge pull request #17782 from wwmayer/issue_17770
Unhandled std exception dragging Cylindrical joint
2024-11-11 17:56:04 +01:00
Yorik van Havre
a9b4cb5611 Translations (#17725)
* Translations: updated ts files

* Translations: merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-11 17:01:52 +01:00
wmayer
72728ece52 Core: In View3DInventorViewer::getPointOnXYPlaneOfPlacement throw exception
If no intersection point can be found throw a Base::RuntimeError
2024-11-11 01:10:44 +01:00
Yorik van Havre
0995c04c80 Merge pull request #17609 from wwmayer/issue_17576
Core: Don't freeze application if lock file already exists
2024-11-04 18:08:51 +01:00
Bas Ruigrok
513103718b Gui: Fix camera behavior when rotation center is far from object
Also fixes a regression in turntable navigation speed
2024-11-04 17:59:19 +01:00
wmayer
4143c551bb DAG: Add method hasRecord() and use it in Model::slotChangeObject
to avoid a possible failing assert().

Fixes #17572
2024-11-04 17:56:57 +01:00
wmayer
4c6de459dc Core: Write a log message instead of warning when locking a file fails 2024-11-01 16:10:51 +01:00
wmayer
c6f083b3e7 Core: Add wrapper function Application::applicationPid() 2024-11-01 15:48:01 +01:00
wmayer
7820ca7f73 Core: Don't freeze application if lock file already exists 2024-11-01 15:02:22 +01:00
PaddleStroke
4f323f9580 Core: Enable TaskDialogs to associate view (#17373)
* Core: Add possibility for task dialogs to associate a view and be able to close when associated view is closed.

* TaskImage: Use task dialog view association.

* Sketcher: Use task dialog view association. Preventing crash (https://github.com/FreeCAD/FreeCAD/issues/16702)

* EditableDatumLabel: Use QPointer to prevent crash
2024-10-29 09:58:11 -05:00
David Carter
37d0cc7cc5 Materials: Selectively apply appearances
Change the appearance only if the appearance hasn't been set explicitly.
A cached material appearance is used to see if the current appearance
matches the last material. It is also compared against an empty
material to see if the saved material value has been initialized.

This solves the problem of material changes overwriting appearance
changes
2024-10-28 21:49:45 -05:00
Adrian Insaurralde Avalos
9ab3bef651 Gui: show cpu architecture in version info instead of word size
Fix #15833
2024-10-28 21:48:28 -05:00
wmayer
a65d05c6e4 Core: Fix compiler warning 2024-10-28 19:06:31 +01:00
Adrian Insaurralde Avalos
763fab69b1 Gui: use wildcard for some warnings filters. Fix #16687 2024-10-28 17:39:18 +01:00
Pieter Hijma
d215ff1844 Gui: Make VarSet dialog modal
Also tracks its own transactions to prevent interfering with other
transactions.
2024-10-28 17:33:14 +01:00
mwganson
8163ac159e [Macros Dialog] Fix broken toolbar walkthrough 2024-10-28 17:10:12 +01:00
Benjamin Bræstrup Sayoc
954bae725e [Gui] Make styles update on paint (#17376)
* [Gui] Make styles update on paint

Fixes #15756. Similar implementation to that already in FileCardDelegate.cpp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-28 16:48:47 +01:00
Bas Ruigrok
1cf5b23927 Gui: Correct spin sensitivity 2024-10-28 09:54:28 -05:00
wmayer
c5c64a9c70 Core: Refactor Document::setEdit 2024-10-27 13:13:11 -05:00
wmayer
499d192393 Core: Handle possible nested calls of TreeWidget::onUpdateStatus()
Fixes #17460
2024-10-24 23:11:37 -05:00
Pieter Hijma
f4fe481344 Gui: Fix tooltip/documentation in VarSet dialog 2024-10-24 23:01:12 -05:00
Jiří Pinkava
9ba6bc1b9e Disable Qt bug 129596 workeround for QT >= 6.8.1
The fix is also in 6.5.8+, but honestly I would not bother ...
2024-10-24 22:30:38 -05:00
Michael Fuchs
ecf005e23b Remove unused LibraryInfo class 2024-10-24 21:50:13 -05:00
Michael Fuchs
d2411dfe13 Replace About/Libraries with ThirdPartyLibraries.html
Use system browser to open external links
2024-10-24 21:50:13 -05:00
mwganson
a6006fc11a [Python Console] prevent crash on autocomplete if python module is invalid, fixes issue #17299 2024-10-24 21:22:50 -05:00
Adrián Insaurralde Avalos
5979ebd6f8 Gui: extend warning filters
filter out:
-qt.qpa.wayland
-kf.config.core
-kf.kio.widgets
-kf.service.sycoca
-kf.solid.backends.udisks2
2024-10-21 18:33:25 +02:00
PaddleStroke
44c3e6658c Core: Fix Ctrl-deselection issue 2024-10-21 18:31:06 +02:00
wmayer
5435b3e4db Core: Set unit scheme when switching between unsaved documents
Fixes #17297
2024-10-21 18:17:30 +02:00
Yorik van Havre
1576df5937 Merge pull request #17367 from hyarion/fix-open-with-file-crash
Workaround for macOS crash when loading FreeCAD by opening a `.FCStd` file from Finder
2024-10-21 18:16:36 +02:00
Michael Fuchs
6f87fc090e Switch back to default filename for exports after the active document changes. Fixes #16839 2024-10-21 18:10:42 +02:00
Benjamin Nauck
4eb7d5d09c Add "Safe mode" which temporarily disables configs and addons (#16858)
* Add safe-mode which starts freecad in a clean environment

* Integrate safe-mode

* Show "(Safe Mode)" in main window title

* Show safe mode info when safe mode is started

* Created Safe Mode Icon

* Use new icon

* Add PreCompiled.h

* Add exports for windows

---------

Co-authored-by: Gabriel <gaz082@gmail.com>
2024-10-21 18:08:52 +02:00
Bas Ruigrok
66002908c7 Gui: Set spin projector sphere depending on rotation center 2024-10-21 18:04:38 +02:00
Yorik van Havre
416489e07c Merge pull request #17265 from wwmayer/issue_17250
Core: Add convenience class ModuleIO to open files
2024-10-21 17:40:10 +02:00
Adrian Insaurralde Avalos
d15722863c Gui: try calling graphviz binaries from PATH by default [fix #15224] 2024-10-21 17:32:47 +02:00
Benjamin Nauck
d569098cb6 Repost QFileOpenEvent event to avoid an undefined state 2024-10-20 19:04:02 +02:00
Benjamin Nauck
a85d03d807 Revert "Make sure splasher is stopped before showing dialog"
This reverts commit 104a3b90b0.
2024-10-20 18:40:40 +02:00
Yorik van Havre
9c6bd61fd6 GUI: Added dedication to @bgbsww in about dialog/credits 2024-10-17 20:17:39 -05:00
Pieter Hijma
bc6376c3a9 Core: Fix VarSet add property dialog Esc segfault (#17215)
* Core: Fix VarSet add property dialog Esc segfault

* Core: Improve the way disconnect is handled

* Core: Add a check for a non-existing property
2024-10-17 20:14:50 -05:00
Kris Wilk
9806a46324 Use Qt built-in to determine the system's preferred fixed-width font 2024-10-16 08:50:00 -05:00
wmayer
0b13ed3722 Core: Use ModuleIO in MainWindow::loadUrls 2024-10-15 14:06:36 +02:00
wmayer
a4b555ea29 Core: Use ModuleIO in RecentFilesAction & RecentMacrosAction 2024-10-15 14:06:09 +02:00