Jason:
On Fri, May 11, 2012 at 12:15 PM, Jason Dictos wrote:
> What I’ve done to work around this is to always have a dummy item called
> “Loading…” as the first item in the list. Then when that node expands, load
> and replace it. That has turned out to be a pretty good user experience as
> well
Hi Jan
Thanks for your reply. I've responded to a few things inline below.
On Mon, May 14, 2012 at 7:59 AM, Jan Kundrát wrote:
>
> I'd strongly encourage to check your model using ModelTest [1]. The
> trouble with Qt models is that any error you make will usually result in
> subtle errors or se
On 05/11/12 20:25, Adam Light wrote:
> I have tried emitting SourceModel::dataChanged() when a node goes from
> not having children to having children, but that does not cause the view
> to update correctly. Emitting layoutAboutToBeChanged()/layoutChanged()
> *does* cause the view to be updated cor
g
Subject: [Interest] QAbstractItemModel and lazy loading
Hi
I have a QAbstractItemModel subclass SourceModel in my application. I have a
QTreeView widget that displays SourceModel.
SourceModel monitors data structures in my application for changes and when it
detects changes it updates itself to r
Hi
I have a QAbstractItemModel subclass SourceModel in my application. I have
a QTreeView widget that displays SourceModel.
SourceModel monitors data structures in my application for changes and when
it detects changes it updates itself to reflect those changes.
SourceModel is written to lazily