chore: configure pyside6-project

This commit is contained in:
2025-10-24 22:58:25 +08:00
parent d90a165df8
commit 42b3447b43
6 changed files with 45 additions and 12 deletions

View File

@ -1,3 +1,4 @@
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
@ -31,6 +32,7 @@ RowLayout {
focus: true
delegate: Item {
id: navListItem
required property int index
required property string label
width: parent.width
@ -39,7 +41,7 @@ RowLayout {
MouseArea {
anchors.fill: parent
onClicked: () => {
navListView.currentIndex = index;
navListView.currentIndex = navListItem.index;
}
}