23 lines
373 B
QML
23 lines
373 B
QML
pragma ComponentBehavior: Bound
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
Control {
|
|
id: control
|
|
|
|
property alias text: textArea.text
|
|
|
|
contentItem: TextArea {
|
|
id: textArea
|
|
|
|
padding: 0
|
|
readOnly: true
|
|
selectByMouse: true
|
|
wrapMode: Text.WordWrap
|
|
|
|
HoverHandler {
|
|
cursorShape: Qt.IBeamCursor
|
|
}
|
|
}
|
|
}
|