[Qtscript-bindings] QTreeWidget, deleting/removing an item

Jostein Topland josteint at sim.no
Fri Sep 19 15:24:43 CEST 2008


Ian Monroe wrote:
> On Fri, Sep 19, 2008 at 7:53 AM, Jostein Topland <josteint at sim.no> wrote:
>   
>> How is deleting items in a QTreeWidget done in QtScript?
>>     
>
> Did you tree treeWidget.removeItemWidget ?
>
> Ian
>   
I also tried that, but that even does not work for c++ or qtscript. 
removeItemWidget refers to an item widget laid on top of an item. widget 
items are something else than items.


More information about the Qtscript-bindings mailing list