Hi,
In the following code ...
#include <QtGui>
int main(int argc, char *argv[])
{
splash.show();
app.processEvents();
//...
window.show();
splash.finish(&window);
return app.exec();
}
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPixmap pixmap("f0.png");
QSplashScreen splash(pixmap);
splash.show();
app.processEvents();
//...
QMainWindow window;
window.show();
splash.finish(&window);
return app.exec();
}
To copy to clipboard, switch view to plain text mode
... isn't it expected a mouse click to close the splash screen?
Or does it mean that i can use the mouse click to close the splash before the QMainWindow finishes loading?
Bookmarks