Hi,
I'm trying to change the background color of a qtreewidget without sucess:
QApplication *qa = new QApplication(argc, argv);
QWidget *qw = new QWidget();
QTreeWidget *tw = new QTreeWidget(qw);
QStringList lst;
lst.append(QString("testing"));
QTreeWidgetItem *test = new QTreeWidgetItem(tw, lst);
tw->setBackgroundColor(Qt::blue);
What's wrong? I'm using qt 4.2
In fact, I'm trying to change the color of a QGraphicsView (implemented in 4.2) ..
Thanks in advance
Bookmarks