summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/pingpong/assets/main.qml
blob: 77cf723b36790b8065848c4c7ca6ab615000954d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2014 BlackBerry Limited. All rights reserved.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick 2.1
import QtQuick.Window 2.1

Window {
    id: menulist
    width: 600
    height: 600
    visibility: (Qt.platform.os === "android" || Qt.platform.os === "ios") ? Window.FullScreen : Window.Windowed
    visible: true

    Dialog {
        id: info
        anchors.centerIn: parent
        visible: false
    }

    Component.onCompleted: pageLoader.source = "Menu.qml"

    Loader {
        id: pageLoader
        anchors.fill: parent
    }
}