Update select language list
This commit is contained in:
parent
ef2ffce47a
commit
d18f50a3e0
1 changed files with 4 additions and 26 deletions
|
|
@ -60,35 +60,13 @@ DrawerType2 {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
||||||
clip: true
|
|
||||||
interactive: true
|
|
||||||
|
|
||||||
property int selectedIndex: LanguageModel.currentLanguageIndex
|
|
||||||
property bool isFocusable: true
|
property bool isFocusable: true
|
||||||
|
property int selectedIndex: LanguageModel.currentLanguageIndex
|
||||||
|
|
||||||
Keys.onTabPressed: {
|
clip: true
|
||||||
FocusController.nextKeyTabItem()
|
reuseItems: true
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onBacktabPressed: {
|
ScrollBar.vertical: ScrollBarType {}
|
||||||
FocusController.previousKeyTabItem()
|
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onUpPressed: {
|
|
||||||
FocusController.nextKeyUpItem()
|
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onDownPressed: {
|
|
||||||
FocusController.nextKeyDownItem()
|
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onLeftPressed: {
|
|
||||||
FocusController.nextKeyLeftItem()
|
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onRightPressed: {
|
|
||||||
FocusController.nextKeyRightItem()
|
|
||||||
}
|
|
||||||
|
|
||||||
model: LanguageModel
|
model: LanguageModel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue