PDA

View Full Version : QListWidget Item



csvivek
15th June 2008, 09:40
Is it Possible to disable each item in a QListWidget ?
i want something similar to QListWidgetItem::setHidden();
But the method should disable the listwidgetitem.
If yes then how?
Please Enlighten me on this...

--
Thanks in advance...

wysota
15th June 2008, 10:02
Use QListWidgetItem::setFlags() and make sure ItemIsEnabled flag is cleared.