Commit Graph

32118 Commits

Author SHA1 Message Date
Paddle
ccb9d7faeb Move all the preference pages to PreferencePages subfolder. 2023-08-08 11:12:48 +02:00
Paddle
7c83085491 Change DlgEditor file name 2023-08-08 11:12:48 +02:00
Paddle
aec3d3cb1d Change DlgEditor to DlgSettingsEditor 2023-08-08 11:12:48 +02:00
Paddle
cf72ebcc57 Change DlgReportView file names. 2023-08-08 11:12:48 +02:00
Paddle
b49e786bcf Replace DlgReportView by DlgSettingsReportView in the files. 2023-08-08 11:12:48 +02:00
Paddle
9ddf44bb92 Change the 'DlgGeneral' file names. 2023-08-08 11:12:48 +02:00
Paddle
6eb72e2696 Replace DlgGeneralImp by DlgSettingsGeneral. 2023-08-08 11:12:48 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
96aabe113e modernize C++: raw string literal 2023-08-07 19:51:15 -06:00
Paddle
61daaceb8f Add 'type' to MetadataPy, MetadataPyImp and addonmanager_metadata.py 2023-08-07 10:52:08 -06:00
Paddle
ff92f5d0cf Add highlight color and focus color to theme customization. 2023-08-07 10:52:08 -06:00
Paddle
27fa8229ee Prevent the pref pack widget from showing themes 2023-08-07 10:52:08 -06:00
Paddle
1d2e3fa9d6 - Create a 'Theme' pref page in which 'StyleSheet' is moved, and a secondary color pref is created.
- 'StyleSheet' combobox is removed from general and replaced by a 'Theme' combobox.
- Theme combobox triggers the pref packs of type 'Theme'.
2023-08-07 10:52:08 -06:00
Paddle
0636d7d19e Add 'type' metadata to build-in themes preference packs. 2023-08-07 10:52:08 -06:00
Paddle
a0438de381 Add 'type' to MetaData 2023-08-07 10:52:08 -06:00
bdieterm
c9028e46fe Part: allow reduction of Part ViewProvider tesselation resolution
Problem description
To display a shape, the ViewProvider creates a mesh of the shape data. The
resolution depends also on the two parameters "Angular Deflection" and
"Deviation" in the View properties. (The values of these parameters are also
updated for all objects when changing these settings in the Preferences
dialog).
Changing the parameters from a high value to a lower value has an immediate
effect on the displayed shape -- for example a circle will be displayed finer
with more line segments. But changing the parameter back to the higher value
(with less resolution) will keep the finer view-mesh instead of calculating a
coarser one. To get back to the coarse view, the object has to be manually
recomputed or the file re-opened.

Solution
I just set the meshing parameter AllowQualityDecrease to True. I guess that
this was not implemented before because this parameter is quite new (introduced
in OCC v7.5 in the year 2020).
2023-08-07 10:19:58 -06:00
MisterMaker
125406a764 [Stylesheets] Sliders and some cleanup. (#9910)
Improve sliders and checkboxes

* Delete CMakePresets.json
* Delete VSInheritEnvironments.txt
* Fix for calltips transparant issue https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* removed inkscape from a bunch of svg files
* Small bug grid color for draft workbench was to dark.
* The sketcher colors are added.
* The transparant calltips: https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* There were some corner dots that I removed.
* I fixed the splitter not working with hovering.
* I also removed the extra dark splitter background, so now you won't see the splitters unless you hover over them.
* Also fixed the url label color.
* These fixes can be tested true the theme's beta addon.
* added preference packs
* Fix for transparant in Qwidget disabled. https://github.com/FreeCAD/FreeCAD/issues/10077
2023-08-07 10:05:00 -06:00
Yorik van Havre
16540a7f6d Merge pull request #9909 from Rexbas/rotationcenter
Gui: Add rotation center indicator
2023-08-07 17:57:13 +02:00
Benjamin Bræstrup Sayoc
33384cff9c [Everywhere] FileInfo::hasExtension for multiple values (#9774)
* [Base] Add hasExtension for multiple values

* [Gui] Use hasExtension for multiple values

* [Drawing] Use hasExtension for multiple values

* [Fem] Use hasExtension for multiple values

* [Import] Use hasExtension for multiple values

* [Mesh] Use hasExtension for multiple values

* [Part] Use hasExtension for multiple values

* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
tomate44
9587393ca3 Surface: fix BlendCurve relative size
values independent of the number of control points are more intuitive
2023-08-07 09:53:00 -06:00
Petter Reinholdtsen
f998ab5b9c Avoid Debian specific binary name and path and only include argument change. 2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
f2129fc6db Change XDG desktop entry to only run single instance of FreeCAD.
This ensure invoking it to open different files only start the
program once, and load new files into the already running instance.

Patch by Håvard Flaget Aasen <haavard_aasen@yahoo.no> and
Tobias Frost <tobi@debian.org>.

Related to https://bugs.debian.org/1029846 and
c7a21ecbee .

Been part of the Debian edition of FreeCAD since 2021.
2023-08-07 09:38:42 -06:00
wmayer
f94b026456 modernize C++: use transparent functors 2023-08-07 16:08:35 +02:00
wmayer
c7a17468e7 modernize C++: use noexcept 2023-08-07 16:06:58 +02:00
wmayer
4f10fc4fa0 modernize C++: use emplace 2023-08-06 20:29:56 -06:00
wmayer
89d529ab7b modernize C++: use using 2023-08-06 23:17:10 +02:00
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
0penBrain
51a34d1fbd Gui: convert TreeView prefs in General/Selection to PrefCheckBox 2023-08-05 16:29:39 -06:00
0penBrain
601c1f9437 Gui: move pre/-selection prefs to General/Selection + clarify behavior 2023-08-05 16:29:39 -06:00
wmayer
5a7824b646 Mesh: for invalid neighbour facet indexes explicitly use -1
The underlying C++ class use an unsigned long to reference neighbour facets. ULONG_MAX is used to indicate a missing neighbour facet.
Since the value of ULONG_MAX is platform dependent and can be confusing in Python the Python wrapper FacetPy now explicitly uses -1 to indicate missing neighbour facets
2023-08-05 15:32:11 -06:00
tomate44
df9c8f6556 Part: add optional tolerance to python sortEdges() 2023-08-05 15:17:26 -06:00
Tobias Falk
5965956293 added PDF/A-1b compliancy to all PDF export functions
for more details about this look at: https://www.kdab.com/creating-pdfa-documents-qt/
2023-08-05 14:46:11 -06:00
Connor Worrell
8cad3940a1 [GUI] QuantitySpinBox: Regex optimization. 2023-08-05 11:23:46 -06:00
wmayer
d244dcf2da modernize C++: use nullptr 2023-08-05 11:23:12 -06:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
ca84a0662d Sheet: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
899932cec0 Part/PD: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
bb23aaf3e9 Core: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
andrea
a4929211d4 remove qt4 references
Removed find and include mocked files (QT4)
2023-08-04 21:24:36 -06:00
wmayer
5621a0089f Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
andrea
170c2b9957 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
andrea
6c2a5c1539 removed coin<3 references 2023-08-04 21:19:29 -06:00
wmayer
6a726f6c88 Core: report the real error of a failed feature after a recompute 2023-08-04 18:47:44 -06:00
Morgan 'ARR\!' Allen
f8f02f0895 add cstdint behind ifdef __GNUC__ for compiling under alpine linux
note: in other headers there is a mix of including the ifdef
2023-08-04 18:45:22 -06:00
Chris Hennes
ea49b3fe78 GUI: Add prominent dev build indicators 2023-08-04 18:21:39 -06:00
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
3975f31f89 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
d2c9f8cbdc TD: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
30249e6550 Sketch: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
eb49318ad6 Fem: modernize C++: use override 2023-08-04 17:09:53 +02:00