Cura/plugins/LayerView/LayerView.qml
Arjen Hiemstra 81aac4a1c1 Add 'plugins/LayerView/' from commit 'ffcf5c7885b5ebf9d99103b68f03fb86d5610d27'
git-subtree-dir: plugins/LayerView
git-subtree-mainline: bda10b5ce5b6933c3952d4e3999b886c5dc31443
git-subtree-split: ffcf5c7885b5ebf9d99103b68f03fb86d5610d27
2015-04-30 14:55:46 +02:00

35 lines
746 B
QML

import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.1
import QtQuick.Controls.Styles 1.1
import UM 1.0 as UM
Item
{
width: 250
height: 250
/*Rectangle
{
color: "blue"
width: 250
height:250
}*/
Slider
{
width: 10
height: 250
anchors.right : parent.right
//anchors.fill: parent
//Layout.preferredHeight: UM.Theme.sizes.section.height;
orientation: Qt.Vertical
minimumValue: 0;
maximumValue: 100;
value: 50;
onValueChanged: UM.ActiveView.triggerAction("setLayer", value)
style: UM.Theme.styles.slider;
//Component.onCompleted: {console.log(UM.Theme.styles.slider)}
}
}