Just wondering, since I'm inheriting from QLineEdit, shouldn't there be some sort of default highlighting that happens even if I override paintEvent? What's happening right now is that it's invisibly highlighting with no default highlight of blue/white. The following code has no effect:
p.
setColor( QPalette::Highlight, Qt
::blue );
p.
setColor( QPalette::HighlightedText, Qt
::white );
this->setPalette( p );
QPalette p = this->palette();
p.setColor( QPalette::Highlight, Qt::blue );
p.setColor( QPalette::HighlightedText, Qt::white );
this->setPalette( p );
To copy to clipboard, switch view to plain text mode
Bookmarks