Commit Graph

4498 Commits

Author SHA1 Message Date
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
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
Chris Hennes
f679823c6e Merge pull request #8955 from wwmayer/issue_8556
Move image loading to core
2023-03-22 16:00:43 -05:00
Abdullah Tahiri
d4eaf7a90b NotificationBox: Clang format 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
36a35c6c37 NotificationArea: Clang format 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
f0077e5f8a NotificationArea: Change Icon color to indicate missed notifications 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
ad3ccd9ec1 Resources: New Intray icon 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
60c2026f6d NotificationArea: Preference dialog add preferences to control inactive window behaviour 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
c5710055b5 NotificationArea: Parameters to control inactive notification show behaviour 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
6e3bdd8f2a NotificationBox: Convert options to enum class 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
1e3b728f35 NotificationBox: Add option to hide notification if reference widget is deactivated 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
2f8be2c77b NotificationBox: Enable options to not show if reference widget is not active and refactor restricttoarea 2023-03-22 19:13:32 +01:00
Abdullah Tahiri
05dcc0bac8 NotificationBox: Hide notification if FreeCAD is deactivated 2023-03-22 19:13:32 +01:00
wmayer
6ae787cc6b Gui: fix image handling:
* Change FileHandlder to accepts all image format supported by Qt
* Make sure image object is not touched after accepting or rejecting changes
* Make option 'Keep aspect ratio' the default
* Fix WhatThis text of command
2023-03-22 17:55:55 +01:00
luzpaz
fc844ebac9 Migrate tabs to spaces in src/Gui/3Dconnexion/* 2023-03-22 17:06:47 +01:00
wmayer
5871c2bb46 Gui: add function to scale image 2023-03-22 16:24:51 +01:00