import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import org.kde.plasma.core 2.0 as PlasmaCore

Label {
	Layout.fillWidth: true
	wrapMode: Text.Wrap
	linkColor: PlasmaCore.ColorScope.highlightColor
	onLinkActivated: Qt.openUrlExternally(link)

	MouseArea {
		anchors.fill: parent
		acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
		cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
	}
}