kavinsiva
9th May 2011, 14:31
Hi,
in my application i need to show the title bar after some time i need to hide the title bar for that i am using following code
"HIding the title bar"
this->setWindowFlags(Qt::MSWindowsFixedSizeDialogHint);
this->setWindowFlags(Qt::CustomizeWindowHint);
this->setWindowFlags(Qt::FramelessWindowHint);
"Showing the title bar"
Qt::WindowFlags flags=windowFlags();
flags^=Qt::WindowMinimizeButtonHint;
setWindowFlags(flags);
But hiding works fine for me ,show make the application crashes
Regards
SivaKumar.N
in my application i need to show the title bar after some time i need to hide the title bar for that i am using following code
"HIding the title bar"
this->setWindowFlags(Qt::MSWindowsFixedSizeDialogHint);
this->setWindowFlags(Qt::CustomizeWindowHint);
this->setWindowFlags(Qt::FramelessWindowHint);
"Showing the title bar"
Qt::WindowFlags flags=windowFlags();
flags^=Qt::WindowMinimizeButtonHint;
setWindowFlags(flags);
But hiding works fine for me ,show make the application crashes
Regards
SivaKumar.N