In this way works. Thank you so much Andreas, you've saved my life...2006/9/8, Andreas Pakulat <[EMAIL PROTECTED]>:
On 08.09.06 16:29:32, Oscar Cossu wrote:>def child(self, i):>if self.childItems.has_key(i):>return self.childItems[i]>&
lem(nodo.nodeName(),nodo.attributes().namedItem("id").nodeValue(),nodo.attributes().namedItem("goToSequence").nodeValue()))
##-- if nodo.hasChildNodes(): for count in range(nodo.childNodes
pologise for my english...hope it's understandable 2006/9/8, Andreas Pakulat <
[EMAIL PROTECTED]>:On 08.09.06 10:38:51, Oscar Cossu wrote:
> thank you for the advice, I have read the doc again (and again and again).> Now, I use a QTreeView ,what i have to do ?>>
?2006/9/7, Andreas Pakulat <
[EMAIL PROTECTED]>:
On 07.09.06 16:44:23, Oscar Cossu wrote:> Hy all, I set the model of a QTreeView with an object that is a subclass of> QAbstractItemModel.> When I change the model (ex. deleting a row) and emit layoutChanged()
> signal, the treeM
Hy all, I set the model of a QTreeView with an object that is a subclass of QAbstractItemModel.When I change the model (ex. deleting a row) and emit layoutChanged() signal, the treeModel should update the view, but errors occur.
The model contain a QDomDocument object, and the QTeeView draw the xm
Hy all.I use a QTreeView to show a QDomDocument object. Using drag & drop i makes change to the DOM three.The issue: when i send the signal to view to update, data goes corrupted, but only in the view.
This is the code:def dropEvent(self, event): oggetto=event.source() parent=oggetto