Commit Graph

136 Commits

Author SHA1 Message Date
Chris Hennes
b160f1afc0 Merge pull request #18244 from wwmayer/space_mouse_runtime
Gui: Add runtime check to choose between modern and legacy space mous…
2024-12-09 11:36:17 -05:00
Furgo
ad50bb9bef Improve Notification Area settings (#15207)
* Initial UI mockup for notification area settings

* First iteration of adapting the code to the Notification area settings UI reorg

* Remove redundant code to enable/disable widgets

* Reorganize notification area settings UI, improve settings and tooltips text

* Auto-wrap tooltips, add tooltips for each group

* Remove trailing space

* Fix merge error

* Further fixes from merge error

---------

Co-authored-by: WandererFan <WandererFan@gmail.com>
2024-12-06 11:15:52 -06:00
Vincent Belpois
a97677ed2f Fix incorrect displayed default compression level in preferences 2024-12-04 09:50:50 -05:00
wmayer
3884e2c34a Gui: Add runtime check to choose between modern and legacy space mouse devices 2024-12-03 18:54:21 +01:00
hasecilu
fe1cfca339 Gui: Add suffix to programatically generated preference page's spinboxes
Units contain a leading space.

Command to generate the C++ code on `src` dir:
$ python3 -m cogapp -r Gui/PreferencePages/DlgSettingsAdvanced.{h,cpp}
2024-11-25 17:52:51 +01:00
hasecilu
eebe20806d Gui: Add "px" suffix on preference page as width unit 2024-11-25 17:52:51 +01:00
luzpaz
ed40de3e23 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01:00
Max Wilfinger
616028efe5 Merge pull request #15957 from hasecilu/fix/capitalization
TechDraw: Fix capitalization of 2D and 3D
2024-11-15 18:37:47 +01:00
Furgo
645415b846 Fix enabling/disabling notificationWidth 2024-11-15 11:52:24 -05:00
Kris Wilk
9806a46324 Use Qt built-in to determine the system's preferred fixed-width font 2024-10-16 08:50:00 -05:00
Syres916
8b53daf263 [Gui] Disable the ability to change themes and preference packs... 2024-10-10 20:25:30 -05:00
Jiří Pinkava
9008373919 Gui: fix warning with duplicate name in DlgSettingsLightSources 2024-10-03 13:22:48 -05:00
Jiří Pinkava
a47800d9cc Gui: Fix path to QRC file in PreferencePages UI file
QtCreator, when the file is opened, reports reference to .qrc filewhich
does not exists. It looks like a missing piece from ccb9d7faeb.
2024-09-20 08:43:13 -05:00
xtemp09
c9452e2c0f [GUI] Move the Push In and Pull Out buttons to the left side
Closes #16587.
2024-09-20 08:19:46 -05:00
Jiří Pinkava
60b8c89fc4 Gui: fix size of ComboBox in Preferences/Navigation
Fixes visual artifact in the Preferences/Navigation dialog. The
default value for this field is 0 (at least for some Qt versions),
which does not make sense, because the element would be invisible.

Also the element is actually invisible when editing the UI file in
QtCreator.

Using the default "max" value set for other fields.
2024-09-16 18:07:14 +02:00
hasecilu
a90aebeec2 Fix some typos on several files
- Missing spaces
- Missing commas
- 3D, G-code, Git, SPOOLES, Python capitalization
2024-09-14 12:07:51 -06:00
xtemp09
614a14fe87 [GUI] Make some strings untranslatable in Light Sources dialog 2024-09-11 08:41:07 -05:00
xtemp09
0995e1d5ec [GUI] Enable sort of zoom in Light Sources dialog 2024-09-09 18:27:51 +02:00
wwmayer
977e13795a Gui: Prepare for clang-format (#16051)
* Gui: Prepare for clang-format

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-02 17:48:55 +02:00
Kacper Donat
833dc8c36f Gui: Add maximum width for font picker in navigation settings 2024-08-31 13:17:06 -05:00
xtemp09
ebf02483af Reimplementation of Light source dialog (#15877)
* Reimplementation of Light source dialog

Closes #15793.

* Gui: Remove redundant void arguments

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-22 18:58:14 -05:00
Max
f79a230db1 Change default to not include the icon file to the file thumbnail on save.
Windows renders the application image on top so it appears twice.
Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
2024-08-12 11:37:38 -04:00
Chris Hennes
362cf1c80e Gui: Fix crash in DlgSettingsLightSources
Fixes #13357
2024-08-08 21:34:28 -04:00
MisterMaker
c4bb689a85 Stylesheet fixes part IV - A new hope (to be done for 1.0) (#15586)
* Qcolor dialog fixes

* Fix for white hoover on tabbar

* Changes active color and selected feature color

* update same colors in cfg

* fix for tab pan in material editor

* some fixes

mostly theme accent colors fixes.

* fixed text edit being cut off

https://github.com/FreeCAD/FreeCAD/issues/15603

* extend arrow fix

https://github.com/FreeCAD/FreeCAD/issues/15616

* checkboxes links qpushbuttons etc.

Fixed https://github.com/FreeCAD/FreeCAD/issues/15610#event-13642470770
and hopefully also
https://github.com/FreeCAD/FreeCAD/issues/15136#issuecomment-2254156398

* fixed selection-text color in the preference menu also White is white.

* forgot checkbox spacing for light

* colors update

fix for https://github.com/FreeCAD/FreeCAD/issues/15660#event-13670498420
and
https://github.com/FreeCAD/FreeCAD/issues/15620#issuecomment-2251144435

* Delete CMakeSettings.json

* get out of here

* title a tat higher

* change rubberband from white to blue to make it work with white background.

* setting the colors.

* tree colors
2024-07-29 17:31:17 -05:00
Chris Hennes
fe702349e8 Merge pull request #15652 from kadet1090/ui-fixes
Gui: Cosmetic Fixes
2024-07-29 11:26:58 -05:00
Kacper Donat
d927cfc438 Gui: Remove unnecessary minimumSizes from Preferences
QT treats setting minimum size very seriously - it applies even if
the size required by the control is smaller than specified resulting in
rendering too small controls.
2024-07-28 00:00:09 +02:00
Kacper Donat
b3f3b12292 Gui: Fix minor preference pages issues 2024-07-27 20:29:38 +02:00
Syres916
d0d414057c [Gui] Add missing checked property 2024-07-25 18:50:46 +01:00
Syres916
acdc6036f9 [Gui] Correct checkbox checked states 2024-07-25 15:04:04 +01:00
luzpaz
a71f49f4f6 Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
Syres916
4beef5e0d8 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
Chris Hennes
ce4b24029f Merge pull request #15382 from Syres916/Fix_Theme_ComboBox_Lookup
[Gui] Preferences - fix the theme combobox index lookup...
2024-07-16 23:26:47 -05:00
Chris Hennes
e186ae9c6f Merge pull request #15376 from wwmayer/issue_15369
Gui: Allow to set MSAA 4x option
2024-07-15 21:06:46 -05:00
Syres916
6669aa55f7 [Gui] Apply requested changes 2024-07-15 20:17:58 +01:00
Chris Hennes
07f16394d1 UI: Fix repeated names in UI files 2024-07-14 22:34:37 -05:00
Syres916
dbb7c6e5b8 [Gui] Preferences - fix the theme combobox index lookup...
...when the user has FreeCAD-themes (and no doubt other theme addons) installed.
2024-07-11 23:50:26 +01:00
wmayer
c644736e75 Gui: Allow to set MSAA 4x option
Fixes #15369
2024-07-11 17:40:55 +02:00
wmayer
6c02b8f10f Gui: Use of Multisample class 2024-07-11 17:39:23 +02:00
FEA-eng
cb37bcc508 Update DlgSettingsUI.ui 2024-07-10 10:31:29 +02:00
Max Wilfinger
7d21d9edb8 Fix source string typos mentioned on Crowdin (#15261) 2024-07-08 17:18:31 -05:00
Kacper Donat
45dc70c51f Gui: Add information about custom themes to settings
Fixes: #14929
2024-07-01 18:27:23 +02:00
Syres916
df27c24deb [Gui] Preferences - Workbenches add text to advise how to sort...
...alphabetically
2024-07-01 10:45:36 -05:00
Furgo
ba51408a71 Simplify comboview/treeview choice with natural language 2024-07-01 10:44:49 -05:00
Furgo
3ebba6ac0a Remove unavailable Tree view mode option from tooltip 2024-07-01 10:44:49 -05:00
Kacper Donat
05aaf0ed48 Preferences: Reorganize UI and Theme pages in Display group
This changes current "Display/UI" pages to "Display/Advenced" as most of
settings there were pretty technical. These settings are not removed as
it is hard to decide which one should be removed and which one should
stay and we are too close to UI freeze.

Settings that should be obviously kept were moved to new "Display/UI"
section which now includes also options from previous "Display/Theme".

Fixes: #14412
2024-07-01 10:41:30 -05:00
Kacper Donat
032545924f Gui: Change QStyle only with theme
It fiexes performance issues on applying preferences that happens due to
forcing Qt style which is quite slow operation.
2024-06-24 11:28:13 -05:00
FEA-eng
f413f5d6d0 Preselection preference text improvement (#14579)
* Update CommandView.cpp

* Update DlgSettingsSelection.ui
2024-06-17 10:40:03 -05:00
Kuzemko Alexsandr
aca353d7c5 Displaying internal names in the tree view (#14237)
* Displaying internal names in the tree view

* Change "Hide extra column" to "Hide Description"

---------

Co-authored-by: Kuzma30 <kuzemkoa@gmail.com>
2024-06-10 11:31:04 -05:00
wmayer
133d13bf7f Fix a couple of language change issues
When changing the language in the preferences dialog without closing it then a few things are not re-translated
2024-06-10 11:19:37 -05:00
Kacper Donat
62463fa0bd Gui: Add QtStyle user parameter
This allows theme developers to set proper Qt style.
2024-06-06 22:26:21 -05:00