import QtQuick import Weave.Templates as T import Weave.Controls T.TextLink { id: textLink font.family: Theme.component.textlink.fontFamily font.pixelSize: Theme.component.textlink.fontSize font.weight: Theme.component.textlink.fontWeight font.underline: hovered lineHeight: Theme.component.textlink.lineHeight lineHeightMode: Text.FixedHeight color: Theme.colorWithAlpha(_styleAttributes.textColor, enabled ? 1 : Theme.component.label.opacity.disabled) verticalAlignment: Text.AlignVCenter background: Item { id: backgroundItem BoxShadow { visible: textLink.activeFocus && !textLink.pressed && !textLink.hovered width: textLink.width height: textLink.height z: -1 offsetX: Theme.component.textlink.boxShadowX.focus offsetY: Theme.component.textlink.boxShadowY.focus color: Theme.component.textlink.boxShadowColor.focus blurRadius: Theme.component.textlink.boxShadowBlur.focus spreadRadius: Theme.component.textlink.boxShadowSpread.focus } } }