Page 1 of 1

Change QLineEdit cursor color

Posted: Wed Sep 15 2021 3:12 pm
by seasoned_geek

According to the doc there is no role for the cursor itself.

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.