ravandi
25th March 2016, 18:05
how to remove rows in loop?
like this video:
11810
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
}
}
}
}
}
like this video:
11810
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
}
}
}
}
}