Dear All,
I displayed an image on UIlabel as follow
QImage rImg = QImage(templ->width,templ->height, QImage::Format_RGB888);
pixma = QPixmap::fromImage(rImg);
ui->label_2->setPixmap(pixma);
I also have a rectangle with x, y, width and height information.
How can I display the rectangle on the image?
Thanks.
↧