wwmayer
7b0a23337c
Gui: Prepare for clang-format ( #16051 )
...
* Gui: Prepare for clang-format
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-02 17:48:55 +02:00
ppphp
8863b9ac4c
fix: c++20 deprecate [=]
2024-03-31 10:47:32 +02:00
wmayer
888a33917d
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
berniev
ae53c9b0a4
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
d42282c80b
buttonClicked(int id) is deprecated since Qt 5.15. Use idClicked(int id) instead.
2022-05-28 16:46:59 -04: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
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
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
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
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
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
5353cff196
[Gui] DlgSettings etc.: remove unused includes
2022-03-17 00:17:32 +01:00
wmayer
2bf84e79ac
App/Gui: make color bar to handle very small values
2022-02-02 21:12:59 +01:00
wmayer
ecac0b4d0c
App: rework ColorGradient and allow to easily extend it with further color models
2022-01-29 15:29:07 +01:00
wmayer
e14e5b845e
[skip ci] use QLocale class consistently to make it possible to change it application-wide
2020-03-26 16:37:45 +01:00
wmayer
71818b466d
Gui: implementation classes don't inherit from UI classes any more
2020-01-09 14:30:45 +01:00
wmayer
f7ef2ca971
+ take care of group separator in minimum/maximum of color bar
2016-06-10 11:27:40 +02:00
Mateusz Skowroński
f48f0f69be
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
3fe720f3bc
+ 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