Hi guys.
I have problem here.
I am using qt designer to create my Gui. I put a GraphicsView in the center of my QMainWindow and I´ve tried to change the background but I cant, all the box is still white. What is my mistake?
Qt Code:
QGraphicsScene scene; scene.setBackgroundBrush(Qt::blue); ui.graphicsView->setScene(&scene); ui.graphicsView->show();To copy to clipboard, switch view to plain text mode
Thanks in advanced
Jorge
Bookmarks