wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Mateusz Skowroński
391c9a6bbf
buttonClicked(int id) is deprecated since Qt 5.15. Use idClicked(int id) instead.
2022-05-28 16:46:59 -04:00
wmayer
f492a8fac4
Gui: handle number of labels and decimals in the immediate update
2022-04-04 15:27:13 +02:00
wmayer
7d843b250f
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
wmayer
9b3a50840f
Gui: fixes DlgSettingsColorGradientImp:
...
* handle exception in lambda function if max <= min
* fix regression of 0938c98b6 : a validator can be set to only one widget at a time
2022-04-03 10:51:10 +02:00
wmayer
2d5f34f329
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
027fb07743
Gui: automatically apply changes made in color gradient dialog
2022-04-02 12:14:42 +02:00
wmayer
9500706d6f
Gui: refactor DlgSettingsColorGradientImp
2022-04-02 11:41:20 +02:00
wmayer
874a6ef28e
App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile
2022-04-02 10:58:04 +02:00
Uwe
0938c98b6c
[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
wmayer
b2df95a66d
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
Uwe
5f5afd4b65
[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
7196e8976c
[Gui] DlgSettings etc.: remove unused includes
2022-03-17 00:17:32 +01:00
wmayer
bc509c8069
App/Gui: make color bar to handle very small values
2022-02-02 21:12:59 +01:00
wmayer
38321cc2e9
App: rework ColorGradient and allow to easily extend it with further color models
2022-01-29 15:29:07 +01:00
wmayer
ec8b1bc072
[skip ci] use QLocale class consistently to make it possible to change it application-wide
2020-03-26 16:37:45 +01:00
wmayer
625d252cb1
Gui: implementation classes don't inherit from UI classes any more
2020-01-09 14:30:45 +01:00
wmayer
a363d6ff7c
+ take care of group separator in minimum/maximum of color bar
2016-06-10 11:27:40 +02:00
Mateusz Skowroński
3b463f2138
Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
wmayer
847b6b79e0
+ Replace math.h with cmath
2014-01-05 11:25:40 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00