qskinny/examples/frames/frames.qml

99 lines
1.7 KiB
QML
Raw Normal View History

2017-07-21 18:21:34 +02:00
import QtQuick 2.0
import Skinny 1.0 as Qsk
import Frames 1.0
Qsk.Window
{
visible: true
color: "Gainsboro"
width: 800
height: 600
Qsk.LinearBox
{
orientation: Qt.Horizontal
dimension: 6
margins: 10
spacing: 10
// panel
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Plain
color: "Silver"
frameWidth: modelData
}
}
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Raised
color: "Silver"
frameWidth: modelData
}
}
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Sunken
color: "Silver"
frameWidth: modelData
}
}
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Plain
color: "Silver"
frameWidth: modelData
radius: 50
}
}
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Raised
color: "Silver"
frameWidth: modelData
radius: 50
}
}
Repeater
{
model: [0, 1, 2, 3, 4, 10]
Frame
{
style: Frame.Sunken
color: "Silver"
frameWidth: modelData
radius: 50
}
}
}
}