Hi,
I want to make one cell in each row editable. I mean a only one column should be editable. I am using QTreeWidget. For example if below is code.
QTreeWidgetItem *cities = new QTreeWidgetItem(treeWidget);
cities->setText(0, tr("Cities"));
QTreeWidgetItem *osloItem = new QTreeWidgetItem(cities);
osloItem->setText(0, tr("Oslo"));
osloItem->setText(1, tr("Yes"));
We want to make only Yes part editable. If i set flags of osloItem, it make whole of row i.e. olsoItem i.e. Oslo as well as Yes editable.
Please put some example or code if some one can. Thanks.
Bookmarks