QTfrontend/main.cpp
changeset 9163 67334acaaac7
parent 9094 2cdb0ed3813a
child 9711 7d0329f37181
child 9998 736015b847e3
equal deleted inserted replaced
9161:b2f02b083374 9163:67334acaaac7
   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,