import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
objectName: "mainView"
id: mainView
applicationName: "testPanelOverlay.dpniel"
width: units.gu(50)
height: units.gu(75)
Component {
id: sidePanel
Panel {
id: panel
anchors {
left: parent.left
bottom: parent.bottom
}
width: parent.width / 2
height: mainView.height
align: Qt.AlignLeft
Rectangle {
anchors.fill: parent
color: "white"
}
}
}
Page {
title: i18n.tr("Panel Overlay Header")
Component.onCompleted: {
var p = sidePanel.createObject(mainView);
}
}
}