Hello
I have created a QStandardItemModel with * rows and 6 columns in each row to pass on a treeview.
I need to use the slot below to do various things ,but ONLY if the second column has clicked in the treeview.If it is any other column just nothing happens, or at least the program enters doThings() function but does a check inside to see what column from the 6 had clicked.If it is the 2nd continues, else breaks.Can someone help me with this check?
(this is the slot:doThings( const QModelIndex& ))
Thanks!
Bookmarks