Qt-based BB10 API Examples Documentation

Previewer.qml Example File

invoketarget/assets/Previewer.qml
    import bb.cascades 1.0
    NavigationPane {
        backButtonsVisible: true
        peekEnabled: true
        Page {
            titleBar: TitleBar {
                title: qsTr("Previewer")
            }
            Container {
                horizontalAlignment: HorizontalAlignment.Fill
                ImageView {
                    imageSource: _app.uri
                    scalingMethod: ScalingMethod.AspectFit
                }
            }
        }
    }