Hi,
I want to make QListView's one column editable in each QListViewItem. I have three columns in a QListView (Name, Extension,Size) , here i want to edit Size at run time.
Please assist me how can i do this.
Best Regards
Hi,
I want to make QListView's one column editable in each QListViewItem. I have three columns in a QListView (Name, Extension,Size) , here i want to edit Size at run time.
Please assist me how can i do this.
Best Regards
See the docs:
Qt3:
QListViewItem::setRenameEnabled ( int col, bool b )
Qt4:
Override QAbstractItemModel::flags() to return Qt::ItemIsEditable.
Save yourself some pain. Learn C++ before learning Qt.
Bookmarks