Commit Graph

5762 Commits

Author SHA1 Message Date
Paddle
3ef64e6849 Pref: wb: remove the list of disabled wb.
TODO: Addon Manager should add workbenches to the list of enabled wb on installation. And remove them from the list on uninstall.
TODO: Addon Manager 'disable mode' should be removed.
2023-03-31 14:12:27 +02:00
Paddle
263d7c0999 Pref: wb: disable test workbench by default. It still appears and can be activated in the pref page. 2023-03-31 14:12:27 +02:00
Paddle
5f124808f8 Pref: wb: disable none workbench by default. 2023-03-31 14:12:27 +02:00
Paddle
7ea4588499 Pref: Wb: remove args first element on restart.
- isRebootRequired is not public but in accept&reject.
- PreferencePage::isRebootRequired changed to const
- Change 2 warnings to log
- remove useless  c_str()
- Change DlgPreferencesImp::isRebootRequired name + reboot by restart everywhere.
- Sort workbenches so that disabled wb are sorted.
2023-03-31 14:12:27 +02:00
Pesc0
99e13d9529 Remove all PyQt references 2023-03-31 10:36:04 +02:00
Pesc0
f72cad3b70 Remove "commands" tab in customize dialog 2023-03-29 00:55:03 +02:00
Chris Hennes
d21e912add Merge pull request #9099 from wwmayer/more_robust_init
Core: make the init scripts more robust against invalid package.xml f…
2023-03-28 16:36:41 -05:00
Paddle
963fc2b17e Pref: Wb : move 'Wb by tab' to wb pref page. 2023-03-28 15:18:28 +02:00
Paddle
4686420326 Changed copyright texts of modified pages. 2023-03-28 15:18:28 +02:00
Paddle
2107002ed2 Pref: - add require-reboot capability to PreferencePage.
- Implement this require-reboot in wb pref page
2023-03-28 15:18:23 +02:00
Paddle
24699f39a0 Pref: Wb: add shortcuts + reorder when wb toggled. 2023-03-28 12:09:15 +02:00
Paddle
dd10649096 Pref: Wb: add shortcuts. 2023-03-28 12:09:15 +02:00
Paddle
e66c0468db Pref: Wb: lambda to simplify saveSettings() 2023-03-28 12:09:15 +02:00
Paddle
3a66218f9d Pref: Wb: startup wb has to be autoloading. 2023-03-28 12:09:15 +02:00
Paddle
09c9fd601d Pref: Wb: remove the dlg pointer from the wbListItem 2023-03-28 12:09:15 +02:00
Paddle
c480af73bc Pref: Wb: add setters and getters to wbListItem 2023-03-28 12:09:15 +02:00
Paddle
f9c5c08344 Pref: wb: Move wbListItem to cpp. 2023-03-28 12:09:15 +02:00
Paddle
398d84391d Preferences: workbench: make a wbListItem qwidget sub class 2023-03-28 12:09:15 +02:00
Paddle
a0f1b46f4e Preferences: Workbench: Change the QListWidgetDragBug name to ListWidgetDragBug. Move the wbList setXxx() to ctor. Fix the 'Currently, your...' 2023-03-28 12:09:15 +02:00
Paddle
55d93ce3fb Preferences: Workbench: Move the buttons closer to the label. 2023-03-28 12:09:15 +02:00
Paddle
d1e97444c9 Preferences: Workbench: Move startup workbench to workbench page 2023-03-28 12:09:03 +02:00
Paddle
46a1fe435c Preference: Move workbench selector position to the workbench preference page. 2023-03-28 11:59:32 +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
Paddle
801afd0eeb Preferences: Workbench : Replace the functions used to retrieve the list of enabled wb 2023-03-28 11:59:32 +02:00
Paddle
eb57a85fc1 Preferences: Workbench : Change the text of the page to be more informative. Move the sentence "To preserve resources, FreeCAD..." to the load button tooltips. 2023-03-28 11:59:32 +02:00
Paddle
69f95fe4a4 Preferences: Workbench : Enable drag and drop. Replaces the QTable by a QListWidget. 2023-03-28 11:59:32 +02:00
Paddle
4d1840a04e Preferences: Workbench : Enable reordering workbenches with 2 buttons. 2023-03-28 11:59:32 +02:00
Paddle
16313216c7 Preferences: Workbench : Add possibility to enable/disable workbench here. 2023-03-28 11:59:32 +02:00
wmayer
e26fc0485e Gui: do not change size properties when loading an image 2023-03-28 11:45:44 +02:00
wmayer
03b58bb289 Core: make the init scripts more robust against invalid package.xml files
See also: https://forum.freecad.org/viewtopic.php?t=77170
2023-03-28 10:49:21 +02:00
Connor Worrell
7bf4452b1d [GUI] QuantitySpinBox: more intuitive parsing before handoff to expression parser.
More robust parentheses, multiplication, division, exponent handling.
2023-03-27 21:47:00 -06:00
wmayer
db7fc588e3 Gui: filter category qt.svg 2023-03-27 15:50:34 +02:00
wmayer
c3f7d4f377 Gui: fix some lint warnings 2023-03-27 15:49:17 +02:00
wmayer
23f7c163f5 Gui: add method isEnabledDecimalPointConversion() to Translator
and use it in DlgGeneralImp::setDecimalPointConversion to fix annoying warning in debug builds
2023-03-27 15:49:17 +02:00
Abdullah Tahiri
77799d5ec4 NotificationArea: Correct painting position
===========================================

QT has a open bug regarding filling the contents of a QMenu in aboutShow:
https://bugreports.qt.io/browse/QTBUG-54421

This commit presents a work-around this bug.

The two step procedure of this commit, forces a recalculation of the size
from the slot and then manually moves the widget to the right position.
2023-03-26 20:26:20 +02:00
wmayer
991a7c1a4b Gui: refactor MacroManager 2023-03-26 18:41:56 +02:00
wmayer
a2579ebb92 Core: support to load old project files containing image planes
See forum: https://forum.freecad.org/viewtopic.php?p=670545#p670545
2023-03-26 13:51:07 +02:00
Abdullah Tahiri
cdb47d2f4f NotificationArea: Preference pages clang-formatting 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
699d8a83ec NotificationArea: Preference page to control warnings and errors 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
8608c6a845 NotificationArea: subscription to errors and warnings
=====================================================

Subscription to errors and warnings is controlled by parameters.
2023-03-26 11:33:57 +02:00
wmayer
c0a0ddf1e0 Gui: by default restore the last visited page in the preferences dialog
See also: https://forum.freecad.org/viewtopic.php?t=77071
2023-03-25 18:23:09 +01:00
wmayer
21ded4a4e0 Gui: fix failure of QMetaObject::connectSlotsByName
because in Qt6 QSpinBox::valueChanged(QString) and QComboBox::activated(QString) have been removed
2023-03-24 22:11:24 +01:00
wmayer
cd02704ff1 Gui: fix some lint warnings 2023-03-24 21:19:27 +01:00
wmayer
9a77379b37 Gui: move built-in Python code of DlgProjectUtility to script file 2023-03-24 19:50:49 +01:00
0penBrain
e2a2f6cec9 Gui: use QActionGroup signal for dimension indicator change handling 2023-03-24 19:31:41 +01:00
0penBrain
be80a217f6 Gui: add live retranslation to dimension indicator 2023-03-24 19:31:41 +01:00
0penBrain
38416d7b80 Gui: dimension indicator moved to custom widget to handle unit schema change in other places 2023-03-24 19:31:41 +01:00
0penBrain
8eee92da99 Gui: change dimension indicator from QToolButton to QPushButton for lighter style
Consistency with navigation style indicator

 Also fix typo in function name and remove comment
2023-03-24 19:31:41 +01:00
Uwe
b357298e9e [Gui] Application.cpp: fix too long lines
- for better readability (less scrolling in the IDE)
2023-03-24 04:38:45 +01:00