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

Container: add support for URLs and Components

XMLWordPrintable

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

      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)

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

            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

              Created:
              Updated:

                There are no open Gerrit changes