[Qt-interest] get cell value of qtablewidget

mierdatutis mi mmm286 at gmail.com
Mon Aug 3 07:22:11 CEST 2009


Many thanks!
It works!

Best regards,


2009/8/2 Donal O'Connor <donaloconnor at gmail.com>

> QString value = m_myTableWidget->item(row,column)->text(); if you are
> storing text.
>
> Haven't test it but looks like that from the docs.
>
> On Sun, Aug 2, 2009 at 5:38 PM, mierdatutis mi <mmm286 at gmail.com> wrote:
>
>> Hi,
>>
>> I would like to know how could I get cell value  of qtablewidget when I do
>> click in a cell. I do a signal when I do click in a cell but I don't know
>> how get the cell value to assign it to a variable.
>>
>> Many thanks and sorry for my english!
>>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090803/c129dc94/attachment.html 


More information about the Qt-interest-old mailing list