initial commit, basic project with basic components
This commit is contained in:
commit
269b48ed9d
11 changed files with 551 additions and 0 deletions
50
LenaPi/main.qml
Normal file
50
LenaPi/main.qml
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue