Change QLineEdit cursor color
Posted: Wed Sep 15 2021 3:12 pm
All,
According to the doc there is no role for the cursor itself.
https://www.copperspice.com/docs/cs_api/class_qpalette.html#ab86302997ff6fe87cb1c974504b27019
There is QPalette::WindowText and QPalette::Text but not one for just the cursor. Many UI designs today utilize a contrasting cursor so it is easier for the visually challenged. The cursor is a different color than the text.
According to the doc there is no role for the cursor itself.
https://www.copperspice.com/docs/cs_api/class_qpalette.html#ab86302997ff6fe87cb1c974504b27019
There is QPalette::WindowText and QPalette::Text but not one for just the cursor. Many UI designs today utilize a contrasting cursor so it is easier for the visually challenged. The cursor is a different color than the text.