i want to have a dynamic table of Q3CanvasRectangle elements inside but as this class does not have a constructor with 0 paramter, i cant create a table of these elements cause i should call one of the provided constructors and it is not possible while creating tables of objects.
i also subclassed the Q3CanvasRectangle like this :
Rectangle::Rectangle():Q3CanvasRectangle(0)
{
}
and then i tried to create a table of Rectangle but i always get some moc erros
Rectangle * tabRectangle; //class dynamique
tabRectangle = new Rectangle[a value];
can anyone help me, cause i must have a table of those Q3CanvasRectangles
tnx
Bookmarks