Commit Graph

4846 Commits

Author SHA1 Message Date
wmayer
5a153e50ff Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
88784694f6 Gui: add missing precompiled header 2023-08-22 15:45:22 +02:00
Syres916
b799cef4ca [Gui] Add new Selection Filter functionality (#2)
* [Gui] Add Selection Filters

* [Gui] Add Selection Filters to Toolbar

* [Gui] Add Selection Filter Icons

* [Gui] Add 4 new Selection filter Icon Files

* [Gui] Update Context Menu

* [Gui] Add default Selection Filter icon

* [Gui] Update resource.qrc with new icon

* [Gui] Add SelectFilter dropdown toolbar

* [Gui] Update Content Menu and Toolbar

* [Gui] Icon changed to Plain SVG

* [Gui] edge-selection icon as Plain SVG

* [Gui] vertex-selection icon as Plain SVG

* [Gui] selection-filter.svg replace metadata
2023-08-21 11:07:04 -05:00
wmayer
c016f1c1fb Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
marioalexis
44884ecaf7 Gui: Change SoQtOffscreenRendererPy to new PyCXX extension type 2023-08-20 12:02:17 +02:00
wmayer
5f0ec490e6 Core: modernize C++: return braced init list 2023-08-19 11:35:41 +02:00
Chris Hennes
09edbbebaf Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
661b6da0cb 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
8f08d8c7cd Lint: fix several issues discovered by clazy 2023-08-18 08:44:49 -05:00
wmayer
54bb9c9c62 Gui: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
Connor Worrell
2636e164f3 [GUI] QuantitySpinBox Regex Optimization #10067 Ammendum 2023-08-17 15:57:43 -05:00
marioalexis
2cfada7601 Gui: Change ExpressionBindingPy to new PyCXX extension type 2023-08-17 16:02:07 +02:00
Chris Hennes
28f396cc75 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Rexbas
fcbee3ad49 Gui: Improve object center rotation mode 2023-08-16 16:02:32 -05:00
Pieter Hijma
d07dd67ba1 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
8da37ae635 Update DlgSettings3DView.ui 2023-08-16 13:29:35 +02:00
Jonas Bähr
3e68d6fd50 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
05df2da6b4 Gui: Change SelectionFilterPy to new PyCXX extension type 2023-08-16 08:39:14 +02:00
Paddle
acb63fa79d Theme: Fix the issue that the stylesheet combobox did not update when theme changed. 2023-08-16 08:14:07 +02:00
Paddle
d65495e20e 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
fd8965767f Replace Darker-color, Dark-modern-color, light-color, light-modern-color by stylesheets using variables. 2023-08-15 14:35:39 +02:00
Paddle
8cea75434b When theme color change we set the stylesheet. 2023-08-15 14:35:39 +02:00
Paddle
71d06363c6 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
be6e881ab5 Move the stylesheet combobox to the end of the page and change name/tooltip. 2023-08-15 14:35:39 +02:00
Paddle
2818c60f6d Stylesheet : Replace Dark-color by single Dark stylesheet. 2023-08-15 14:35:34 +02:00
Paddle
d40cfeb6da Core: Stylesheets: Adds support for variables in stylesheets. 2023-08-15 14:35:29 +02:00
wmayer
2725c3a54f Gui: modernize C++: use range-based for loop 2023-08-14 19:42:18 +02:00
Paddle
9b60b0c9e8 Pref Theme : Change name of colors. 2023-08-14 08:11:58 +02:00
Chris Hennes
0f434d4e02 Merge pull request #10125 from cjmayo/desktopfilename
Finish renaming desktop filename to org.freecad.FreeCAD
2023-08-13 14:24:18 -07:00
luzpaz
3d0bfa214f Fix various typos 2023-08-13 08:17:01 -07:00
Chris Hennes
2ee7a9266a 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
58ef6c244e Pref: Theme: Make sure theme has changed before saving the setting. 2023-08-11 13:19:19 +02:00
Paddle
3899304b37 Pref: Theme: Solves #10136 2023-08-11 13:19:19 +02:00
wmayer
9f456d712b modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
wmayer
8bb0edc9f0 Gui: fix another tabstop compilation warning
See also #10105
2023-08-10 17:01:45 +02:00
wmayer
c664cbc941 fixes #10105: Tabstop assignment compilation warning 2023-08-09 16:29:31 +02:00
Syres916
675877fcad Improve Sliders with some colour 2023-08-09 10:53:29 +02:00
Syres916
6d5cb8ef54 Improve grammar and remove whitespace 2023-08-09 10:53:29 +02:00
Syres916
c6eb321f54 Improve Visibility for Urls and Expressions 2023-08-09 10:53:29 +02:00
Paddle
e1094724db Preference Page Theme : remove jun from .ui file. 2023-08-09 10:19:29 +02:00
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
d150fa7164 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
1ea0f22c61 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
292196a606 Gui: Expose the upDirection vector to Python 2023-08-08 13:53:50 -04:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
luzpaz
93ddce5008 Fix various typos 2023-08-08 14:25:00 +02:00
Paddle
8431d13bef Move DlgSettingsTheme 2023-08-08 11:12:48 +02:00
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