QMessagebox on linux
-
I created an gui application on ubuntu using Qt5.0. I set my application full screen, but when a i use a messagebox it does not hide launcher. the application launcher of ubuntu shows over my Qt application at the time the messagebox appear.. Is there any solution.. i show my code here ..
//set window title bar as hide
this->setWindowFlags(Qt::CustomizeWindowHint);
this->setWindowFlags(Qt::FramelessWindowHint);
this->setWindowFlags(Qt::WindowStaysOnTopHint);
this->setWindowState(Qt::WindowFullScreen); -
There is nothing to do with the QT.
check with the launcher settings.
may help you. -
Hi guru
sometimes happens these type of issues on windowflags.following code may usefull to you
setWindowFlags(windowFlags()| Qt::FramelessWindowHint);
setWindowFlags(windowFlags()|Qt::WindowStaysOnTopHint);
QDesktopWidget desk;
QRect screenres = desk.screenGeometry(0);
setGeometry(QRect(screenres.x(),screenres.y(),screenres.width(),screenres.height()));there is a small diff between your code and above.so please check carefully.
this code works fine.