import QtQuick 2.7 import QtQuick.Window 2.2 import QtQuick.Controls 1.4 Window { visible: true width: 800 height: 480 title: "LenaPi 1.0" MyScrollView{ id: circleList anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top anchors.margins: 20 flickableItem.interactive: true contentItem: ListView{ model: navigationList.pModelItems anchors.fill: parent spacing: 10 orientation: ListView.Horizontal delegate: NavigationListDelegate{ id: delegate model: navigationList.pModelItems[index] } } } // MyScrollView{ // anchors.left: parent.left // anchors.right: parent.right // anchors.top: circleList.bottom // anchors.margins: 20 // flickableItem.interactive: true // contentItem: // ListView{ // model: 20 // anchors.fill: parent // spacing: 10 // orientation: ListView.Horizontal // delegate: // NavigationListDelegate{ // id: test // } // } // } }