Commit Graph

3810 Commits

Author SHA1 Message Date
0penBrain
c6ea26a70c Gui: fix algorithmic issue in language change
If number format mode is "Selected language", even if this mode isn't modified,
 we need to force 'setLocale' to update if "Language" has been changed
2022-03-29 10:26:49 +02:00
0penBrain
63d211dca9 Gui: improve a bit number format selection 2022-03-29 10:26:49 +02:00
0penBrain
eb38017828 Gui: fix locale number formatting propagation 2022-03-29 10:26:49 +02:00
wmayer
650b2f3073 Gui: fix several regressions in DlgSettingsColorGradientImp
* make line edit fields wide enough to not truncate the text
* fix error: Unhandled Base::Exception caught in GUIApplication::notify.
2022-03-29 08:49:42 +02:00
Chris Hennes
20a0003cfb Gui: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:21 -05:00
Chris Hennes
32829c8423 Gui: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
wmayer
b50ec016bd Gui: fixes #6663: [Bug] Decimal separator not chosen by locale system settings anymore 2022-03-28 15:38:51 +02:00
Uwe
1aadb84b6f [Gui] fix for DlgSettingsColorGradient dialog
- we have cases where the max = min is correct. For example in the FEM DataAtPoint filter - since it is a point, max = min.
2022-03-28 12:27:43 +02:00
Uwe
4bfee097e1 [skip CI] [Gui] some UI improvements for the color gradient dialog
- mostly by Qt Designer
- also some code style fixes by MSVC
2022-03-28 10:38:19 +02:00
Uwe
04f693048f [Gui] a Win compile fix 2022-03-27 15:30:48 +02:00
wmayer
ae61d8df53 Gui: [skip ci] fix locale issue for InputField on Windows 2022-03-27 11:35:46 +02:00
wmayer
cb4363330f Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)
See also forum posting: https://forum.freecadweb.org/viewtopic.php?p=583303#p583303
2022-03-26 18:27:04 +01:00
wmayer
8befdb2459 Gui: [skip ci] fix locale issue with InputField
The change of 746a2ae40ade added a regression as shown here: https://github.com/FreeCAD/FreeCAD/pull/6640#issuecomment-1079727756
Thus reverting it.
2022-03-26 17:44:05 +01:00
0penBrain
57ce2213db Gui: fix some weird behavior of number format option 2022-03-26 16:43:07 +01:00
Zheng, Lei
bff7ec431d Gui: fix DlgObjectSelection item state synchronization 2022-03-26 10:19:20 -04:00
Zheng, Lei
6616433d47 Gui: expose Link CopyOnChange setup through context menu
The CopyOnChange setup is meant to let user select which dependency to
copy when changing configuration.
2022-03-26 10:19:20 -04:00
Zheng, Lei
9455d869d4 Gui: refactor Object Selection Dialog
It is originally used for dependency selection when copying object.
Modified to improve auto dependency selection, and for use by Link
configuration object setup, which also involves dependency selection.
2022-03-26 10:19:20 -04:00
Zheng, Lei
fbbc89c52c App/Gui: support Link refresh on change of originally linked configurable object 2022-03-26 10:19:20 -04:00
Uwe
e9d8a5da37 [Gui] fix locale issue with InputField
fixes the issue first reported here: https://github.com/FreeCAD/FreeCAD/pull/6364#issuecomment-1072886169

Now, since PR #6364 was merged, we must no longer remove the group separator.

(The issue broke for example the FEM results: https://forum.freecadweb.org/viewtopic.php?p=582524#p582524.)
2022-03-25 22:09:43 +01:00
Yorik van Havre
cea8c31836 Merge pull request #6634 from yorikvanhavre/retire-qassistant-2
Retire qassistant (try 2)
2022-03-24 09:42:33 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Yorik van Havre
e8233976ba Qassistant retirement: avoid ref leak 2022-03-23 13:19:46 +01:00
Yorik van Havre
2512fcd7cb Qassistant retirement: Added GIL lock 2022-03-23 12:00:35 +01:00
Yorik van Havre
2a833b46c8 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-03-23 10:51:15 +01:00
Yorik van Havre
1563822763 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
wmayer
54342101af Gui: remove all leftovers of iisTaskPanel 2022-03-23 10:37:28 +01:00
wmayer
6a450f2c49 Gui: [skip ci] do not include Inventor/SbByteBuffer.h for older Coin3D versions 2022-03-22 10:36:03 +01:00
wmayer
b1aa7cdad4 Gui: fix build failure with older Coin3D versions 2022-03-21 19:59:03 +01:00
Uwe
30cde82d30 [Doc] update weblinks
- link Freetype license
2022-03-21 17:59:49 +01:00
Yorik van Havre
5ecda50d07 Retiring qtassistant : Added Werner's fixes 2022-03-21 13:27:27 +01:00
Yorik van Havre
736027d509 Gui: Disable use of qassistant
Displaying of help pages is now handled by the Help addon.
In case the Help addon is not installed, an info message is shown.
2022-03-21 13:26:58 +01:00
Uwe
3b001d75c0 [Gui] remove Python.h from PreCompiled.h
tested with PCH and it seems it is really not necessary. python.h is only used n one header in [Gui] and not relevant for PCH
2022-03-21 13:26:56 +01:00
wmayer
1a62c2024d lgtm: removes unused imports in Python scripts 2022-03-20 23:00:55 +01:00
wmayer
e28f2a0c47 Qt: remove some more leftovers of Qt4 2022-03-19 23:27:28 +01:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
wmayer
02ac1508ff App/Gui: make operator-> operator of WeakPtrT constant 2022-03-19 15:35:58 +01:00
Uwe
7fd34d0c8e [Gui] remove iisTaskPanel
as discussed here, it can be removed: https://forum.freecadweb.org/viewtopic.php?p=577413#p577413
2022-03-18 01:14:53 +01:00
Uwe
713151df03 [Gui] only include the actually used inventor files 2022-03-17 21:12:19 +01:00
Uwe
29ccaee7fd [Gui] NavigationStyle: only include the actually used inventor files 2022-03-17 20:54:30 +01:00
Uwe
ca40cec068 [Gui] add a necessary debug header
as reported: 2a49e389b2 (r68944028)
2022-03-17 20:30:25 +01:00
Uwe
276a8f7e24 [Gui] add 2 includes necessary for debug builds
- as reported: https://github.com/FreeCAD/FreeCAD/commit/2a49e389b2 this is necessary e.g. on Manjaro
2022-03-17 18:23:18 +01:00
0penBrain
4235db97d0 Gui: fix hot change of locale for QuantitySpinBox 2022-03-17 16:46:01 +01:00
0penBrain
f043cb5ca5 Gui: add preference to use selected language number formatting, fixes #6330
If not enabled (default), will defaults to C/POSIX formatting
2022-03-17 16:46:01 +01:00
wmayer
e4d1ed8366 Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError 2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4 Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
Uwe
c3e084c856 [Gui] DlgSettingsUnitsImp: add an include, compile fix 2022-03-17 00:34:07 +01:00
Uwe
b066b17c6d [Gui] Splashscreen: remove unused includes 2022-03-17 00:23:20 +01:00
Uwe
5353cff196 [Gui] DlgSettings etc.: remove unused includes 2022-03-17 00:17:32 +01:00
Uwe
70decbebf5 [Gui] DlgMacro etc.: remove unused includes 2022-03-16 23:41:14 +01:00