I have a question about how to connect a QLabel
in a QDialog
.
The idea is to be able to open a QDialog
before running the program.
I leave part of the code:
QDialog jjj;
QLabel *logojjj;
logojjj->setPixmap(QPixmap::fromImage(QImage(":/icons/jjj_2015_2.jpg")).scaled(QSize(120,120),Qt::KeepAspectRatio));
jjj.show();
Gui::MainWindow win;
sleep(3);
jjj.close();
win.show();
return app.exec();
That QLabel
I want to leave it inside the QDialog
(all this is inside the main).