Commit Graph

4823 Commits

Author SHA1 Message Date
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
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
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
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
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
wmayer
f94b026456 modernize C++: use transparent functors 2023-08-07 16:08:35 +02: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
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
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