Double-click causes opening new window in Table View
Solved
General and Desktop
-
Hello,
I woud like to do in Table View(SQL MODEL-BASED): when I double-click on the verse, it makes open the new window. Can you tell me how can i do it. -
Hi
You can connect the signal
http://doc.qt.io/qt-5/qabstractitemview.html#doubleClickedto a slot in mainwindow
In that slot , you can then show a window. -
@drock You can right-click on tableView in designer and choose menu-item "Go to slot", then select "doubleClicked(QModelIndex)".
-
Thanks everyone
1/4