Hi, I have many images need to modify. I want to modify and display one by one (display each image after modifying it). Now I just can do this work for 1 image, how do I do it for many images? Here is the code that do the work to modify and display 1 image:
Qt Code:
  1. RF2Img::RF2Img()
  2. {
  3. imageLabel = new QLabel;
  4. imageLabel->setBackgroundRole(QPalette::Base);
  5. imageLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
  6. imageLabel->setScaledContents(true);
  7.  
  8. createActions();
  9. createMenus();
  10.  
  11. processRFImg("1.bmp"); // This will process 1.bmp
  12. loadRFImg("1.bmp"); // This will display 1.bmp
  13.  
  14. setWindowTitle(tr("RF2IMG"));
  15. resize(800, 800);
  16. }
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. int main(int argc, char *argv[])
  2. {
  3. QApplication app(argc, argv);
  4. RF2Img rf2img;
  5. rf2img.show();
  6. return app.exec();
  7. }
To copy to clipboard, switch view to plain text mode 
So then, How do i do it for many images: 2.bmp, 3.bmp...? Thanks !