status-desktop/storybook/pages/ObjectProxyModelPage.qml

40 lines
667 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
}
}
}
// category: Models