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

Setting a non-QAIM model in a header model will result in incorrect orientation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15
    • Quick: Controls 2
    • None

    Description

      E.g. a HorizontalHeaderView will lay out its items vertically. This can be seen by modifying the tests/manual/headerview example by setting 10 as the model (and perhaps removing the syncView binding).

      Another issue we need to account for if we're going to support this use case is the model roles in the QML files. We'll need to copy what ComboBox has:

              text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData
      

      Until we support those other models, we also need to document that only QAIM-based models are currently supported.

      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
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes