am having multiple images each having different aspect ratio am going to display each images one after another for every 10 seconds. the probelm is the images are replacing for every 10 seconds i dont get proper images because images are dfferent in size,and also its showing previous images if current images are small in size i dont get idea to display without replacing.
my codes are below
Qt Code:
  1. QImage ImageToLoad;
  2. ImageToLoad.load(dir.absoluteFilePath(dirList.value(localimage)));
  3. QLabel *label = new QLabel(this);
  4. label->setPixmap(QPixmap::fromImage(ImageToLoad.scaled( 1025,1025,Qt::KeepAspectRatio)));
  5. label->show();
To copy to clipboard, switch view to plain text mode 
i need if the previous displayed images are big and if the current images are small while displaying i should not see previous image while current image displaying
Please guide me to rectify this problem
Thanks in advance