Commit Graph

3870 Commits

Author SHA1 Message Date
wmayer
cc7ddbccd4 Gui: issue #6306 was fixed with 2cacbb41caf1f2 but this doesn't work on high DPI monitors.
This commit fixes that now
2022-05-02 12:54:07 +02:00
Chris Hennes
66ccc6cc97 Gui: Compile CONTRIBUTORS into Qt resources 2022-04-27 10:25:53 -05:00
Chris Hennes
5edcb47683 Gui: Fix Stereo view disabling
Fixes #6799.
2022-04-26 22:31:34 -05:00
Zheng, Lei
8bec44934b Fix mixed line endings 2022-04-26 12:52:55 -05:00
Zheng, Lei
b7fb96b553 Reduce debug log output 2022-04-23 16:21:49 +02:00
wmayer
5d1b33ee42 Gui: do not reset tab size to 4 when creating new text editor 2022-04-22 14:33:44 +02:00
Yorik van Havre
1fbd1fb38d Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
6c21534191 Gui: issue #6765: Overlay Icons for Std Link nearly invisible small 2022-04-20 08:51:59 +02:00
wmayer
aedc4e9b7c Gui: add link icons 2022-04-20 01:35:47 +02:00
wmayer
131a8a6bf9 Gui: fixes issue #6766: Navigation Cube -> Isometric View does not work 2022-04-19 19:06:45 +02:00
wmayer
c5bab68332 Gui: add convenience functions to SelectionFilterGate 2022-04-19 15:04:14 +02:00
wmayer
ad0dba3d3a Gui: fixes #6306: UI Rotation box can be dragged out of view 2022-04-18 16:31:10 +02:00
wmayer
f68078e5cd Gui: tmp. redirect stderr to a file to suppress an error message from spnav 2022-04-16 15:43:40 +02:00
Chris Hennes
e4cd0d650d GUI: Re-add button to object selection
The button was inadvertently lost in a recent PR. This commit adds it back.
2022-04-15 12:03:42 -05:00
0penBrain
d7c3692cdb Gui: add parameter switch to optionally stretch 'Description' column of Tree view 2022-04-15 18:22:02 +02:00
Yorik van Havre
914069ded4 merged crowdin translations 2022-04-13 13:47:06 +02:00
wmayer
f9ae829b3c Gui: [skip ci] reduce duplicated code 2022-04-12 13:55:18 +02:00
wmayer
0082a80148 Gui: add convenience function View3DInventorViewer::getBoundingBox() 2022-04-12 13:43:58 +02:00
wmayer
54efa2afcd Gui: fix const correctness of Document::getViewOfViewProvider 2022-04-12 13:26:16 +02:00
Zheng, Lei
f0e46ff71c App/Gui: Fix auto checking 'Sync sub object' if property link editor
Related FreeCAD/FreeCAD#6672 case C
2022-04-10 14:31:25 +02:00
wmayer
c84c2fb6eb Gui: clean-up Selection API
Replace the int of the SubType of SelectionChanges with an enum class.
The meaning of it is nowhere documented and some magic numbers like 0,1,2 are used in several places in the code.
2022-04-09 23:07:02 +02:00
wmayer
6f2167e0f2 Gui: add enum class to Selection Python API 2022-04-09 18:03:45 +02:00
wmayer
0b2c73cf32 Gui: clean-up Selection API
Replace the int of the 'resolve' argument of several functions with a proper enum class.
* This avoids the inconsistencies in client code where often true/false is passed when an int is expected
* This avoids the use of magic numbers like 0, 1, 2 or the undocumented 3
2022-04-09 17:03:43 +02:00
wmayer
db2236fe22 Gui: [skip ci] improve readability of SoFCColorGradient::setRange 2022-04-08 15:17:41 +02:00
wmayer
5a93f68d6f Gui: [skip ci] avoid that mouse is stuck after opening Help page with What's This 2022-04-06 18:32:55 +02:00
0penBrain
80f692ca9c Gui: if expression is emptied, pressing Enter discards expression 2022-04-06 13:42:18 +02:00
Uwe
bc017a7c03 [Gui] Color Gradient: handle case of min = 0
When the minimum is zero, we don't want scientific notation, for example for a range [0, 12.57]
2022-04-05 03:40:10 +02:00
Uwe
e34ecb0c5e [Gui] fix color gradient label format
- large numbers like e.g. stress outputs were not displayed in scientific notation

- also some code style improvements and a fixed typo
2022-04-05 02:42:53 +02:00
wmayer
7f66a6e170 Gui: handle number of labels and decimals in the immediate update 2022-04-04 15:27:13 +02:00
wmayer
b9dee98063 Gui: more fixes of DlgSettingsColorGradientImp:
* make sure that DlgSettingsColorGradientImp::setRange() generates a valid string according to the validator settings
* change back to QLineEdit::editingFinished because for huge models an immediate update considerably slows down editing
2022-04-04 11:43:43 +02:00
Zheng, Lei
ed582bbecd Gui: put private class to anonymous namespace 2022-04-04 04:53:52 +02:00
Zheng, Lei
ac0d56b961 Code change according to suggestion 2022-04-04 04:53:52 +02:00
Zheng, Lei
9c5963b20d Gui: fix property enumeration editor initialization 2022-04-04 04:53:52 +02:00
Zheng, Lei
88e6121efa Gui: support auto grouping editing for PropertyEnumeration
The PropertyEnumeration editor (PropertyEnumItem) will check for
separator characeter '|' in enumeration items to auto create
hierarchical groups of items using sub-menus for user to select.
2022-04-04 04:53:52 +02:00
wmayer
078ce76b88 Gui: fixes DlgSettingsColorGradientImp:
* handle exception in lambda function if max <= min
* fix regression of 10768fb32: a validator can be set to only one widget at a time
2022-04-03 10:51:10 +02:00
Adrian
39f4d20ead [Macros][skip ci] change text of Addons... button to Download to help new people 2022-04-02 23:34:04 -05:00
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