Double clicking with QTableView
I'm trying to get the doubleClicked signal connected to my slot, but I receive an error.
The following code produces an error:
Code:
this,
Qt::QueuedConnection);
where 'm_ui.m_myTable' is of type, QTableView*.
Here is the error message:
QMetaObject::connectSlotsByName(): No matching signal for on_clearLogButton_clicked()
Object::connect: No such signal QTableView::doubleClicked(QModelIndex&index)
Object::connect: (sender name: 'm_holdemAllTable')
Object::connect: (receiver name: 'QTPokerClientClass')
Does anyone know how to avoid this error?
I got some iunput from the following thread, but I don't know how the thread ended.
http://www.qtcentre.org/forum/f-qt-p...cell-1037.html
Thanks,
DP
Re: Double clicking with QTableView
You may not put parameter names into the connect statement, it should be:
Code:
this,
Qt::QueuedConnection);
Re: Double clicking with QTableView
Duh, yes I forgot about that... thanks it works now.
:o