0

Is it possible to set the background brush of a QGraphicsScene with a Qt style sheet? I tried

QGraphicsScene {
background-color: #f00;
}

but it doesn't work. Is it possible to use stylesheets in the Qt Graphics View framework at all?

Ralph Tandetzky
  • 22,780
  • 11
  • 73
  • 120

1 Answers1

2

What you instead might be looking for is

QGraphicsView {
background-color: #f00;
}