Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Qt World Summit Conference App

 import Felgo
 import QtQuick
 import "../common"
 import "../details"

 ListPage {
   id: speakersPage

   title: qsTr("Speakers")
   backgroundColor: Theme.colors.secondaryBackgroundColor

   model: SortFilterProxyModel {
     sourceModel: JsonListModel {
       source: Object.values(dataModel.speakers)
       keyField: "id"
       fields: [ "id","full_name","title","avatar","talks","firstLetter" ]
     }

     sorters: [
       LocaleAwareSorter {
         roleName: "firstLetter"
       }]
   }

   section.property: "firstLetter"
   section.delegate: SimpleSection {
     style.compactStyle: Theme.isIos
   }

   listView.anchors.rightMargin: dp(20)
   listView.bottomMargin: dp(Theme.contentPadding)

   delegate: SpeakerRow {
     speaker: speakersPage.model.get(index)

     onSelected: {
       if(Theme.isAndroid)
         speakersPage.navigationStack.popAllExceptFirstAndPush(speakerDetailPageComponent, { speakerID: speaker.id })
       else
         speakersPage.navigationStack.push(speakerDetailPageComponent, { speakerID: speaker.id })
     }
   }

   listView.scrollIndicatorVisible: false

   SectionSelect {
     id: sectionSelect
     anchors.right: parent.right
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded