import QtQuick 2.7 import Linphone.Styles 1.0 // ============================================================================= Column { property alias sipAddress: sipAddress.text property alias username: username.text property color sipAddressColor: ContactDescriptionStyle.sipAddress.color property color usernameColor: ContactDescriptionStyle.username.color property int horizontalTextAlignment // --------------------------------------------------------------------------- Text { id: username color: usernameColor elide: Text.ElideRight font.bold: true font.pointSize: ContactDescriptionStyle.username.pointSize height: parent.height / 2 horizontalAlignment: horizontalTextAlignment verticalAlignment: Text.AlignBottom width: parent.width } Text { id: sipAddress color: sipAddressColor elide: Text.ElideRight font.pointSize: ContactDescriptionStyle.sipAddress.pointSize height: parent.height / 2 horizontalAlignment: horizontalTextAlignment verticalAlignment: Text.AlignTop width: parent.width } }