forked from lubuwest/Friendiqa
v.0.3.3
This commit is contained in:
parent
d1acb9339a
commit
09e8b8d097
49 changed files with 1720 additions and 825 deletions
|
@ -153,7 +153,7 @@ Rectangle {
|
|||
anchors.right: parent.right
|
||||
onClicked: {
|
||||
try {friendsModel.clear()} catch(e){print(e)};
|
||||
root.contactLoadType="friends";
|
||||
//root.contactLoadType="friends";
|
||||
Newsjs.requestFriends(root.login,db,root,function(nc){
|
||||
root.newContacts=nc
|
||||
})
|
||||
|
@ -171,15 +171,15 @@ Rectangle {
|
|||
value: currentContact/root.newContacts.length
|
||||
}
|
||||
|
||||
GridView {
|
||||
//GridView {
|
||||
ListView{
|
||||
id: friendsView
|
||||
x:mm
|
||||
y:updateFriendsButton.height+2*mm
|
||||
width:friendsGridTab.width-2*mm
|
||||
height:friendsGridTab.height-updateFriendsButton.height-2*mm
|
||||
clip: true
|
||||
cellHeight: 16*mm
|
||||
cellWidth: 17*mm
|
||||
spacing: 2
|
||||
//add: Transition {
|
||||
// NumberAnimation { properties: "x,y"; from: 300; duration: 1000 }
|
||||
// }
|
||||
|
@ -233,15 +233,13 @@ Rectangle {
|
|||
})
|
||||
}
|
||||
}
|
||||
GridView {
|
||||
ListView {
|
||||
id: contactsView
|
||||
x:mm
|
||||
y:cleanButton.height+2*mm
|
||||
width:contactsGridTab.width-2*mm
|
||||
height:contactsGridTab.height-cleanButton.height-2*mm
|
||||
clip: true
|
||||
cellHeight: 16*mm
|
||||
cellWidth: 17*mm
|
||||
//add: Transition {
|
||||
// NumberAnimation { properties: "x,y"; from: 300; duration: 1000 }
|
||||
// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue