title: Setting a plain background color for a QGraphicsView widget
body: <p>I'm trying to display a little square of solid color.</p>
  
  <p>I've created a QGraphicsView widget myGraphicsView and call:</p>
  
  <pre><code>ui-&gt;myGraphicsView-&gt;setBackgroundBrush(QBrush(Qt::red, Qt::SolidPattern));
  </code></pre>
  
  <p>But it stays white. What am I doing wrong?</p>