PDA

View Full Version : HOw to handle checkBox event occured in qlistwidget



sanket.mehta
16th November 2010, 10:36
Hi All,

I want to add checkBoxes in QListWidget dynamically which I add using the following code:

QListWidgetItem* item = new QListWidgetItem(QString);
item->setCheckState(Qt::Unchecked);
listWidget->addItem(item);

Now I want to handle the event occured when any user click on the checkbox in QlistWidget.

Can anyone please help me on this?

Thanks in Advance,
Sanket