39 lines
769 B
QML
39 lines
769 B
QML
import QtQuick 2.12
|
|
import QtQuick.Controls 2.0 as QQC2
|
|
|
|
import AppUI 1.0 as AppUI
|
|
import AppControls2 1.0 as AppControls2
|
|
|
|
Item {
|
|
AppUI.AppTest {
|
|
width: 200
|
|
height: 480
|
|
}
|
|
|
|
ListView {
|
|
x: 200
|
|
width: 200
|
|
height: 480
|
|
clip: true
|
|
|
|
model: modelManager.getAppModel()
|
|
delegate: Rectangle {
|
|
width: ListView.view.width;
|
|
height: 40;
|
|
color: "lightblue"
|
|
Text {
|
|
anchors.fill: parent;
|
|
horizontalAlignment: Qt.AlignHCenter;
|
|
verticalAlignment: Qt.AlignVCenter;
|
|
text: model.name
|
|
}
|
|
}
|
|
}
|
|
|
|
AppControls2.AppTest {
|
|
x: 400
|
|
width: 200
|
|
height: 480
|
|
}
|
|
}
|