Commit Graph

4508 Commits

Author SHA1 Message Date
wmayer
8283532911 Gui: fix regression when loading an image file 2023-03-31 19:40:50 +02:00
0penBrain
fe39798766 Use qOverload macro instead of QOverload 2023-03-31 17:17:34 +02:00
Pesc0
876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Chris Hennes
0a2e6dd2b7 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
d0bd202293 Pref: Wb : move 'Wb by tab' to wb pref page. 2023-03-28 15:18:28 +02:00
Paddle
0e2bc871e8 Changed copyright texts of modified pages. 2023-03-28 15:18:28 +02:00
Paddle
8d16cf7395 Pref: - add require-reboot capability to PreferencePage.
- Implement this require-reboot in wb pref page
2023-03-28 15:18:23 +02:00
Paddle
3f1e6a3c87 Pref: Wb: add shortcuts + reorder when wb toggled. 2023-03-28 12:09:15 +02:00
Paddle
565488bf21 Pref: Wb: add shortcuts. 2023-03-28 12:09:15 +02:00
Paddle
d4aca1953a Pref: Wb: lambda to simplify saveSettings() 2023-03-28 12:09:15 +02:00
Paddle
123e83e0a1 Pref: Wb: startup wb has to be autoloading. 2023-03-28 12:09:15 +02:00
Paddle
b0d6b758d1 Pref: Wb: remove the dlg pointer from the wbListItem 2023-03-28 12:09:15 +02:00
Paddle
a6b69cd395 Pref: Wb: add setters and getters to wbListItem 2023-03-28 12:09:15 +02:00
Paddle
14167b558e Pref: wb: Move wbListItem to cpp. 2023-03-28 12:09:15 +02:00
Paddle
cab401eaf3 Preferences: workbench: make a wbListItem qwidget sub class 2023-03-28 12:09:15 +02:00
Paddle
9871aa2b53 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
7eb3386894 Preferences: Workbench: Move the buttons closer to the label. 2023-03-28 12:09:15 +02:00
Paddle
2fe2da2c4e Preferences: Workbench: Move startup workbench to workbench page 2023-03-28 12:09:03 +02:00
Paddle
9f904ae04f Preference: Move workbench selector position to the workbench preference page. 2023-03-28 11:59:32 +02:00
Paddle
4b60df5ced Preference: Replace the name LazyLoaded by Workbenches. 2023-03-28 11:59:32 +02:00
Paddle
6e6194d01c Preferences: Remove Customize Workbenches dialog. 2023-03-28 11:59:32 +02:00
Paddle
d7efe5a616 Preferences: Workbench : Replace the functions used to retrieve the list of enabled wb 2023-03-28 11:59:32 +02:00
Paddle
f673d1a251 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
788ea1d3c0 Preferences: Workbench : Enable drag and drop. Replaces the QTable by a QListWidget. 2023-03-28 11:59:32 +02:00
Paddle
4173261899 Preferences: Workbench : Enable reordering workbenches with 2 buttons. 2023-03-28 11:59:32 +02:00
Paddle
3a6e0ebe83 Preferences: Workbench : Add possibility to enable/disable workbench here. 2023-03-28 11:59:32 +02:00
wmayer
c26dc2e685 Gui: do not change size properties when loading an image 2023-03-28 11:45:44 +02:00
wmayer
5c3f361077 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
wmayer
4b982a3dbd Gui: filter category qt.svg 2023-03-27 15:50:34 +02:00
wmayer
64771f3d4d Gui: fix some lint warnings 2023-03-27 15:49:17 +02:00
wmayer
5e257feb65 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
da76caa13e 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
5ba1f1f5d4 Gui: refactor MacroManager 2023-03-26 18:41:56 +02:00
wmayer
07cf291516 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
251022cfc9 NotificationArea: Preference pages clang-formatting 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
ef84d56970 NotificationArea: Preference page to control warnings and errors 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
ddd9a97211 NotificationArea: subscription to errors and warnings
=====================================================

Subscription to errors and warnings is controlled by parameters.
2023-03-26 11:33:57 +02:00
wmayer
32d0ac6417 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
c579db1ee0 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
f30a6c634a Gui: fix some lint warnings 2023-03-24 21:19:27 +01:00
wmayer
2082329223 Gui: move built-in Python code of DlgProjectUtility to script file 2023-03-24 19:50:49 +01:00
0penBrain
081c23e514 Gui: use QActionGroup signal for dimension indicator change handling 2023-03-24 19:31:41 +01:00
0penBrain
6bd88f64db Gui: add live retranslation to dimension indicator 2023-03-24 19:31:41 +01:00
0penBrain
6a3e6ec46b Gui: dimension indicator moved to custom widget to handle unit schema change in other places 2023-03-24 19:31:41 +01:00
0penBrain
3ed1ce28ee 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
e004c5bab9 [Gui] Application.cpp: fix too long lines
- for better readability (less scrolling in the IDE)
2023-03-24 04:38:45 +01:00
Chris Hennes
633eb24f88 Merge pull request #8955 from wwmayer/issue_8556
Move image loading to core
2023-03-22 16:00:43 -05:00
Abdullah Tahiri
48a921d2b7 NotificationBox: Clang format 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
26e48cb63a NotificationArea: Clang format 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
23739bc2d0 NotificationArea: Change Icon color to indicate missed notifications 2023-03-22 19:13:32 +01:00