C++ / fmt (pull_request) Failing after 3s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 9s
JS/TS / fmt (pull_request) Successful in 7s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 25s
Rust / build (pull_request) Successful in 50s
Rust / fmt (pull_request) Successful in 30s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 45s
28 lines
539 B
QML
28 lines
539 B
QML
import Quickshell
|
|
import QtQuick
|
|
import ZShell.Config
|
|
import qs.Components
|
|
import qs.Services
|
|
|
|
TextEditBase {
|
|
id: root
|
|
|
|
color: Colors.palette.m3onSurface
|
|
readOnly: true
|
|
textFormat: Text.MarkdownText
|
|
font: Tokens.font.body.small
|
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
|
|
|
onLinkActivated: link => {
|
|
Qt.openUrlExternally(link);
|
|
}
|
|
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
acceptedButtons: Qt.NoButton
|
|
cursorShape: root.hoveredLink !== "" ? Qt.PointingHandCursor : Qt.IBeamCursor
|
|
preventStealing: false
|
|
hoverEnabled: true
|
|
}
|
|
}
|