how to remove rows in loop?
like this video:
hazf.gif
my code:
import QtQuick 2.0
Rectangle {
id: base;
width:600;
height: 800;
Column {
spacing: 5;
Repeater {
model: 5;
delegate: Rectangle {
width: 100;
height: 20;
color: "white";
border { width: 1; color: "black" }
radius: 3;
Image
{
id: hazf
source: "pic/hazf.gif"
width:20
height:20
}
}
}
}
}
import QtQuick 2.0
Rectangle {
id: base;
width:600;
height: 800;
Column {
spacing: 5;
Repeater {
model: 5;
delegate: Rectangle {
width: 100;
height: 20;
color: "white";
border { width: 1; color: "black" }
radius: 3;
Image
{
id: hazf
source: "pic/hazf.gif"
width:20
height:20
}
}
}
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks