Thank you for your quick response and for your patience, but how can I connect the signal to TableView?

And second question, how can I read a value of selected (by showing menu) row, you've wrote by "QModelIndex::data()" but in newFile() funcition I haven't data :/