rapid84
10th February 2016, 15:55
Hi,
I am using setText function and setPixmap functions to show png icons and some values like this :
ui->label->setText(value);
QPixmap pix1(":/resources/images/images/01n.png");
ui->label_2->setPixmap(pix1);
I want to combine both of them in one setText function like this:
ui->label_3->setText(pix1 + value);
How can i do this?
I am using setText function and setPixmap functions to show png icons and some values like this :
ui->label->setText(value);
QPixmap pix1(":/resources/images/images/01n.png");
ui->label_2->setPixmap(pix1);
I want to combine both of them in one setText function like this:
ui->label_3->setText(pix1 + value);
How can i do this?