Hi, I am using QTableWidget and I am creating table items like this:
QTableWidgetItem *cgname = new QTableWidgetItem(desc);
To copy to clipboard, switch view to plain text mode
then i set it checked:
cgname->setCheckState(Qt::Checked);
cgname->setCheckState(Qt::Checked);
To copy to clipboard, switch view to plain text mode
and intset to table
cgTableWidget->setItem(row, 0, cgname);
cgTableWidget->setItem(row, 0, cgname);
To copy to clipboard, switch view to plain text mode
I want to modify some data when checkbox becomes checked/unchecked, so i probably need to use some signal for this, but which one? I have looked at QTableWidgetItem documentation and have not found it Hope you can help me.
Bookmarks