CameraToolBar {
id: toolBar
expanded: true
- manualBack: true
+ hideBack: true
anchors.bottom: parent.bottom
anchors.bottomMargin: show ? 20 : -1 * (height + 20)
anchors.left: parent.left
anchors.leftMargin: 20
opacity: 0.8
-// TODO: hide back button
+
property bool show: deleteDialog.status == DialogStatus.Open ||
deleteDialog.status == DialogStatus.Opening ||
hideTimer.running || menu.status == DialogStatus.Open ||
menu.status == DialogStatus.Opening ||
(view.currentItem && view.currentItem.error) && !view.currentItem.playing
-// TODO:
-// onClicked: pageStack.pop()
-
Behavior on anchors.bottomMargin {
PropertyAnimation { duration: 200; }
}
property bool show: true
- manualBack: true
+ hideBack: true
expanded: true
anchors.bottom: parent.bottom
anchors.bottomMargin: show ? 20 : -1 * (height + 20)
},
ToolIcon {
id: control
- iconId: !video.paused ? "icon-m-toolbar-mediacontrol-pause-white" : "icon-m-toolbar-mediacontrol-play-white"
+ iconId: !video.paused ? "icon-m-toolbar-mediacontrol-pause-white"
+ : "icon-m-toolbar-mediacontrol-play-white"
onClicked: {
video.toggle()
hideTimer.restart()