for(int j = 0; j < 200 ; j++)
{
...
...
makeAshape(tempWidth,tempHeight,j);
connect(timer, SIGNAL(timeout()), this, SLOT(makeAshape()));
timer->start(1000);
...
...
}
void MainWindow::makeAshape(double tempWidth, double tempHeight, int j)
{
square = new sqMap(tempWidth, tempHeight, processInfoVector[j], tableView_processInfo, tableView_filesInfo);
}
for(int j = 0; j < 200 ; j++)
{
...
...
makeAshape(tempWidth,tempHeight,j);
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(makeAshape()));
timer->start(1000);
...
...
}
void MainWindow::makeAshape(double tempWidth, double tempHeight, int j)
{
square = new sqMap(tempWidth, tempHeight, processInfoVector[j], tableView_processInfo, tableView_filesInfo);
}
To copy to clipboard, switch view to plain text mode
Bookmarks