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

ListModel's documentation mentions nothing about nesting ListElements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • 5.13
    • 5.0.0
    • Documentation
    • None

    Description

      The use case is auto tested:

      Here's an example:

      ListModel {
              id: alarmModel
      
              ListElement {
                  hour: 6
                  minute: 0
                  day: 2
                  month: 8
                  year: 2018
                  activated: true
                  label: "Wake up"
                  daysToRepeat: [
                      ListElement { dayOfWeek: 0; repeat: false },
                      ListElement { dayOfWeek: 1; repeat: false },
                      ListElement { dayOfWeek: 2; repeat: false },
                      ListElement { dayOfWeek: 3; repeat: false },
                      ListElement { dayOfWeek: 4; repeat: false },
                      ListElement { dayOfWeek: 5; repeat: false },
                      ListElement { dayOfWeek: 6; repeat: false }
                  ]
              }
      
              // ...
      }
      

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes