Hi All

I have declared a vector as follows

QVector<QVector<QStandardItem*> > previewPane;

and then I am using the following code to set it to item

QDir dir("/home/kamlesh/Gall/GALL/images");
dir.setFilter(QDir::Files);
imgfiles = dir.entryList(QStringList()<<"*.png",QDir::Files);

for(int i = 0;i<imgfiles.size();i++)
{
fileName = imgfiles.at(i);
previewPane.push_back(QVector<QStandardItem*>(file Name));
}