What about
Qt Code:
  1. splitter->setStyleSheet("background: red");
To copy to clipboard, switch view to plain text mode 
or
Qt Code:
  1. QPalette p = splitter->palette();
  2. p.setColor(QPalette::Window, Qt::red);
  3. splitter->setPalette(p);
  4. splitter->setAutoFillBackground(true);
To copy to clipboard, switch view to plain text mode 
?