Well, god damn, sloppy again. Instead of
TotalFieldPalette.
setColor(QPalette::Text, Qt
::white);
// sets foreground color of widget
TotalFieldPalette.setColor(QPalette::Text, Qt::white); // sets foreground color of widget
To copy to clipboard, switch view to plain text mode
one must use
TotalFieldPalette.
setColor(QPalette::WindowText, Qt
::white);
// sets foreground color of widget
TotalFieldPalette.setColor(QPalette::WindowText, Qt::white); // sets foreground color of widget
To copy to clipboard, switch view to plain text mode
Bookmarks