Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135606

Allow users to create their own C++ views for Qt Quick

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      For QML and Qt Quick to be able to create advanced applications developers need to be able to create custom views for their models, rather than hoping that there's an existing view that can be adapted for their purposes.

      For example, I want to create a Repeater/ListView-style element that inserts a separator between each of the delegates (except before the first and after the last). This can't be easily done with any of the existing components so I'm having to depend on private classes to implement my own.

      This has been a recurring issue throughout the years, with people wanting to be able to build:

      There are more use cases, but the point is that it's better if we're provided with the low-level primitives to build whatever we want, rather than hoping a new component is provided to cater to our needs.

      Having things like QQmlChangeSet, QQuickFlickable, QQuickTransition and QQmlDelegateModel public would allow people to start building all sorts of cool views that can efficiently update when models update.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            camilo Dave Erified
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes