Hi...
yaa i got the basic idea..
what i have done is this now:
First the creation of the Line List:
QList<Q3CanvasItem *> lineList;
Q3CanvasItem **l;
l = new Q3CanvasLine*[numLines]; //numLines is the number of lines on Canvas.
for(i=0;i<numLines;i++)
{
l[i] = new Q3CanvasLine(yourCanvas);
l[i] = canvasLine[i];
lineList.append(l[i]);
}
Same for the Rectangle;
QList<Q3CanvasItem *> lineList;
Q3CanvasItem **l;
l = new Q3CanvasLine*[numLines]; //numLines is the number of lines on Canvas.
for(i=0;i<numLines;i++)
{
l[i] = new Q3CanvasLine(yourCanvas);
l[i] = canvasLine[i];
lineList.append(l[i]);
}
Same for the Rectangle;
To copy to clipboard, switch view to plain text mode
Is it correct...
Bookmarks