Skip to content

Instantly share code, notes, and snippets.

@esokullu
Last active September 29, 2017 01:20
Show Gist options
  • Save esokullu/72894d2322c5fe176c95bcf8fd7faf99 to your computer and use it in GitHub Desktop.
Save esokullu/72894d2322c5fe176c95bcf8fd7faf99 to your computer and use it in GitHub Desktop.
GPage {
Text {
id: counter
// ...
MouseArea {
id: theCounter
anchors.fill: parent
onClicked: {
console.log("can't reach videoOutput1");
}
}
}
body: GBody {
id: videoBody
anchors.fill: parent
Item {
id: recorder
anchors.fill: parent
VideoOutput {
id: videoOutput1
source: cameraObject
fillMode: Image.PreserveAspectCrop
orientation: cameraObject.orientation
anchors.fill: recorder
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment