Hello! I've got a question about implementation of a standart tree model for TreeView.
I have a response from database that lools like
[
[A, [a,b,c]],
[B,[a,b,c]],
.
.
.
[N,[a,b,c]]
]
And I want to pass it through treemodel to treeview, for in GUI it looks like that:
A
|
+---a
+---b
+---c
|
B
+
|
+---a
+---b
+---c
I've took a look at example, that comes with PyQT4, but in that example they retrieve data from a text file, where tree structure is marked by tabs. and I cannot realize how I can modify this standart example for it works with my data...
I'll be thankful for any help...