QTfrontend/main.cpp
branchwebgl
changeset 9197 e4e366013e9a
parent 9163 67334acaaac7
child 9711 7d0329f37181
child 9998 736015b847e3
equal deleted inserted replaced
9168:20ff80421736 9197:e4e366013e9a
   133 #endif
   133 #endif
   134 
   134 
   135     HWApplication app(argc, argv);
   135     HWApplication app(argc, argv);
   136 
   136 
   137     QLabel *splash = NULL;
   137     QLabel *splash = NULL;
   138 #if defined Q_WS_WIN
   138 #if defined Q_OS_WIN
   139     QPixmap pixmap(":res/splash.png");
   139     QPixmap pixmap(":res/splash.png");
   140     splash = new QLabel(0, Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
   140     splash = new QLabel(0, Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
   141     splash->setAttribute(Qt::WA_TranslucentBackground);
   141     splash->setAttribute(Qt::WA_TranslucentBackground);
   142     const QRect deskSize = HWApplication::desktop()->screenGeometry(-1);
   142     const QRect deskSize = HWApplication::desktop()->screenGeometry(-1);
   143     QPoint splashCenter = QPoint( (deskSize.width() - pixmap.width())/2,
   143     QPoint splashCenter = QPoint( (deskSize.width() - pixmap.width())/2,