import QtQuick 2.0 import QtQuick.Controls 1.3 import "qrc:/js/service.js" as Service import "qrc:/js/layout.js" as Layoutjs Item { id: groupComponent Rectangle { id: wrapper width: 16*mm height: 15*mm border.color: "grey" color:"white" Label { id: namelabel x: 1 width: wrapper.width-2 height: 3*mm text: group.groupname color: "#303030" font.pixelSize: 3*mm anchors.centerIn:parent } Button{ id:infobutton width: 5*mm height: 5*mm text:"?" anchors.top: namelabel.bottom;anchors.topMargin: 3 onClicked:{ print("State: "+ groupComponent.state+groupView.contentY); groupComponent.state="large"} } Rectangle{ id: detailsrectangle anchors.top: infobutton.bottom anchors.topMargin: 2*mm opacity: 0 Component { id:footerComponent Rectangle{ border.color: "#EEEEEE" border.width: 1 width:parent.width height:6*mm Text{ font.pixelSize: 3*mm anchors.centerIn: parent text:qsTr("+") } MouseArea{anchors.fill:parent onClicked:{var contactitems=""; readData(db,"contacts",root.login.username, function(contacts){for (var i=0;i