My worker thread manipulates a bitmap image(stored on file) and I am using QPixmap to display it inside a label.
I emit the signal just after the thread finishes manipulating that bitmap image.
Hence i need to read the file everytime and for that I am using a slot mechanism to reset the image in the label everytime a signal is emmited.
Here is the code inside the slot:
Qt Code:
  1. ui->label->setPixmap(QPixmap("abc.bmp"));
To copy to clipboard, switch view to plain text mode