summaryrefslogtreecommitdiffstats
path: root/tests/auto/pdfquick/multipageview/data/multiPageViewWithFeedback.qml
blob: 93a556c973117327058b7c42df02c11eae44d1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick
import QtQuick.Pdf

PdfMultiPageView {
    id: view
    property point hoverPos: hover.point.position
    width: 640; height: 480
    document: PdfDocument { }

    // mouse hover feedback for test development
    Rectangle {
        width: 200
        height: hoverPosLabel.implicitHeight + 12
        color: "beige"
        Text { id: hoverPosLabel; x: 6; y: 6; text: view.hoverPos.x + ", " + view.hoverPos.y }
    }
    HoverHandler { id: hover }
}