|
|
@ -19,6 +19,8 @@ Dialog { |
|
|
implicitWidth: 1000 |
|
|
implicitWidth: 1000 |
|
|
implicitHeight: 700 |
|
|
implicitHeight: 700 |
|
|
|
|
|
|
|
|
|
|
|
padding: 5 |
|
|
|
|
|
|
|
|
title: qsTr("Configuration") |
|
|
title: qsTr("Configuration") |
|
|
standardButtons: Dialog.Ok | Dialog.Cancel |
|
|
standardButtons: Dialog.Ok | Dialog.Cancel |
|
|
|
|
|
|
|
|
@ -42,23 +44,30 @@ Dialog { |
|
|
id: tabBar |
|
|
id: tabBar |
|
|
vertical: true |
|
|
vertical: true |
|
|
|
|
|
|
|
|
|
|
|
// TODO: style-dependent |
|
|
|
|
|
property int topMargin: 45 |
|
|
|
|
|
|
|
|
anchors { |
|
|
anchors { |
|
|
top: parent.top |
|
|
top: parent.top |
|
|
topMargin: 55 |
|
|
|
|
|
|
|
|
topMargin: tabBar.topMargin |
|
|
|
|
|
|
|
|
left: parent.left |
|
|
left: parent.left |
|
|
leftMargin: 10 |
|
|
|
|
|
|
|
|
leftMargin: 0 |
|
|
} |
|
|
} |
|
|
contentWidth: 100 |
|
|
|
|
|
contentHeight: 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
height: Math.min(contentHeight * count + 20, |
|
|
|
|
|
parent.height - tabBar.topMargin) |
|
|
|
|
|
contentWidth: 85 |
|
|
|
|
|
contentHeight: 55 |
|
|
|
|
|
|
|
|
position: TabBar.Footer |
|
|
position: TabBar.Footer |
|
|
|
|
|
|
|
|
currentIndex: swipe.currentIndex |
|
|
currentIndex: swipe.currentIndex |
|
|
|
|
|
|
|
|
height: contentHeight * count + 20 |
|
|
|
|
|
width: contentWidth |
|
|
width: contentWidth |
|
|
|
|
|
|
|
|
|
|
|
clip: true |
|
|
|
|
|
|
|
|
Repeater { |
|
|
Repeater { |
|
|
model: [qsTr("General"), qsTr("System"), qsTr("CPU"), qsTr( |
|
|
model: [qsTr("General"), qsTr("System"), qsTr("CPU"), qsTr( |
|
|
"Graphics"), qsTr("Audio"), qsTr("Debug"), qsTr("Controls")] |
|
|
"Graphics"), qsTr("Audio"), qsTr("Debug"), qsTr("Controls")] |
|
|
@ -90,7 +99,7 @@ Dialog { |
|
|
top: parent.top |
|
|
top: parent.top |
|
|
bottom: parent.bottom |
|
|
bottom: parent.bottom |
|
|
|
|
|
|
|
|
leftMargin: 5 |
|
|
|
|
|
|
|
|
leftMargin: 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
clip: true |
|
|
clip: true |
|
|
|