Hi,
I would remove the status bar and the menu bar in a a Qt application.
how can I achieve it?
Note I donnot want to a full screen applicaion but a small rectangle on device.
thanks.
Hi,
I would remove the status bar and the menu bar in a a Qt application.
how can I achieve it?
Note I donnot want to a full screen applicaion but a small rectangle on device.
thanks.
I would recommend you to refer this document : http://doc.trolltech.com/4.5/qstatusbar.html
For full screen try any one from this two function, one will work for you.
Best regards,showFullScreen();
showMaximized();
Hi, Now I get it solved. thank you all
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow mw;
mw.showFullScreen();
return app.exec();
}
MainWindow::MainWindow()
{
Qt::WindowFlags flags = windowFlags();
flags |= Qt::WindowSoftkeysVisibleHint;
flags |= Qt::WindowSoftkeysRespondHint;
setWindowFlags(flags);
showFullScreen();
}