mattia
19th March 2008, 09:07
Hi there,
i have a QTreeWidget with some QTreeWidgetItem in, i'd like to hide one of them, i tried with setHidden method but it does not work, i add the item in this way:
QTreeWidgetItem *parentFake = new QTreeWidgetItem ();
parentFake->setText ( 0 , tr ("fake") );
parentFake->setHidden(true);
itemsList.append( parentFake );
and i'm able to see them on my GUI...thx
i have a QTreeWidget with some QTreeWidgetItem in, i'd like to hide one of them, i tried with setHidden method but it does not work, i add the item in this way:
QTreeWidgetItem *parentFake = new QTreeWidgetItem ();
parentFake->setText ( 0 , tr ("fake") );
parentFake->setHidden(true);
itemsList.append( parentFake );
and i'm able to see them on my GUI...thx