Hi,
I have a QLabel on which I have set a pixmap of an image
QImage image(fileName);
if (image.isNull()) {
QMessageBox::information(this, tr("Image Viewer"),
tr("Cannot load %1.").arg(fileName));
return;
}
imageLabel->setPixmap(QPixmap::fromImage(image));
Now, I want to write text over this image which i have loaded into QLabel
Please tell me how to do this.
Cheers
Bookmarks