hello,
i am trying to change the background color so i saw the documentation and used the following code
Qt Code:
  1. mainText->setAutoFillBackground(true);
  2. mainText->setPalette(QPalette(QColor(255, 250, 205)));
To copy to clipboard, switch view to plain text mode 
but the background still white.
how can i change the background color?
please help me.
and thank you.