添加一个FluFilledButton作为测试

main
wuyize 2023-06-13 15:25:26 +08:00
parent 60b9c60a69
commit 34ba4f0f8e
2 changed files with 24 additions and 1 deletions

View File

@ -26,4 +26,7 @@ target_compile_definitions(AicsKnowledgeBase
target_link_libraries(AicsKnowledgeBase PRIVATE
Qt6::Quick
fluentuiplugin
FramelessHelper::Core
FramelessHelper::Quick
)

View File

@ -1,8 +1,28 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Controls.Basic
import FluentUI
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
FluArea{
Layout.fillWidth: true
height: 68
Layout.topMargin: 20
paddings: 10
FluFilledButton{
disabled:filled_button_switch.checked
text:"Filled Button"
onClicked: {}
anchors{
verticalCenter: parent.verticalCenter
left: parent.left
}
}
}
}