Hello all,
I'm trying the following to set background color for a QGrahpicsWidget object
QGrahpicsWidget* w = new QGrahpicsWidget();
palette = w->palette();
brush.setColor(Qt::blue);
w->setPalette(palette);
QGrahpicsWidget* w = new QGrahpicsWidget();
QBrush brush;
QPalette palette;
palette = w->palette();
brush.setColor(Qt::blue);
palette.setBrush(QPalette::Active, QPalette::Background, brush);
w->setPalette(palette);
To copy to clipboard, switch view to plain text mode
but it doesn't work 
any one has an idea???
thx to much
Bookmarks