FluentUI/Gallery/res/qml/page/T_ShortcutPicker.qml
yxdy a44db97aa3
Some checks failed
Gallery App Build / Windows (push) Has been cancelled
Gallery App Build / macOS (push) Has been cancelled
Gallery App Build / Ubuntu (push) Has been cancelled
init
2025-02-12 10:31:20 +08:00

62 lines
1.4 KiB
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI.Controls
import FluentUI.impl
ScrollablePage {
title: qsTr("ShortcutPicker")
columnSpacing: 14
RowLayout{
Layout.topMargin: 24
Label{
text: qsTr("Screenshots")
Layout.preferredWidth: 150
Layout.alignment: Qt.AlignVCenter
}
ShortcutPicker{
implicitWidth: 150
Layout.alignment: Qt.AlignVCenter
current: ["Alt","A"]
}
}
RowLayout{
Label{
text: qsTr("Send Message")
Layout.preferredWidth: 150
Layout.alignment: Qt.AlignVCenter
}
ShortcutPicker{
implicitWidth: 150
Layout.alignment: Qt.AlignVCenter
current: ["Enter"]
}
}
RowLayout{
Label{
text: qsTr("Open Gallery")
Layout.preferredWidth: 150
Layout.alignment: Qt.AlignVCenter
}
ShortcutPicker{
implicitWidth: 150
Layout.alignment: Qt.AlignVCenter
current: ["Ctrl","Alt","W"]
}
}
RowLayout{
Label{
text: qsTr("Lock Gallery")
Layout.preferredWidth: 150
Layout.alignment: Qt.AlignVCenter
}
ShortcutPicker{
implicitWidth: 150
Layout.alignment: Qt.AlignVCenter
current: ["Ctrl","L"]
}
}
}