Max Wilfinger
70f4221993
Fix missed strings for UI consistency
...
Fix ellipsis rendering
2025-08-08 06:37:59 -05:00
Max Wilfinger
ecf02b7878
Gui: Update UI strings for consistency
...
Closes : #22135
2025-08-04 20:14:45 +02:00
Ladislav Michl
c293d74566
Base: rename Exception's PascalCase methods to camelCase
2025-05-05 23:50:01 +02:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
wmayer
d64bf15f8a
Core: Update color bar when changing preferences
...
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
Syres916
4e466355f1
[Gui] Fix color bar position and text ( #10552 )
...
* [Gui] Fix ColorBar position and labelling
* [Gui] Improve formatting
* [Gui] ColorBar adjusts if user squashes window height
* [Gui] Changes following feedback
2023-09-19 18:35:22 -05:00
wmayer
5a153e50ff
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
2725c3a54f
Gui: modernize C++: use range-based for loop
2023-08-14 19:42:18 +02:00
wmayer
8b1d094fb4
Gui: Add translations for color bar labels
2023-04-20 18:52:07 +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
berniev
0c70d45c83
Gui: Use override etc 2
2022-08-09 12:43:23 +02:00
wmayer
c2667384bd
Replace std::ignore with boost::ignore_unused()
...
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
wmayer
80bdc3f960
Gui: don't use cached value of color bar width if ratio of the canvas is less than 1.0
2022-06-07 11:30:00 +02:00
wmayer
3cccd4d69e
Gui: cache color bar width to avoid to compute it for every resize of the canvas
2022-06-06 19:11:00 +02:00
Uwe
537acfdddd
[Gui] code documentation of color bar
2022-05-31 01:59:54 +02:00
wmayer
1723196166
Gui: fix shrinking and shifting of color bar if ratio of width/height is smaller than one
2022-05-30 12:59:55 +02:00
wmayer
37d2492719
Gui: refactor SoFCColorGradient::setViewportSize and SoFCColorLegend::setViewportSize
2022-05-30 12:49:48 +02:00
Uwe
7907b0f8b3
[Gui] describe gradient code better
...
- to make it easier to see what is happening (not yet perfect since the start numbers 4.0 and 5.0 are not clear yet)
- avoid a jump of the gradient bar when decreasing window size
- return for now only the direct bar width 8will be tested thoroughly now on several PCs if this will work)
2022-05-30 04:08:19 +02:00
wmayer
c4cd127499
Gui: fix number display issue of color bar
2022-05-30 03:39:48 +02:00
wmayer
bf6dbd4606
Gui: react on picked point when double or right-clicking color bar
2022-05-28 18:25:52 +02:00
wmayer
c50924be03
Gui: change notification between SoFCColorBarBase nodes
2022-04-01 19:27:45 +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
aa53698c55
[Gui] So headers: remove some unused includes
...
- also sort out some headers for precompiled headers
2022-03-14 15:13:13 +01:00
wmayer
f14f952c83
Gui: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-02-08 16:26:07 +01:00
vosk
c4e383829b
[GUI] - Fix leaking QObject
2021-02-19 16:52:25 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
44f42a8e2c
LGTM: [skip ci] fix: Declaration hides parameter
...
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
dc65b055e5
LGTM: [skip ci] fix: Empty branch of conditional
...
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00
wmayer
2c113442a7
Qt5: 'void QTime::start()' / 'int QTime::elapsed() const' / 'int QTime::restart()' are deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
b50b21576e
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
0824c5fd3c
fix Coverity issues
2016-08-21 14:03:02 +02: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