I have QTreeWidget like this
What should i do to get value from selected row and filename column ?
I have current selected item
item = self.ui.files_treewidget.currentItem()
but how to access to specific cell?
I have QTreeWidget like this
What should i do to get value from selected row and filename column ?
I have current selected item
item = self.ui.files_treewidget.currentItem()
but how to access to specific cell?
You can use
QTreeWidgetItem.text(column)
, where column is an integer. In your example you would do: