Uwe
918f1e562a
[Gui] preferences: add button to switch gradient colors
...
- when finding a suitable background color gradient, it is annoying that there is no button to switch the begin/end color of the gradient. With the button one can quickly see the the changes and find a suitable gradient much quicker
2022-07-10 02:19:01 +02:00
Uwe
06157e3e3d
[Gui] [skip CI] DlgPreferencesImp: a code style improvement
2022-07-10 00:14:34 +02:00
Uwe
030aba9b92
[Part] [PD] add preferences setting for transparency
...
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
0penBrain
43772e985c
Gui: implement temporary blocker for console observer
2022-07-05 13:35:18 +02:00
0penBrain
077114163a
[BUGFIX] Gui: correctly restore message type enabling in report view
2022-07-05 13:35:18 +02:00
0penBrain
1f1551bb5e
[BUGFIX] Gui: correctly save and restore warning type enabling in report view
2022-07-05 13:35:18 +02:00
wmayer
b3eca1447d
Gui: show thumbnails in file dialog
2022-07-04 14:49:53 +02:00
wmayer
ac2e215119
Gui: make sure to use FileIconProvider in FileDialog and delete it after closing the dialog
2022-07-04 13:17:11 +02:00
wmayer
55828c22c0
Py: make FreeCAD to compile with Py3.11
2022-07-01 17:54:50 +02:00
Uwe
122f5a358a
[Gui] [skip CI] update for DlgProjectInformation.ui
...
- done automatically by Qt Designer
2022-07-01 03:09:50 +02:00
wmayer
0f5725b34a
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
wmayer
97f9320bb3
Core: fix minor issues:
...
+ fix issues found by clang's clazy tool
+ fix cppcoreguidelines-pro-type-member-init
* Make sure that all class members are initialized in the constructor
2022-06-30 16:31:16 +02:00
wmayer
82a6241fc5
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
8ed913f217
Gui: remove workaround for spnav 0.23 due to build failure with musl libc
2022-06-29 15:19:18 +02:00
wmayer
299c20e918
Gui: get rid of some const_cast
2022-06-28 15:26:02 +02:00
wmayer
2628fb0350
App: fix memory leaks in Enumeration class and simplify code
2022-06-25 18:18:57 +02:00
wmayer
1459fd61a4
cppcoreguidelines-special-member-functions
...
* disable move constructor and move assignment for several core classes
2022-06-25 17:46:48 +02:00
wmayer
223de8f60f
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-pun using union for type-punning is undefined behaviour.
See also https://en.wikipedia.org/wiki/Type_punning#Use_of_union . Replace it with std::memcpy.
2022-06-25 17:17:04 +02:00
wmayer
d5340a82ab
Gui/Mod: replace several reinterpret_cast with static_cast
2022-06-25 11:36:55 +02:00
wmayer
4791575e31
Gui: remove some superfluous const_cast
2022-06-24 14:48:52 +02:00
wmayer
f5235a8057
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
4c34ae7398
Merge pull request #7067 from Kuzma30/add_ts
...
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
mosfet80
c48a569696
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
0penBrain
1c16e512db
[BUGFIX] Gui: fix mouse Gesture navigation mode
...
Regression introduced by commit 5ce0bb7
2022-06-24 01:03:53 +02:00
marioalexis
ae56fb62a7
Gui: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
luzpaz
3a9caa928c
Stylesheets: fix typos
...
[skip ci]
2022-06-21 20:39:01 -04:00
Kuzemko Alexsandr
b99ccc6193
Crowdin Update .ts files with current source.
2022-06-21 17:31:06 +03:00
wmayer
8499e8fba6
Gui: expose SoQtOffscreenRenderer to Python
2022-06-21 12:55:17 +02:00
Uwe
552e0bdd3a
[core] update version number
...
NOTE: this is purposely version 0.21, despite the release goal is 1.0
Since we issue weekly builds, people might otherwise misunderstand the version
So first when the release goal is reached, FreeCAD becomes version 1.0
2022-06-20 00:56:55 +02:00
Uwe
0828d769e8
[Gui] remove unnecessary Boolean comparisons
2022-06-19 15:17:01 +02:00
Uwe
9ca09017c0
[Gui] View.cfg: fix typo
2022-06-17 01:30:11 +02:00
Uwe
380000cb30
[Gui] Add more general color settings to Preference Pack
...
- also sort the file entries
2022-06-17 01:23:09 +02:00
Uwe
30989389af
[Gui] Add more saving view data in Preference Pack
...
- it was reported that the user-visible settings like the NaviCube size etc. cannot be saved via a preferences pack
2022-06-17 01:21:28 +02:00
Chris Hennes
8062d28bad
Gui: Add saving view data in Preference Pack
2022-06-16 11:48:47 -05:00
wmayer
5d560405b8
Gui: add overloaded version of cmdAppDocument and cmdGuiDocument() that has a string as first parameter
2022-06-13 15:21:55 +02:00
Chris Hennes
0c33741785
GUI: Preliminary support for HiDPI splashscreen
2022-06-13 15:19:40 +02:00
wmayer
cf321ef481
Gui: implement '*' operator for weak pointer classes
2022-06-13 13:52:34 +02:00
wmayer
8949715627
Gui: [skip ci] set Std_LinkMakeRelative as WhatsThis name
2022-06-13 11:01:36 +02:00
Uwe
e93dca254b
[Gui] make What's This? work for sublinks
2022-06-13 02:42:37 +02:00
wmayer
5bad428702
Gui: add function to determine size that a quantity spin box would need to display a certain text
2022-06-12 20:01:41 +02:00
Uwe
c44a15d3d9
[GUI] fix screenshot watermark
...
as reported here: https://forum.freecadweb.org/viewtopic.php?p=601651#p601651
2022-06-12 18:39:14 +02:00
Yorik van Havre
05301abfcb
Merged crowdin translations
2022-06-12 11:56:37 +02:00
VM4Dim
9a4af08b71
Fix for non-Latin Group name in Tree View
2022-06-11 15:24:25 -04:00
Yorik van Havre
3af0623431
Merged crowdin translations
2022-06-10 11:03:57 +02:00
Yorik van Havre
6aaa94d2f2
Updated ts files
2022-06-10 10:29:18 +02:00
Yorik van Havre
56264248eb
Merged crowdin translations
2022-06-09 13:40:35 +02:00
wmayer
3057abfae9
Gui: use expresion 'keyboard shortcut' to avoid incorrect translation
2022-06-09 13:15:41 +02:00
wmayer
9cd7500d65
Gui: improve German translation
2022-06-09 12:15:29 +02:00
marioalexis
a72d1c7b7d
Gui: Improve docstrings in AxisOriginPy.xml
2022-06-08 20:20:57 +02:00
Yorik van Havre
6d479e6cda
Generated ts files
2022-06-08 12:32:59 +02:00