diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-06-21 22:51:27 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-06-27 16:50:31 +0200 |
| commit | b335784c25600cf7df20e67f45d0ab315e0a02b3 (patch) | |
| tree | 6281150069a424c6f833086528f09fd6b6e4f544 /src/corelib/kernel/qobject.cpp | |
| parent | 513f5a9b8a6855c3c8b6ff8a45fd219c6240bc21 (diff) | |
Windows11Style: fix/cleanup QLineEdit/SpinBox/ComboBox painting
Fix style issues:
- paint lineedit indicator more like windows 11
- don't draw frame when not requested
- use same height for all three widget types when no frame is painted
Also cleanup the code:
- move frame painting into own function (drawLineEditFrame()) for all
three widgets
- sync the painting of the other paintings as it can not be merged into
one function due to PE_FrameLineEdit
- use helper functions drawRoundedRect() and winUI3Color() to avoid
code repetitions
Pick-to: 6.10
Fixes: QTBUG-137403
Change-Id: I50e6fc16f13e0c043965d1bbe9406e61dff4dac7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
