Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.4
- import Ubuntu.Components 1.3
- MainView {
- width: units.gu(100)
- height: units.gu(75)
- Component.onCompleted: QuickUtils.mouseAttached = true
- AdaptivePageLayout {
- // This is the main page stack
- anchors.fill: parent
- primaryPage: Page {
- header: PageHeader {
- title: "page1"
- }
- }
- }
- BottomEdge {
- // Bottom edge available globally
- id: bottomEdge
- anchors.fill: parent
- hint.text: "bottomedge"
- contentComponent: AdaptivePageLayout {
- width: bottomEdge.width
- height: bottomEdge.height
- primaryPage: Page {
- header: PageHeader {
- title: "bottom page"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement