here is what I do:

Qt Code:
  1. final_angle->display(44.4);
  2. QPalette* palette = new QPalette();
  3. palette->setColor(QPalette::Background,Qt::red);
  4. final_angle->setPalette(*palette);
To copy to clipboard, switch view to plain text mode 

where is the problem?