Florian Foinant-Willig
326a439d5b
[Core] Fix for frozen status
...
A frozen object prevents the document to be saved
The frozen status propagates into object inheritance
A frozen sketch is no more editable
Transform and Placement can't be changed for a frozen object
The freeze icon is reduced
2024-12-06 11:56:48 -05:00
wmayer
e34fd72956
App: Extend/change color API:
...
* Also set/get alpha value in setValue/asValue
* Add new static method fromValue
2024-12-06 11:37:45 -05:00
luzpaz
2d40efd555
Fix various typos
...
Found with codespell
2024-12-04 23:18:00 -05:00
Vincent Belpois
e3508d9228
Fix incorrect displayed default compression level in preferences
2024-12-04 09:50:50 -05:00
Aik-Siong Koh
5d143d1f59
Assembly: Simulation implementation
2024-12-03 20:07:04 +01:00
wmayer
d1ef73dddc
Fix compiler warnings
2024-12-03 10:16:08 +01:00
Ladislav Michl
e62b91ada4
Base: Drop QString-std::string conversion functions from Tools
...
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html ).
Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString ).
2024-12-02 23:30:53 -05:00
Pieter Hijma
46dfa2e39b
Gui: Fix VarSet dialog 2 digit problem
2024-12-02 12:17:56 -05:00
wmayer
c5bb5def46
Gui: Do not ignore alpha channel when converting QImage to SoSFImage
...
Fixes #18213 : Sketcher constraints have black box backgrounds
2024-12-01 20:14:00 -05:00
Stephen Hurd
9749a07130
Fix compile on FreeBSD with spnav
...
If spnav is installed on a FreeBSD system, it will be detected,
but the build will fail. With this change, it both builds
successfully and works on FreeBSD.
2024-12-01 10:40:30 +01:00
mosfet80
5e9f2cf6ad
Clean MainWindow.cpp
...
Removed unused code
2024-11-30 14:13:46 +01:00
Jiří Pinkava
edef0ba3c0
Gui: remove unused MDITabbar and MainWindowTabBar classes
2024-11-29 21:20:57 +01:00
Max Wilfinger
165f353db7
remove .xpm icons
2024-11-29 12:09:42 -05:00
PaddleStroke
3357baef99
Core / Assembly: Add a way for vp edit modes to be restored.
2024-11-29 12:04:25 -05:00
bdieterm
1a00b40f12
Gui: use utf-8 encoding for saving recorded macros
...
FCMacros always have the header "# -*- coding: utf-8 -*".
But the QTextStream class in Qt5 does not always use utf-8 for saving the text file.
2024-11-29 11:55:17 -05:00
PaddleStroke
4a15ca643b
Sketcher: Rename External to Projection
2024-11-29 11:36:55 -05:00
wmayer
3cec8114b5
Gui: Support of converting 64-bit images
2024-11-28 19:41:18 +01:00
wmayer
e76e9ebc4f
Gui: Add a new display mode for image without shading
2024-11-28 19:39:00 +01:00
wmayer
a303eaf28e
Gui: Allow to override onBeforeChange in view objects
2024-11-28 19:38:10 +01:00
wwmayer
cdaff41fbe
Add doc string to SoFCTransform
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2024-11-28 19:31:44 +01:00
wmayer
8b70bf5cb1
Core: Implement SoFCTransform node
...
In its doAction() method it only sets the model matrix if it's not the identity matrix.
This improves the issue #7606
2024-11-28 19:31:44 +01:00
wmayer
a7c75f102a
Gui: Fix some linter warnings
2024-11-28 18:41:42 +01:00
wmayer
a9694be87b
Gui: Apply clang-format
2024-11-28 18:41:42 +01:00
wmayer
6ac794b8e3
Gui: Fixes #16637 : Can no longer set transparency of Link faces
2024-11-28 18:41:42 +01:00
wmayer
62d504d0a1
Core: Fix crash in ActiveObjectList
...
Forum: https://forum.freecad.org/viewtopic.php?t=91823
2024-11-28 17:15:39 +01:00
wmayer
cb772755e1
Gui: Refactor PreferencePackManager & DlgPreferencePackManagementImp
2024-11-27 20:29:44 -05:00
Ladislav Michl
962b8d4faa
Gui: propertyeditor: use std::string setPropertyValue
...
Avoid std::string->QString->std::string where possible.
2024-11-27 17:28:16 +01:00
Ladislav Michl
00ce52c432
Gui: propertyeditor: add setPropertyValue with std::string argument
2024-11-27 17:28:16 +01:00
Ladislav Michl
fc30ac6fbd
Gui: propertyeditor: Reformat, fix line endings
...
Instead of fixing whitespaces do a full reformat according to
current rules. No other changes.
2024-11-27 17:28:16 +01:00
Yury Shvedov
7a1ac850e2
Gui: take in account module-path argument
...
Use paths passed with `--module-path` argument to search for preference
packs
Change-Id: If168dbd99a826757290ee6b918f5b712305fe2bb
2024-11-27 15:43:28 +01:00
wmayer
1c03c53bff
Core: Fix unicode path names under Windows
2024-11-26 11:22:11 -05:00
wmayer
1db64e018e
Gui: Fix issues in About dialog
2024-11-26 09:41:24 -05:00
BMaxV
77deda9b6f
Change button text to confirm copy. ( #17696 )
...
* Change button text to confirm copy.
* translation and timer->reset
* timer->single shot + text variable
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-11-25 13:59:49 -06:00
Max Wilfinger
e8a66d5323
Merge pull request #18125 from Ondsel-Development/core_LCS1
...
Core Datum : Card 1 : icons
2024-11-25 20:58:42 +01:00
Florian Foinant-Willig
ea8814785a
Sketcher infinite axes
2024-11-25 18:27:10 +01:00
Benjamin Nauck
518e6b2c51
Add two options to disable addons
...
Addons can be disabled in two ways:
* by adding a command line argument `--disable-addon <addon>`
* and by creating a `ALL_ADDONS_DISABLED` file in the mod root of the addons to disable
2024-11-25 12:16:43 -05:00
PaddleStroke
0bd5144ad9
Add Std_Point.svg icon for datum points
2024-11-25 18:06:28 +01:00
PaddleStroke
6150907cc0
Update Std_Axis.svg as it had poor visibility in dark themes: planes and axis looked both like planes.
2024-11-25 18:06:27 +01:00
hasecilu
145f95202a
Gui: Add suffix to programatically generated preference page's spinboxes
...
Units contain a leading space.
Command to generate the C++ code on `src` dir:
$ python3 -m cogapp -r Gui/PreferencePages/DlgSettingsAdvanced.{h,cpp}
2024-11-25 17:52:51 +01:00
hasecilu
8ae5f0c167
Gui: Add "px" suffix on preference page as width unit
2024-11-25 17:52:51 +01:00
Chris Hennes
889c5ea516
Merge pull request #15528 from ppphp/move_some_inventor
...
refactor: move some nodes to Inventor folder
2024-11-22 12:20:50 -05:00
bdieterm
b9ec2ee3db
Gui: improve performance of macro execution and fix time measurement
...
This commit improves the performance of Python code from FreeCAD macros by:
* using the chrono C++ stdlib header instead of QTime
* checking for the elapsed time ONLY every 1000th Python opcode execution
And this commit fixes time measurement by using a monotonic time source
instead of a normal one.
The previous implementation using QTime would give a negative time duration
if the start time is 23:59:59 and the end time is 00:00:01.
related commit: beeda0e47f051722d6096c99bd949b390e197bdc
2024-11-22 12:20:14 -05:00
luzpaz
bb66de4739
Gui: Remove newline from dialog string
...
This commit removes superflous newline that disrupts the flow of the sentence displayed in the VarSet dialog. See #16776
2024-11-22 12:13:53 -05:00
Chris Hennes
b1ae9ac258
Merge pull request #17767 from wwmayer/issue_17764
...
Core: Avoid cyclic dependencies when dragging an object into a group
2024-11-22 12:11:15 -05:00
wmayer
d50e8bdfe3
Gui: Add overloaded function Document::openEditingView3D(const App::DocumentObject*)
2024-11-22 12:00:56 -05:00
Pieter Hijma
6f47183b53
Gui: Improve localization support in VarSet dialog ( #17480 )
...
* Gui: Improve localization support in VarSet dialog
* Gui: Adopt QObject translate
This is not the ideal implementation but for the 1.0 release this is
currently the better option. A separate issue has been filed for post
1.0 in https://github.com/FreeCAD/FreeCAD/issues/17510 that also covers
the `DlgAddProperty`.
2024-11-22 11:00:19 -06:00
wmayer
f71d152d66
Core: Fix dangling pointer in SoFCUnifiedSelection::setSelection
...
This fixes #17965 : Measurement: Crash when clicking on COM label
2024-11-22 17:02:28 +01:00
wmayer
ac14e2c960
MSVC: Fix compiler warnings
2024-11-22 16:53:00 +01:00
luzpaz
a633be7342
Fix various typos
...
Found via codespell.
2024-11-15 20:18:46 +01:00
OfficialKris
4d4c4fc708
Modified text of all items on help menu
...
Used ToolTipText for StatusTip on all menu items
Modified some of the MenuTexts
Modified some of the Pixmaps
2024-11-15 18:57:39 +01:00