Hi,
I am using QTableView class. I want when user double clicks on the item (e.g. row = 1, column = 1) dialog appears on the screen.
I wrote the following:
Qt Code:
MainWindow::MainWindow(/* PARAMS */) { ... connect(tableView, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(showDialog(const QModelIndex &))); ... }To copy to clipboard, switch view to plain text mode
but the slot isn't called .
Why double click signal isn't emitted?
thanks,
Hasmik.
Bookmarks