Spectral/qml/Setting.qml

40 lines
673 B
QML
Raw Normal View History

import QtQuick 2.9
2018-07-19 13:02:06 +00:00
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
2018-07-19 13:02:06 +00:00
Page {
SwipeView {
id: settingView
2018-07-19 13:02:06 +00:00
currentIndex: 1
anchors.fill: parent
Item {
id: accountPage
}
Item {
id: secondPage
}
Item {
id: thirdPage
}
}
header: TabBar {
id: tabBar
width: parent.width
currentIndex: settingView.currentIndex
TabButton {
text: qsTr("Account")
}
TabButton {
text: qsTr("Call History")
}
TabButton {
text: qsTr("Dail Pad")
}
}
}