Qt-contributors-summit-2014-QtCs14MoreDeclarative

From Qt Wiki
Revision as of 09:25, 6 February 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declarative QML

It should be declarative. Let’s make the dream come true! What specific, constructive changes can we make to help this happen without breaking everyone (and without making things impossible).

Maybe just better

Specific API issues

Changing State

StateChange element: like https://codereview.qt.io/#change,3356

Loader/Repeater

It interrupts the hierarchy of objects, but main problem is that it’s getting abused.

Deferred loading flag on Item would fix the not-really-dynamic case where they shouldn’t be using Loader. And tools can override the flag somehow.

Signal Handlers

Pull model basically solves this in the cases where it’s abused.

Could expose Polish, which might also solve it in specific cases.

Translation

DONE! If it’s not in a complex expression of course.

Strictly Declarative Mode

Of some interest, but needs more actual use-cases that it would solve before being worth the effort.

Declarative Transactions (Atomic/Pull bindings)

Good idea. Tons and Tons of work.