hey i was wondering if theres a way to write protect cells in a table if you dont want a user to write data into they particular cells - with a QTableWidget???
Printable View
hey i was wondering if theres a way to write protect cells in a table if you dont want a user to write data into they particular cells - with a QTableWidget???
I am not sure if you can do it through QTableWidget, but QTableWidgetItem has setFlags method:
BojanQuote:
void QTableWidgetItem::setFlags ( Qt::ItemFlags flags )
Sets the flags for the item to the given flags. These determine whether the item can be selected or modified.
hey i tried the flags method and it worked - thanks man for the help. cya