forked from lubuwest/Friendiqa
Friendiqa v0.2.1
This commit is contained in:
parent
c85f857afe
commit
ee50729e0d
45 changed files with 580 additions and 146 deletions
|
@ -64,12 +64,10 @@ Rectangle{
|
|||
imageUploadModel.append({"imageUrl":url,"description":""})
|
||||
}
|
||||
|
||||
z:2
|
||||
border.color: "grey"
|
||||
width: parent.width-4*mm
|
||||
height:parent.height-12*mm
|
||||
x:2*mm
|
||||
y:10*mm
|
||||
//border.color: "grey"
|
||||
y:1
|
||||
width:root.width-mm
|
||||
height:root.height-5*mm
|
||||
property string directory: ""
|
||||
|
||||
Connections{
|
||||
|
@ -95,8 +93,12 @@ Rectangle{
|
|||
anchors.topMargin: 1*mm
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 1*mm
|
||||
spacing:mm
|
||||
|
||||
spacing:5*mm
|
||||
Text{
|
||||
font.pixelSize: 3.5*mm
|
||||
font.bold: true
|
||||
text:qsTr("Upload to album")
|
||||
}
|
||||
// BlueButton{
|
||||
// id:permButton
|
||||
// text: ((contact_allow.length==0)&&(contact_deny.length==0)&&(group_allow.length==0)&&(group_deny.length==0))?"\uf09c":"\uf023"
|
||||
|
@ -109,7 +111,9 @@ Rectangle{
|
|||
BlueButton{
|
||||
id:closeButton
|
||||
text: "\uf057"
|
||||
onClicked:{imageDialog.destroy()}
|
||||
onClicked:{photoStack.pop();
|
||||
//imageDialog.destroy()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -250,6 +254,9 @@ Rectangle{
|
|||
albumModel.append({"text":storedAlbums[n]})}
|
||||
})}
|
||||
catch (e){print(e)}
|
||||
if(attachImageURLs.length>0){
|
||||
for (var n in attachImageURLs){attachImage(attachImageURLs[n])}
|
||||
}
|
||||
}
|
||||
// BusyIndicator{
|
||||
// id: imageBusy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue