[Qt-interest] Hide A QTableWidgetItem

Irfan Omair irfan.omair.qt at gmail.com
Mon Jan 18 19:43:43 CET 2010


QTableWidgetItem is not widget.
You can show /hide row using QTableView::HideRow(int)/showRow(int)
Or you can enable/diable using ItemFlags.

Regards,

Irfan Omair

On Mon, Jan 18, 2010 at 10:26 AM, Yong Zhang <zycmm9 at gmail.com> wrote:

> Hi,
>
> I want to hide/unhide an item contained in a QTableWidget. However, it
> seems QTableWidgetItem does not have member functions like isHidden()
> and setHidden(bool) as other two container widgets (QTreeWidget and
> QListWidget). I remember that hiding an item should be a common feature
> for the items. Can anyone knows how to do it?
>
> Thank you very much,
>
> Yong
> _______________________________________________
> 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/20100118/8093d715/attachment.html 


More information about the Qt-interest-old mailing list