Hi,
I used this to get rid of the window bar.
Qt Code:
  1. setFrameStyle(QFrame::NoFrame); // QFrame::Panel | QFrame::Raised
  2. setWindowFlags(Qt::FramelessWindowHint);
To copy to clipboard, switch view to plain text mode 

You may try to use QCoreApplication::setPalette
I used the following for changing my background color. Set a pixmap or use a QColor for the Brush.

Qt Code:
  1. QWSServer::setBackground(QBrush(pix)); // set default background color
To copy to clipboard, switch view to plain text mode