Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.9
- import QtQuick.Controls 2.2
- Page {
- id: paginaHabitaciones
- width: 400
- height: 600
- title: "Zonas"
- ScrollView {
- anchors.fill: parent
- ListView {
- width: parent.width
- model: 5
- delegate: ItemDelegate {
- text: "Zonas " + (index + 1)
- width: parent.width
- onClicked: {
- console.log( this.text );
- stackView.push( "EquiposForm.qml" )
- }
- }
- }
- }
- Component.onCompleted: {
- console.log( "selecciono " + xxx )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement