[Interest] Qt Quick 2.x Complex ListView
rpzrpzrpz at gmail.com
rpzrpzrpz at gmail.com
Thu May 22 00:18:39 CEST 2014
Jason:
I want to take your advice and see if I can apply it.
How would you handle a dynamically changing list linked to an abstract
model.
Yes, I could put a static list in the QML in a scrollview.
But I want the total number or "rows" in the list to be dynamic
and for each row to be able to change its render logic based on changes
in the underlying model.
Maybe you could add some color to your comment to point me
in a direction that uses dynamic and underlying C++ data to generate
the display.
Cheers,
md
On 5/20/2014 8:00 AM, Jason H wrote:
> The quart you have isn't a list of the same things. You have an
> arrangement of different things in a scroll view.
> --
> Sent from my Android phone with GMX Mail. Please excuse my brevity.
>
> "md at rpzdesign.com" <md at rpzdesign.com> wrote:
>
> Hello QTers:
>
> After pouring through available online documentation, I am at a loss
> for rendering complex Listviews from a C++ based AbstractModel.
>
> Does anybody have an idea on how to create each row of the listview with
> a delegate that allows for each row to be rendered with separate logic
> instead of the standard delegate which renders each row with the
> same or very similar logic.
>
> Also, different areas of the row must trigger different onclick events
> using separate mouseareas.
>
> It looks like C++ QQuickPaintedItem is what I may have to use to get the
> effect, but I would like to stay away from that if possible.
>
> Any comments or tips would be useful and I am sure more people
> would like this option
>
> Cheers,
>
> md
>
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
More information about the Interest
mailing list