Skip to content

Commit e095d7d

Browse files
committed
Feat: 添加[DelCopyableText]实现.
1 parent c9d2e27 commit e095d7d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

common/DelCopyableText.qml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import QtQuick 2.15
2+
3+
TextEdit {
4+
id: control
5+
6+
readOnly: true
7+
color: "#000"
8+
selectByMouse: true
9+
selectByKeyboard: true
10+
selectedTextColor: "#000"
11+
selectionColor: Qt.rgba(22/255,119/255,1,0.6)
12+
font {
13+
family: "微软雅黑"
14+
pixelSize: 14
15+
}
16+
}

0 commit comments

Comments
 (0)