| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi! I need to change color of one item. I do it so: comboBox->setItemData(3, Qt::red, Qt::ForegroundRole); But when I select this item it text color become white on blue background. What I need to do that color of selected item remain red?