forked from lubuwest/Friendiqa
Version 0.002 code cleanup and event attending
This commit is contained in:
parent
dc7e6cdee5
commit
d8186978e7
42 changed files with 925 additions and 968 deletions
|
@ -6,19 +6,14 @@ Rectangle{
|
|||
id: detailsrectangle
|
||||
anchors.top: namelabel.bottom
|
||||
anchors.topMargin: 2*mm
|
||||
//opacity: 0
|
||||
|
||||
ScrollView{
|
||||
horizontalScrollBarPolicy:Qt.ScrollBarAlwaysOff
|
||||
frameVisible: true
|
||||
//Flickable{
|
||||
id:namelabelflickable
|
||||
width: root.width-10*mm
|
||||
height:friendsTabView.height-45*mm
|
||||
//boundsBehavior:Flickable.StopAtBounds
|
||||
//flickableDirection:Flickable.VerticalFlick
|
||||
//contentWidth:width
|
||||
//contentHeight: namelabeltext.height
|
||||
|
||||
clip:true
|
||||
Text{
|
||||
id:namelabeltext
|
||||
|
@ -43,8 +38,8 @@ Rectangle{
|
|||
BlueButton{
|
||||
id:photobutton
|
||||
text:"Photos"
|
||||
visible:contact.network=="dfrn"? 1:0
|
||||
onClicked:{contactComponent.state="";detailsrectangle.destroy();
|
||||
visible:(contact.network=="dfrn")
|
||||
onClicked:{
|
||||
root.currentIndex=2;
|
||||
fotostab.active=true;
|
||||
root.fotoSignal(contact) ;
|
||||
|
@ -54,7 +49,7 @@ Rectangle{
|
|||
BlueButton{
|
||||
id:messagebutton
|
||||
text:"Messages"
|
||||
onClicked:{contactComponent.state="";detailsrectangle.destroy();
|
||||
onClicked:{
|
||||
root.currentIndex=0;
|
||||
newstab.active=true;
|
||||
root.messageSignal(contact.id) ;
|
||||
|
@ -63,9 +58,9 @@ Rectangle{
|
|||
|
||||
BlueButton{
|
||||
id:dmbutton
|
||||
visible: contact.following=="true"?true:false
|
||||
visible: (contact.following=="true")
|
||||
text: "DM"
|
||||
onClicked:{contactComponent.state="";detailsrectangle.destroy();
|
||||
onClicked:{
|
||||
root.currentIndex=0;
|
||||
newstab.active=true;
|
||||
root.directmessageSignal(contact.screen_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue