Rename file use virtual Keyboard in the QTableView
hello, every one!
I use the QFileSystemModel show files in the QTableView, and now I need to rename the file via the virtual keyboard.
Although I set all triggers to QTableView, one click did get cell in edit and can see the blinking cursor, virtual keyboard still not showing up. I have to click the editor again, then virtual keyboard could show up, but the editor is closed too.
I refer to the following link, but I do not know how to handle -- QApplication::postEvent(lineEdit, evt);
My code as follows:
if(false == tableView_view->currentIndex().isValid())
The link : https://forum.qt.io/topic/55735/solved-qtableview-edit-with-one-click
sorry, I forgot to add it.