Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Drawing a rectangle on the image displayed on UILable

$
0
0
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.

Viewing all articles
Browse latest Browse all 18427

Trending Articles