Commit Graph

47 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9fe130cd73 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Kacper Donat
2167e9ddff Gui: Fix order of stylesheet applying 2025-10-20 09:26:22 -05:00
Markus Reitböck
a72a0d6405 Gui: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:03 +02:00
Furgo
3d02973951 Gui: add new PrefCheckableGroupBox widget 2025-06-11 02:44:52 +02:00
tetektoza
8fda3b4bd1 Core: Introduce PDF Import-Export dialog (#20860)
* Core: Introduce PDF Import-Export dialog

Currently, we only have hardcoded exporting to one pdf version, which
leads to (as in one of the below issues) to problems, such as
non-transparent layers, which are by default not supported in PDF/A-1b.

So, this patch adds an option to the user to select their preferred PDF
version by introducing new dialog under Import-Export in Preferences,
and allowing to update that version before exporting.

* Core: Add informational messages regarding selected PDF format

* Gui: Handle Qt < 6.8 unsupported PDF format

* Gui: Switch PDF export prefs dialog to use tr()

* Gui: Remove center alignment of PDF version description

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-04-27 19:31:34 -05:00
tritao
4c93a14fea Gui: Reorganize the dialog files into a top Dialogs folder. 2025-01-24 16:28:02 -06:00
wmayer
4766581f2f CMake: Handle build time checks to choose between modern and/or legacy space mouse devices 2024-12-03 20:32:06 +01:00
wwmayer
7b0a23337c 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
Chris Hennes
96731cbd66 Merge pull request #14455 from kadet1090/toolbar-dragging
Gui: Add dragging support for custom ToolBarAreas
2024-07-01 10:49:27 -05:00
Kacper Donat
b386314415 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
e04b28e66d Gui: Use our own ToolBar class in all places 2024-06-25 11:39:54 +02:00
Patryk Skowroński
6c747178cf Spaceball settings tabs removal from the Customize panel (#14589)
* Removed Spaceball tabs for NavLib integration

* Added missing CMake variable for MacOS/Linux platform

---------

Co-authored-by: Patryk Skowroński <pskowronski@3dconnexion.com>
2024-06-24 11:06:25 -05:00
Florian Foinant-Willig
fb41af37f0 [Gui] Allow to create ExpLineEdit with python 2024-03-23 10:19:16 +01:00
wmayer
9708f00157 Gui: fixes issue #11113: Adjust Default Main Light Position 2023-10-23 11:05:21 -05:00
Zheng, Lei
033f520cc5 Gui: expose various overlay UI options to preference pages 2023-10-11 09:58:53 +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
dc738f0dee Replace DlgReportView by DlgSettingsReportView in the files. 2023-08-08 11:12:48 +02:00
Paddle
7ae3f6be8b Replace DlgGeneralImp by DlgSettingsGeneral. 2023-08-08 11:12:48 +02:00
Paddle
d73434639d - 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
Chris Hennes
5c82e6f2de Merge pull request #9110 from Pesc0/removecommandstab
Remove "commands" tab in customize dialog
2023-04-07 13:11:43 -05:00
Paddle
310f3c0575 Pref: Create Python group 2023-04-03 14:34:40 +02:00
Paddle
a1b70c294c Pref: Remove Unit tab and move settings back to main page. 2023-04-01 16:30:51 +02:00
Pesc0
f72cad3b70 Remove "commands" tab in customize dialog 2023-03-29 00:55:03 +02:00
Paddle
255270b21f Preference: Replace the name LazyLoaded by Workbenches. 2023-03-28 11:59:32 +02:00
Paddle
4e31cb1412 Preferences: Remove Customize Workbenches dialog. 2023-03-28 11:59:32 +02:00
Abdullah Tahiri
31e50ed1c7 Gui: Preference Page for NotificationArea
=========================================

Configuration preference page for controlling the notification area (non-intrusive messages and widget).
2023-03-12 06:06:29 +01:00
andrea
7886d3cbf4 Remove unused code into GUI 2022-07-17 03:53:11 +02:00
wmayer
71a6ffde35 Gui: move Python console specific settings to its own tab because General is quite overloaded 2022-02-21 17:49:27 +01:00
Chris Hennes
d79fa0ddfc Gui: Add PrefTextEdit 2021-12-18 20:29:42 -06:00
wmayer
867870e113 Gui: allow to configure the checks of the cache directory 2021-11-16 15:37:04 +01:00
Chris Hennes
8f1cf9496f [Gui] Add StatefulLabel 2021-10-02 22:15:47 -05:00
Chris Hennes
be9b557dd6 Add pref window that loads unloaded workbenches
A new group is added to the Preferences window that explains why
some preferences may appear to be missing due to the workbench being
unloaded. It lists the unloaded workbenches, and offers to load them,
updating the preferences dialog as necessary.

This at least partially resolves issue #4474.
2021-02-04 19:38:57 +01:00
wmayer
78158a058b Gui: add preferences tab for selection 2021-02-03 18:06:55 +01:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
5fc0702d06 Gui: [skip ci] add font combo box class to widget factory 2020-06-03 11:41:38 +02:00
wmayer
1688654940 Gui: [skip ci] add spin box classes to widget factory 2020-06-01 19:04:06 +02:00
wmayer
cfb358589c Gui: [skip ci] split 3D view settings into two pages 2020-03-15 12:32:07 +01:00
wmayer
71818b466d Gui: implementation classes don't inherit from UI classes any more 2020-01-09 14:30:45 +01:00
wmayer
2900fb29c9 Add unit aware preferences widget 2018-03-07 14:34:53 +01:00
Przemo Firszt
da0e25b709 App: Add dialog to pick preferred workbenches
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 22:25:59 +02:00
wmayer
dbddf8bbda + proper handling of group separator in InputField and QuantitySpinBox 2014-07-21 15:03:45 +02:00
jriegel
c8cc4a179a integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
jriegel
78ba09a490 start PropertyQuantity and InputField 2013-09-24 11:00:54 +02:00
wmayer
a1313961c0 0000818: [PATCH] added new page to Customize dialog for space navigator 2012-08-30 11:31:46 +02:00
wmayer
4e58856735 Use ActionSelector in Loft panel and expose to Python by UiLoader 2012-06-03 14:22:05 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00