Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to have full screen and hide toolbar/statusbar in Qt Quick app for Meego Device?



  • Hi Guys!

    I am new to Meego development and my Qt Quick Application for Meego Device require to have full screen and not toolbar and no status bar. Also only for Portrait screen orientation.

    I am using Pagestack for application navigation from one page to other. I got to be successful in locking to Portrait usiong Pagestack properties. But for toolbar and status bar no success. It has properties like
    @
    showStatusBar: false
    showToolBar: false
    @

    But these are read only and could not help me to hide toolbar and status bar.

    I just want to know how to make application using fullscreen or either way how to hide status bar and toolbar?

    Even using following code in qmlapplicationviewer.cpp
    @void QmlApplicationViewer::showExpanded()
    {
    #ifdef Q_OS_SYMBIAN
    showFullScreen();
    #elif defined(Q_WS_MAEMO_5)
    showMaximized();
    #else
    show();
    #endif
    }@

    so showMaximized() method to access not helping out yet.
    I tried using this method in main.cpp file also like this
    @QWidget window;
    window.showMaximized ();@

    But no results so for.

    Any ideas would be highly appriciated.

    Thank You


Log in to reply