Aik-Siong Koh
3326c33d83
Assembly: Simulation implementation
2024-12-03 20:07:04 +01:00
wmayer
7fdc3b807a
Fix compiler warnings
2024-12-03 10:16:08 +01:00
Ladislav Michl
0ee3c9f8e6
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
4c4fe8cc75
Gui: Fix VarSet dialog 2 digit problem
2024-12-02 12:17:56 -05:00
wmayer
63ad7d3fea
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
a8ecf5c517
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
9f0e9a2af4
Clean MainWindow.cpp
...
Removed unused code
2024-11-30 14:13:46 +01:00
Jiří Pinkava
800a5cffbb
Gui: remove unused MDITabbar and MainWindowTabBar classes
2024-11-29 21:20:57 +01:00
Max Wilfinger
45a95599a0
remove .xpm icons
2024-11-29 12:09:42 -05:00
PaddleStroke
ef3445e9e1
Core / Assembly: Add a way for vp edit modes to be restored.
2024-11-29 12:04:25 -05:00
bdieterm
9410a5e982
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
ac788df608
Sketcher: Rename External to Projection
2024-11-29 11:36:55 -05:00
wmayer
a372678e98
Gui: Support of converting 64-bit images
2024-11-28 19:41:18 +01:00
wmayer
b9cc17b2fd
Gui: Add a new display mode for image without shading
2024-11-28 19:39:00 +01:00
wmayer
238390127b
Gui: Allow to override onBeforeChange in view objects
2024-11-28 19:38:10 +01:00
wwmayer
c0b9191cf5
Add doc string to SoFCTransform
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2024-11-28 19:31:44 +01:00
wmayer
f7da5f8505
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
5202748c0a
Gui: Fix some linter warnings
2024-11-28 18:41:42 +01:00
wmayer
f741655bf6
Gui: Apply clang-format
2024-11-28 18:41:42 +01:00
wmayer
82b4dcd58a
Gui: Fixes #16637 : Can no longer set transparency of Link faces
2024-11-28 18:41:42 +01:00
wmayer
d798901515
Core: Fix crash in ActiveObjectList
...
Forum: https://forum.freecad.org/viewtopic.php?t=91823
2024-11-28 17:15:39 +01:00
wmayer
3595c301b7
Gui: Refactor PreferencePackManager & DlgPreferencePackManagementImp
2024-11-27 20:29:44 -05:00
Ladislav Michl
6860aab7ee
Gui: propertyeditor: use std::string setPropertyValue
...
Avoid std::string->QString->std::string where possible.
2024-11-27 17:28:16 +01:00
Ladislav Michl
a80c87c3a7
Gui: propertyeditor: add setPropertyValue with std::string argument
2024-11-27 17:28:16 +01:00
Ladislav Michl
7c2acdbf09
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
8e04c0a3dd
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
370c08213c
Core: Fix unicode path names under Windows
2024-11-26 11:22:11 -05:00
wmayer
7912dc2a62
Gui: Fix issues in About dialog
2024-11-26 09:41:24 -05:00
BMaxV
d365d66413
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
3ef47da598
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
5969df37f4
Sketcher infinite axes
2024-11-25 18:27:10 +01:00
Benjamin Nauck
8945260a7e
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
a9bc28daa0
Add Std_Point.svg icon for datum points
2024-11-25 18:06:28 +01:00
PaddleStroke
93c807b6a6
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
fe1cfca339
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
eebe20806d
Gui: Add "px" suffix on preference page as width unit
2024-11-25 17:52:51 +01:00
Chris Hennes
64f63ae97e
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
b63ba9b4f4
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: e78f74b01a
2024-11-22 12:20:14 -05:00
luzpaz
6034f06383
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
500e5bed1c
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
3db3f7546d
Gui: Add overloaded function Document::openEditingView3D(const App::DocumentObject*)
2024-11-22 12:00:56 -05:00
Pieter Hijma
e63c335e05
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
be1622176c
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
aea09d4a45
MSVC: Fix compiler warnings
2024-11-22 16:53:00 +01:00
luzpaz
ed40de3e23
Fix various typos
...
Found via codespell.
2024-11-15 20:18:46 +01:00
OfficialKris
b3a2268289
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
OfficialKris
4e0f3185b1
Moved items in the Help menubar
2024-11-15 18:51:14 +01:00
Benjamin Bræstrup Sayoc
3578d1ff7f
[Gui] Vertically center method icon in calltips
2024-11-15 18:47:53 +01:00
Max Wilfinger
616028efe5
Merge pull request #15957 from hasecilu/fix/capitalization
...
TechDraw: Fix capitalization of 2D and 3D
2024-11-15 18:37:47 +01:00
wmayer
ffa3fa5b5a
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