Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

setting the cursor color

$
0
0
Hi, I am using the following code to format my QTextEdit , but i am not able to change color of the cursor to white. please let me know how to change the color of the cursor to white.     QFont font("Arial",9,QFont::Courier,FALSE);     setFont(font);     setTextColor(Qt::white);     QPalette pl = palette();     pl.setColor(QPalette::Base,Qt::black);     setPalette(pl);

Viewing all articles
Browse latest Browse all 13965

Trending Articles