Commit Graph

3834 Commits

Author SHA1 Message Date
Chris Hennes
b3ef69ef69 Gui: Fix pref pack apply crash (Fixes #6702) 2022-04-02 13:20:01 -05:00
0penBrain
29c3417285 Revert "Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)"
This reverts commit 350de2e367ed955b466ad7779b464b0fba79fe55.
2022-04-02 18:09:35 +02:00
wmayer
5409f1d86d Gui: fix some issues in DlgSettingsColorGradientImp:
* fix regression by rounding Max/Min values when setting up dialog
* switch signals from QLineEdit::editingFinished to QLineEdit::textEdited to get changes immediately
2022-04-02 13:24:12 +02:00
wmayer
de699f81c5 Gui: automatically apply changes made in color gradient dialog 2022-04-02 12:14:42 +02:00
wmayer
c2ba7cf414 Gui: refactor DlgSettingsColorGradientImp 2022-04-02 11:41:20 +02:00
wmayer
bb19d8cb03 App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile 2022-04-02 10:58:04 +02:00
Uwe
81d861ad5c [Gui] Color gradient dialog: add missing tooltips 2022-04-02 03:22:56 +02:00
wmayer
fb86d1d5b4 Gui: change notification between SoFCColorBarBase nodes 2022-04-01 19:27:45 +02:00
wmayer
b3d8acf8e7 Gui: [skip ci] drop the _bOutInvisible member and use the corresponding function of ColorGradient instead 2022-04-01 10:39:02 +02:00
wmayer
f8c5256866 Gui: add functions setPrefEntry() and setPrefPath() to PrefWidget to avoid build failures if the attribute stdset=0 isn't set in a .ui file 2022-04-01 10:37:36 +02:00
Uwe
0ed47fb26e [GUI] fix color gradient dialog
- large numbers as they appear of most simulations were not correctly displayed
- remove non-functional help button
2022-04-01 03:13:43 +02:00
Yorik van Havre
19feabd072 Merged crowdin translations 2022-03-31 11:41:28 +02:00
Yorik van Havre
1e70c425f6 Merge pull request #6694 from oficinerobotica/splash-screen
Update v0.20 splash screen images
2022-03-31 11:08:57 +02:00
wmayer
e08879ee16 Gui: [skip ci] replace hardcoded Alt+F4 with QKeySequence::Quit to use the appropriate shortcut for each platform 2022-03-31 08:33:38 +02:00
Uwe
17c502ce8a [Gui] remove misleading button from About Dialog
- the help button in the title bar had no function but I remember people asked in the forum what it does. Since we don't use it, remove it
2022-03-31 04:15:28 +02:00
oficine robotica
2bc7955c4b Update v0.20 splash screen images
As requested by @yorikvanhavre
2022-03-30 21:54:11 +02:00
Yorik van Havre
76f78654c3 Gui: Added 'open Addon Manager' to Help message box - issue #6514 2022-03-30 14:54:20 +02:00
Yorik van Havre
e392bb691d New 0.20 splash screen 2022-03-30 13:46:16 +02:00
Yorik van Havre
12a94dfb9a Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-03-30 10:28:41 +02:00
Yorik van Havre
8a55c797ab Gui: Fixed wrong button on Help messaage box - issue #6514 2022-03-30 10:28:27 +02:00
Chris Hennes
5df3dbae6f Gui: PR6497 move return statement to new line 2022-03-29 12:33:50 -05:00
0penBrain
3753a4b237 Gui: Add dual info about FC + OS locale in full information
+ clean some horrible old code
2022-03-29 10:26:49 +02:00
0penBrain
7a74ae01d3 Gui: Default Translator::SetLocale to OS locale + simplify code 2022-03-29 10:26:49 +02:00
0penBrain
32f6443bd4 Gui: fix (another) algorithmic issue in number format change
'localeIndex' shall be updated not only at settings loading but each time
 settings are saved, otherwise it can lead to unexpected behavior (number
 format not took into account) when changing number format back and forth
 and only using 'Apply' button.
2022-03-29 10:26:49 +02:00
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