Uploaded image for project: 'Qt Quick Components (Deprecated, use QTBUG)'
  1. Qt Quick Components (Deprecated, use QTBUG)
  2. QTCOMPONENTS-1206

SelectionDialog (Harmattan) assumes that models have a count attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Sprint 2011w09
    • Fix Version/s: None
    • Component/s: components
    • Labels:
      None
    • Environment:
      Linux

      Description

      According to the documentation custom models are supported in SelectionDialog. The ListView used in SelectionDialog.qml however uses the property model.count in onCountChanged and onModelChanged to calculate the height of the ListView. The count property is not available in all models. Therefore I can only use a custom QAbstractListModel when I add an appropriate count property to my model. This should either be documented or (preferably) work without a count property.

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              earthwings Dennis Nienhüser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes