2023-12-02 23:04:02 +08:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Layouts 1.15
|
|
|
|
import QtQuick.Window 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
import FluentUI 1.0
|
2024-01-25 17:26:50 +08:00
|
|
|
import "../component"
|
2023-12-02 23:04:02 +08:00
|
|
|
|
|
|
|
FluScrollablePage{
|
|
|
|
|
2024-03-09 15:35:48 +08:00
|
|
|
title: qsTr("ShortcutPicker")
|
2023-12-02 23:04:02 +08:00
|
|
|
|
|
|
|
FluArea{
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.topMargin: 20
|
|
|
|
height: 100
|
|
|
|
paddings: 10
|
|
|
|
FluShortcutPicker{
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2024-03-09 18:26:54 +08:00
|
|
|
title: qsTr("Activate the Shortcut")
|
|
|
|
message: qsTr("Press the key combination to change the shortcut")
|
|
|
|
positiveText: qsTr("Save")
|
|
|
|
neutralText: qsTr("Cancel")
|
|
|
|
negativeText: qsTr("Reset")
|
2023-12-02 23:04:02 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
CodeExpander{
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.topMargin: -1
|
|
|
|
code:'FluShortcutPicker{
|
|
|
|
|
|
|
|
}'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-03-09 18:26:54 +08:00
|
|
|
|