initial commit, basic project with basic components
This commit is contained in:
commit
269b48ed9d
11 changed files with 551 additions and 0 deletions
32
LenaPi/MyScrollView.qml
Normal file
32
LenaPi/MyScrollView.qml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
import QtQuick 2.0
|
||||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
|
||||
ScrollView{
|
||||
style: ScrollViewStyle{
|
||||
transientScrollBars: true
|
||||
handle: Item {
|
||||
implicitWidth: 16
|
||||
implicitHeight: 8
|
||||
Rectangle {
|
||||
color: "blue"
|
||||
border.color: "black"
|
||||
radius: height/2
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: 1
|
||||
anchors.leftMargin: 1
|
||||
anchors.rightMargin: 1
|
||||
anchors.bottomMargin: 1
|
||||
}
|
||||
}
|
||||
scrollBarBackground: Rectangle{
|
||||
color: "transparent"
|
||||
border.color: "grey"
|
||||
border.width: 1
|
||||
height: 8
|
||||
radius: height/2
|
||||
}
|
||||
decrementControl: Item{}
|
||||
incrementControl: Item{}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue