mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 11:40:43 +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
|
||
|
}
|
||
|
}
|