Luc4
14th March 2010, 14:16
Hi! I'm trying to apply a custom style to a widget. It seems to work correctly when I try to apply it using:
QApplication::setStyle(style);
but I would like to apply this only to a specific widget, so I tried:
QGraphicsView* view = new QGraphicsView(this);
view->setStyle(style);
but this seems not to work. Any idea why?
Thanks!
QApplication::setStyle(style);
but I would like to apply this only to a specific widget, so I tried:
QGraphicsView* view = new QGraphicsView(this);
view->setStyle(style);
but this seems not to work. Any idea why?
Thanks!