DPS_Manage/Page/Tab_about.qml

134 lines
4.3 KiB
QML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import HuskarUI.Basic 1.0
import "../MyGlobals" 1.0
Item {
anchors.fill: parent
anchors.leftMargin: 1
ShaderEffect {
id:about_shader
anchors.fill: parent
vertexShader: "qrc:/shaders/effect2.vert"
fragmentShader: "qrc:/shaders/effect2.frag"
opacity: 0.3
property vector3d iResolution: Qt.vector3d(width, height, 0)
property real iTime: 0
Timer {
id: timer
running: true
repeat: true
interval: 15
onTriggered: parent.iTime += 0.01;
}
}
ColumnLayout {
id:cl
anchors.fill: parent
// spacing: 20
// padding: 20
Rectangle {
visible: true
Layout.fillWidth: true
Layout.fillHeight: true
color: "transparent"
border.color: HusTheme.isDark ? HusTheme.HusCollapse.colorBorderDark : HusTheme.HusCollapse.colorBorder
border.width: 1
radius: 8
Column{
spacing: 10
topPadding: 10
leftPadding: 10
Text{
font.pixelSize: 32
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text:"DP-S客户端插件管理工具"
}
Text{
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text:"作者: 倾泪寒"
}
Text{
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text:"联系QQ947330670"
}
Text{
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text:"开发文档:"
}
Text {
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text: "<a href='https://dps-doc.senzo.online/#/'>https://dps-doc.senzo.online</a>"
textFormat: Text.RichText
onLinkActivated: (url) => Qt.openUrlExternally(url)
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton // 传递点击事件给父控件
}
}
Text{
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text:"QQ交流群"
}
Text {
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
text: "<a href='https://qm.qq.com/q/J0wVu0oAwK'>点击链接加入群聊【DP-S插件】</a>"
textFormat: Text.RichText
onLinkActivated: (url) => Qt.openUrlExternally(url)
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton // 传递点击事件给父控件
}
}
Row{
Text{
text:"捐赠:"
font.pixelSize: 20
font.family: HusTheme.Primary.fontPrimaryFamily
color:HusTheme.Primary.colorTextBase
}
Image{
width: 781*0.67
height: 646*0.67
source:"qrc:/image/code.png"
}
}
}
}
}
}