Commit Graph

4843 Commits

Author SHA1 Message Date
wmayer
888a33917d Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
marioalexis
28e0f5e9ff Gui: Change SoQtOffscreenRendererPy to new PyCXX extension type 2023-08-20 12:02:17 +02:00
wmayer
50af46b7c9 Core: modernize C++: return braced init list 2023-08-19 11:35:41 +02:00
Chris Hennes
bac14e81f7 Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
a29e62de92 Merge pull request #10238 from Ondsel-Development/pref_theme_2
[Preferences] theme : Variables in stylesheet and more.
2023-08-18 08:49:34 -05:00
wmayer
ff1981fcdc Lint: fix several issues discovered by clazy 2023-08-18 08:44:49 -05:00
wmayer
fa8978ce99 Gui: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
Connor Worrell
b4787c1ee1 [GUI] QuantitySpinBox Regex Optimization #10067 Ammendum 2023-08-17 15:57:43 -05:00
marioalexis
5af2a3c07a Gui: Change ExpressionBindingPy to new PyCXX extension type 2023-08-17 16:02:07 +02:00
Chris Hennes
58cf9f3212 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Rexbas
20c462f45a Gui: Improve object center rotation mode 2023-08-16 16:02:32 -05:00
Pieter Hijma
2c5a4b71eb Gui: Cleanup Python varargs
Various function existed that had no arguments but were still treated as
if they were vararg functions.  This has no been changed to
add_noargs_method declarations, cleaning up the code.
2023-08-16 15:07:09 +02:00
howie-j
c3d1836345 Update DlgSettings3DView.ui 2023-08-16 13:29:35 +02:00
Jonas Bähr
34b176c1db Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
marioalexis
53844f7fe8 Gui: Change SelectionFilterPy to new PyCXX extension type 2023-08-16 08:39:14 +02:00
Paddle
a222f64a93 Theme: Fix the issue that the stylesheet combobox did not update when theme changed. 2023-08-16 08:14:07 +02:00
Paddle
d48226fe92 Create themes for Behave-Dark, ProDark, Dark-Contrast. Rename other themes to remove 'theme' from name. 2023-08-15 14:35:39 +02:00
Paddle
53ae3fc175 Replace Darker-color, Dark-modern-color, light-color, light-modern-color by stylesheets using variables. 2023-08-15 14:35:39 +02:00
Paddle
f63122aa7a When theme color change we set the stylesheet. 2023-08-15 14:35:39 +02:00
Paddle
efd7e9034b SetStylesheet: Remove comparaison to current stylesheet as now we have variables in stylesheet. This check is done in the Theme pref page now. 2023-08-15 14:35:39 +02:00
Paddle
3e6c4acd0b Move the stylesheet combobox to the end of the page and change name/tooltip. 2023-08-15 14:35:39 +02:00
Paddle
66697eaec4 Stylesheet : Replace Dark-color by single Dark stylesheet. 2023-08-15 14:35:34 +02:00
Paddle
ecc16958e6 Core: Stylesheets: Adds support for variables in stylesheets. 2023-08-15 14:35:29 +02:00
wmayer
e09d8aaba6 Gui: modernize C++: use range-based for loop 2023-08-14 19:42:18 +02:00
Paddle
55c45b62ca Pref Theme : Change name of colors. 2023-08-14 08:11:58 +02:00
Chris Hennes
047448bc7b Merge pull request #10125 from cjmayo/desktopfilename
Finish renaming desktop filename to org.freecad.FreeCAD
2023-08-13 14:24:18 -07:00
luzpaz
5b698e6b68 Fix various typos 2023-08-13 08:17:01 -07:00
Chris Hennes
6541e13294 Gui: Tweak size of developer warning
Ensure that the warning adapts to the font size and text length as needed.
2023-08-12 10:24:05 -07:00
Paddle
37ad74519f Pref: Theme: Make sure theme has changed before saving the setting. 2023-08-11 13:19:19 +02:00
Paddle
c547e3cddf Pref: Theme: Solves #10136 2023-08-11 13:19:19 +02:00
wmayer
7fe0d5b9a6 modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
wmayer
12bd92cdf5 Gui: fix another tabstop compilation warning
See also #10105
2023-08-10 17:01:45 +02:00
wmayer
c15be7d714 fixes #10105: Tabstop assignment compilation warning 2023-08-09 16:29:31 +02:00
Syres916
2d4f379d9d Improve Sliders with some colour 2023-08-09 10:53:29 +02:00
Syres916
d5feaae615 Improve grammar and remove whitespace 2023-08-09 10:53:29 +02:00
Syres916
d34ceeae26 Improve Visibility for Urls and Expressions 2023-08-09 10:53:29 +02:00
Paddle
7e833518b3 Preference Page Theme : remove jun from .ui file. 2023-08-09 10:19:29 +02:00
Chris Hennes
3bad74fe7d Update translations 2023-08-08 17:52:59 -06:00
wmayer
948cbfccd9 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
Chris Mayo
bbb87fcf0d Fix hicolor theme application icon names
Fixed-size icons were not available as org.freecad.FreeCAD and
XDGData/org.freecad.FreeCAD.svg was a duplicate of Gui/Icons/freecad.svg.
2023-08-08 19:25:14 +01:00
Pieter Hijma
c765d64891 Gui: Expose the upDirection vector to Python 2023-08-08 13:53:50 -04:00
wmayer
52e1c7c33b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
luzpaz
a6202bc3ce Fix various typos 2023-08-08 14:25:00 +02:00
Paddle
4f4919a3c8 Move DlgSettingsTheme 2023-08-08 11:12:48 +02:00
Paddle
34eb609415 Move all the preference pages to PreferencePages subfolder. 2023-08-08 11:12:48 +02:00
Paddle
6487627b12 Change DlgEditor file name 2023-08-08 11:12:48 +02:00
Paddle
b9d65bd0fa Change DlgEditor to DlgSettingsEditor 2023-08-08 11:12:48 +02:00
Paddle
bc7c159dd1 Change DlgReportView file names. 2023-08-08 11:12:48 +02:00
Paddle
dc738f0dee Replace DlgReportView by DlgSettingsReportView in the files. 2023-08-08 11:12:48 +02:00
Paddle
760f014274 Change the 'DlgGeneral' file names. 2023-08-08 11:12:48 +02:00