How can i get information about editing items of QTreeView?
Hello, i have some QTreeView with QStandardItemModel.
How can i know witch item of QTreeView or index of QStandardItemModel currently being edited?
i think you can get QModelIndex
thru QTreeView's currentIndex() or
thru QTreeView's selectionModel() 's features,,
This functions return selected item/items but the fact that the index is chosen does not mean that it is edited
Maybe read the Model/View tutorial. It is very easy to read and includes selection options.
I solved my problem by checking state of my itemView and currentIndex() function.
Thank you for help!