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

Container: add support for URLs and Components

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.7.0 Beta
    • Quick: Controls 2
    • None

    Description

      Container (inherited by SwipeView/TabBar) provides API for adding and inserting items dynamically:

      • void addItem(Item item)
      • void insertItem(int index, Item item)
        Given that the purpose of this API is dynamic addition and removal, it typically also involves dynamic creation of items. Therefore Container should make it more convenient by accepting URLs and Components in addition to plain Items and do the job of creating an instance and initializing the properties, just like StackView does:
      • Item addItem(var item, jsobject properties)
      • Item insertItem(int index, var item, jsobject properties)

      Attachments

        Issue Links

          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
              jpnurmi J-P Nurmi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes