2023-05-22 16:17:51 +08:00
|
|
|
import QtQuick
|
2023-05-09 19:52:35 +08:00
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
|
|
|
import QtQuick.Window
|
|
|
|
import FluentUI
|
2023-06-12 16:46:02 +08:00
|
|
|
import "qrc:///example/qml/component"
|
2023-05-09 19:52:35 +08:00
|
|
|
|
|
|
|
FluScrollablePage{
|
|
|
|
|
|
|
|
title:"Text"
|
|
|
|
|
|
|
|
FluArea{
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.topMargin: 20
|
|
|
|
height: 60
|
|
|
|
paddings: 10
|
|
|
|
|
|
|
|
FluCopyableText{
|
|
|
|
text: "这是一个可以支持复制的Text"
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
CodeExpander{
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.topMargin: -1
|
|
|
|
code:'FluCopyableText{
|
|
|
|
text:"这是一个可以支持复制的Text"
|
|
|
|
}'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|