Button { id: image_button iconSource: theme.inverted ? "../common/images/image-white.png" : "../common/images/image.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: video_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendPicture) } } Button { id: video_button iconSource: theme.inverted ? "../common/images/video-white.png" : "../common/images/video.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: audio_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendPicture) } } Button { id: audio_button iconSource: theme.inverted ? "../common/images/audio-white.png" : "../common/images/audio.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: location_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendPicture) } }
Button { id: image_button iconSource: theme.inverted ? "../common/images/image-white.png" : "../common/images/image.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: video_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendPicture) } } Button { id: video_button iconSource: theme.inverted ? "../common/images/video-white.png" : "../common/images/video.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: audio_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendVideo) } } Button { id: audio_button iconSource: theme.inverted ? "../common/images/audio-white.png" : "../common/images/audio.png" width: mediaContentSlip.width == 328 ? 44 : 0 visible: width == 44 ? true : false height: width anchors.right: location_button.left anchors.rightMargin: 10 anchors.verticalCenter: parent.verticalCenter onClicked: { mediaContentSlipOff.start(); pageStack.push(sendAudio) } }