forked from lubuwest/Friendiqa
version v0.6
This commit is contained in:
parent
bdc28e632e
commit
8482bde3ed
86 changed files with 7064 additions and 3208 deletions
|
@ -33,12 +33,13 @@ import QtMultimedia 5.8
|
|||
import QtQuick 2.9
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
Rectangle{
|
||||
|
||||
Page{
|
||||
id:newsvideofullscreen
|
||||
color:"black"
|
||||
//color:"black"
|
||||
//border.color: "light grey"
|
||||
width:root.width;
|
||||
height:root.height
|
||||
height:root.height-3*root.fontFactor*osSettings.bigFontSize
|
||||
property alias source:video.source
|
||||
Text{
|
||||
id:noticeText
|
||||
|
@ -46,7 +47,7 @@ Rectangle{
|
|||
color:"light grey"
|
||||
width:parent.width/2
|
||||
wrapMode: Text.Wrap
|
||||
font.pixelSize: 3*mm
|
||||
font.pointSize: osSettings.bigFontSize
|
||||
x:parent.width/2-parent.height/4
|
||||
y:parent.height/5
|
||||
visible: video.playbackState!=MediaPlayer.PlayingState
|
||||
|
@ -55,7 +56,7 @@ Rectangle{
|
|||
Video {id:video;
|
||||
anchors.fill:parent
|
||||
property string mimetype:""
|
||||
onErrorChanged:{noticeText.font.pixelSize=3*mm;noticeText.text=errorString;}
|
||||
onErrorChanged:{noticeText.font.pointSize=osSettings.bigFontSize;noticeText.text=errorString;}
|
||||
fillMode: Image.PreserveAspectFit;
|
||||
autoLoad: true
|
||||
autoPlay: true
|
||||
|
@ -63,7 +64,7 @@ Rectangle{
|
|||
MouseArea {
|
||||
anchors.fill:parent;
|
||||
onClicked:{
|
||||
root.pop()
|
||||
rootstackView.pop()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,6 +77,7 @@ Rectangle{
|
|||
z:2
|
||||
visible:video.playbackState!=MediaPlayer.StoppedState
|
||||
value: video.position/video.duration
|
||||
|
||||
MouseArea {
|
||||
anchors.fill:parent;
|
||||
onClicked:{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue