Re: [Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-30 Thread Andy
On Sat, Apr 30, 2016 at 4:08 AM, anton wrote: > Thanks Björn, > > I'll try it (actually i did the job in the rowCount() function..) > I would have preferred that the documentation be clear about this, > I mean with a detailed example :-) > Slight aside: Since you're working with QAbstractItemMo

Re: [Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-30 Thread anton
Thanks Björn, I'll try it (actually i did the job in the rowCount() function..) I would have preferred that the documentation be clear about this, I mean with a detailed example :-) Thanks Anton Björn Schäpers wrote: > Am 26.04.2016 um 19:05 schrieb anton: >> Hi, >> >> I have subclassed QAbstr

Re: [Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-27 Thread Björn Schäpers
Am 26.04.2016 um 19:05 schrieb anton: Hi, I have subclassed QAbstractItemModel, and I want to load additionally data in the model as soon as somebody clicks on the [+] in the treeview to load the children of this item form an external data ( web- app which gives me json data back). Now: I rei

[Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-26 Thread anton
Hi, I have subclassed QAbstractItemModel, and I want to load additionally data in the model as soon as somebody clicks on the [+] in the treeview to load the children of this item form an external data ( web- app which gives me json data back). Now: I reimplemented hasChildren() in the model b