[Qt-interest] need a help in definition of items

Ender EREL erelender at yahoo.com
Tue Jul 21 15:03:16 CEST 2009


I don't think this is a Qt specific question. I recommend reading a good 
C++ book first.

Array:
QGraphicsItem* myItemArray[28];

Vector:
QVector<QGraphicsItem*> myItemVector;

for(int i = 0; i<28; i++)
{
	myItemVector.push_back(new QGraphicsItem());
}

-- 
Ender EREL



More information about the Qt-interest-old mailing list