Qt World Summit: Register Today!

QTableView clicked signal

  • Hi !

    I have a QStandardItemModel with external data.
    This model is linked to a QTableView with setModel(), everything is well displayed, but while connecting the signal clicked(const QModelIndex& index), my slot is never triggered, I set the flags Qt::ItemIsEnabled to items onto my model. My items are QStrings.

    The model is updated by calling only setItem();
    It seems I didn't understand how to use the signal clicked() from QTableView...

    Could anyone help me ?

  • Ok an error while writing the connect() code...

Log in to reply