initial commit, basic project with basic components

This commit is contained in:
Anika Raemer 2018-10-17 20:51:39 +02:00
commit 269b48ed9d
11 changed files with 551 additions and 0 deletions

50
LenaPi/main.qml Normal file
View file

@ -0,0 +1,50 @@
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: 20
anchors.fill: parent
spacing: 10
orientation: ListView.Horizontal
delegate:
CircularListDelegate{
id: test
}
}
}
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:
RectangularListDelegate{
id: test
}
}
}
}