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

Ian Monroe ian at monroe.nu
Fri Sep 19 15:27:52 CEST 2008


On Fri, Sep 19, 2008 at 8:24 AM, Jostein Topland <josteint at sim.no> wrote:
> 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.
>

Yep your right.

Just tested it out, takeTopLevelItem works though.


More information about the Qtscript-bindings mailing list