[Interest] How to get a column data from QTableWidget

alexander golks alex at golks.de
Fri May 29 16:13:31 CEST 2020


> void MainWindow::on_tableWidget_itemDoubleClicked(QTableWidgetItem *item)
> 
> {
> 
>         QString data = item->col(my_intended_col_index).toString(); //
> no such function

maybe something like:
	QString = tableWidget->item(item->row(),my_intended_col_index).toString();

alex<

-- 
/*
 *  panic("%s called.  This Does Not Happen (TM).", __FUNCTION__);
 *          linux-2.6.6/arch/mips/mm-64/tlb-dbg-r4k.c
 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200529/8c303de6/attachment.sig>


More information about the Interest mailing list