Hello,

How to embed text to pixmap in QLabel?
Suppose I have the following code inherited from a QLabel class:
void myLabel::setImage(QImage myImage, QString myText)
{
QPixmap pixmap = QPixmap::fromImage(myImage);
setPixmap();
// once this statements are done myImage is shown properly
// now if I do for the text:
setText(myText); // I don't see myText at all.
}

I've tried using QPainter but still did not show the text embedded in the QLabel.
Help please!

Tom