NoRulez
25th April 2008, 18:06
Hey @all,
have a problem where i'am confused. I have a QGraphicsScene Object where i draw my stuff. today i set the viewport of the QGraphicsView as follows:
view = new QGraphicsView(scene);
view->setViewport(new QGLWidget(new QGLContext(QGLFormat::defaultFormat())));
on my primary monitor (vga output) the background is white -> Correct
but when i start my Application with the mouse cursor at my second monitor (digital output) the background is black :confused:
Where can i handle that the background of the QGraphicsView is allways white?
I hope somebody can help me.
King Reagards
NoRulez
have a problem where i'am confused. I have a QGraphicsScene Object where i draw my stuff. today i set the viewport of the QGraphicsView as follows:
view = new QGraphicsView(scene);
view->setViewport(new QGLWidget(new QGLContext(QGLFormat::defaultFormat())));
on my primary monitor (vga output) the background is white -> Correct
but when i start my Application with the mouse cursor at my second monitor (digital output) the background is black :confused:
Where can i handle that the background of the QGraphicsView is allways white?
I hope somebody can help me.
King Reagards
NoRulez