Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I changed the color of the text to white using the palette, but the text color is changed to black when the cursor is focused elsewhere.
You only changed the color for QPalette::Active color group