Hi!
I added a button to the QGraphics Scene:
QGraphicsProxyWidget *mCloseButton;
QPushButton *closeButton = new QPushButton( i18n( "Close" ) );
mCloseButton = scene()->addWidget( closeButton ); //Return QGraphicsProxyWidget
But around the button I have a gray rectangle.
( example: http://kepfeltoltes.hu/view/120623/p...toltes.hu_.png )
How can I set the background of QGraphicsProxyWidget (mCloseButton) so it can be equal with the background of QGraphicsScene.
Bookmarks