wmayer
3c1bf8e864
Core: Extend Color API
...
* Fix issues with alpha value <> transparency
* Use type traits to convert between different color classes (fixes #14515 )
2024-11-15 12:25:25 -05:00
Chris Mayo
4837da4cf3
Remove xpmMap from BitmapFactory
...
No longer used since:
7f1c795a89 ("update hardcoded XPMs to .svg files. Updated .svg icons for clarity.", 2024-03-23)
2024-11-15 12:05:57 -05:00
Snow Faerie
8e8bad8ee6
Add shortcut: Ctrl+,: Preferences
...
FreeCAD doesn't have a shortcut for Preferences.
As far as I know there is no established standard for Preferences. I
chose Ctrl+, as that is used by a number of applications, like VS Code,
nautilus and gedit.
2024-11-15 11:57:32 -05:00
Snow Faerie
1ff4b2020b
Add Ctrl+{B,I,U} to Spreadsheet; remap File/Import
...
Adds hotkeys for Bold, Italic and Underline in Spreadsheet.
Ctrl+I was taken by File/Import... This patch remaps that to Ctrl+Shift+I.
2024-11-15 11:57:18 -05:00
Furgo
3fcf91c94f
Fix enabling/disabling notificationWidth
2024-11-15 11:52:24 -05:00
Chris Hennes
be35d862a4
Merge pull request #16813 from Ondsel-Development/core_placement_ui
...
Core: Remove unecessary ':' cluttering Placement.ui
2024-11-12 15:02:10 -05:00
Ladislav Michl
72bc8ae627
Gui: set Qt attributes in setupApplication()
2024-11-12 07:59:47 +01:00
Ladislav Michl
a3316ac99e
Gui: DlgAbout: convert std::string directly to QString
2024-11-12 07:59:47 +01:00
Ladislav Michl
5d59972678
Gui: SplashSreen: convert std::string directly to QString
2024-11-12 07:59:47 +01:00
Ladislav Michl
37e04a8775
Gui: refactor Splashscreen
...
Move About dialog class to the separate source file.
2024-11-12 07:59:44 +01:00
Ladislav Michl
3f870deb51
Gui: refactor hiddenMainWindow usage
2024-11-12 07:53:38 +01:00
Adrian Insaurralde Avalos
275eccb4dc
Gui: extend version info to specify flatpak and conda builds
2024-11-11 15:30:27 -03:00
Benjamin Bræstrup Sayoc
18c463bcbb
[Gui] Center expression icon
2024-11-11 18:32:34 +01:00
PaddleStroke
902f9072db
Core: QuantitySpinbox: Change truncate value from 18 to 12. Ensuring a more reasonable width.
2024-11-11 18:31:17 +01:00
hasecilu
b5b570867f
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
04f0e7a330
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
56a897cc96
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
a20d70d71a
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
c7c23ca158
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
579e1c5bbd
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
d7c49329a2
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
f383e59eff
Core: Write a log message instead of warning when locking a file fails
2024-11-01 16:10:51 +01:00
wmayer
de18adba03
Core: Add wrapper function Application::applicationPid()
2024-11-01 15:48:01 +01:00
wmayer
f2c9b9f94e
Core: Don't freeze application if lock file already exists
2024-11-01 15:02:22 +01:00
PaddleStroke
3bc7f1e85e
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
d6660f88ed
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
7f10bef82b
Gui: show cpu architecture in version info instead of word size
...
Fix #15833
2024-10-28 21:48:28 -05:00
wmayer
e30a42b647
Core: Fix compiler warning
2024-10-28 19:06:31 +01:00
Adrian Insaurralde Avalos
d3a7b55886
Gui: use wildcard for some warnings filters. Fix #16687
2024-10-28 17:39:18 +01:00
Pieter Hijma
4bb45cb70d
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
58835498a2
[Macros Dialog] Fix broken toolbar walkthrough
2024-10-28 17:10:12 +01:00
Benjamin Bræstrup Sayoc
ff28df61f1
[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
f4aed92df4
Gui: Correct spin sensitivity
2024-10-28 09:54:28 -05:00
wmayer
2c8101363c
Core: Refactor Document::setEdit
2024-10-27 13:13:11 -05:00
wmayer
b46453648b
Core: Handle possible nested calls of TreeWidget::onUpdateStatus()
...
Fixes #17460
2024-10-24 23:11:37 -05:00
Pieter Hijma
b1709292a0
Gui: Fix tooltip/documentation in VarSet dialog
2024-10-24 23:01:12 -05:00
Jiří Pinkava
b57478139e
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
56ae35b0f2
Remove unused LibraryInfo class
2024-10-24 21:50:13 -05:00
Michael Fuchs
672a5f8a7d
Replace About/Libraries with ThirdPartyLibraries.html
...
Use system browser to open external links
2024-10-24 21:50:13 -05:00
mwganson
2736ab56af
[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
3a39556b49
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
b2823c78d1
Core: Fix Ctrl-deselection issue
2024-10-21 18:31:06 +02:00
wmayer
d67bb37bc7
Core: Set unit scheme when switching between unsaved documents
...
Fixes #17297
2024-10-21 18:17:30 +02:00
Yorik van Havre
a1aefb8aa6
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
a94ae50d27
Switch back to default filename for exports after the active document changes. Fixes #16839
2024-10-21 18:10:42 +02:00
Benjamin Nauck
f4860bf981
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
06cf87d097
Gui: Set spin projector sphere depending on rotation center
2024-10-21 18:04:38 +02:00
Yorik van Havre
3aec74de0b
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
28c2f2b805
Gui: try calling graphviz binaries from PATH by default [ fix #15224 ]
2024-10-21 17:32:47 +02:00
Benjamin Nauck
b104731c4e
Repost QFileOpenEvent event to avoid an undefined state
2024-10-20 19:04:02 +02:00