How to color QListWidgetItem
-
hi..
how can we give colors to QListWidgetItem
This is the code I have..
Suppose ,i Want to give green to the QListWidgetItem,how can I do it..
@QListWidgetItem *x=new QListWidgetItem(name,ui->listWidget);
ui->listWidget->addItem(name);
ui->listWidget->show();
@Thanks in advance..
-
-
gerolf thanks man..!!
-
Have a look at this "forum thread":http://developer.qt.nokia.com/forums/viewthread/3314/, it's the same problem.