mirror of
https://github.com/status-im/QtModelsToolkit.git
synced 2026-08-30 17:41:12 +00:00
38 lines
646 B
QML
38 lines
646 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.15
|
|
|
|
ColumnLayout {
|
|
|
|
TabBar {
|
|
id: tabBar
|
|
|
|
TabButton {
|
|
text: "Example 1"
|
|
}
|
|
|
|
TabButton {
|
|
text: "Example 2"
|
|
}
|
|
}
|
|
|
|
StackLayout {
|
|
id: stackLayout
|
|
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
currentIndex: tabBar.currentIndex
|
|
|
|
ObjectProxyModelExample1 {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
}
|
|
|
|
ObjectProxyModelExample2 {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
}
|
|
}
|
|
}
|