mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 21:58:42 +08:00
27 lines
555 B
QML
27 lines
555 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.15
|
|
import FluentUI 1.0
|
|
import "../component"
|
|
|
|
FluWindow {
|
|
|
|
id: window
|
|
property string sequence: ""
|
|
title: qsTr("Hotkey")
|
|
width: 250
|
|
height: 250
|
|
fixSize: true
|
|
launchMode: FluWindowType.SingleInstance
|
|
onInitArgument:
|
|
(argument)=>{
|
|
window.sequence = argument.sequence
|
|
}
|
|
FluText{
|
|
anchors.centerIn: parent
|
|
color: FluTheme.primaryColor
|
|
font: FluTextStyle.Title
|
|
text: window.sequence
|
|
}
|
|
}
|