Spectral/qml/Room.qml

25 lines
437 B
QML
Raw Normal View History

2018-02-23 14:39:14 +00:00
import QtQuick 2.10
import QtQuick.Controls 2.3
2018-03-05 11:11:55 +00:00
2018-02-23 14:39:14 +00:00
import "qrc:/qml/form"
2018-03-05 11:11:55 +00:00
import Matrique 0.1
2018-02-23 14:39:14 +00:00
Page {
2018-03-05 11:11:55 +00:00
property RoomListModel roomListModel
2018-02-28 09:10:42 +00:00
2018-03-02 15:05:32 +00:00
ListForm {
2018-02-28 13:11:42 +00:00
id: roomListForm
2018-02-23 14:39:14 +00:00
height: parent.height
width: 320
2018-02-28 13:11:42 +00:00
listModel: roomListModel
2018-02-23 14:39:14 +00:00
}
2018-02-28 13:11:42 +00:00
RoomForm {
id: roomForm
2018-02-23 14:39:14 +00:00
anchors.fill: parent
2018-02-28 13:11:42 +00:00
anchors.leftMargin: roomListForm.width
2018-03-05 11:11:55 +00:00
roomIndex: roomListForm.currentIndex
2018-02-23 14:39:14 +00:00
}
}