Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] QML: how to remove dreadful default toolbar from the bottom of the screen on N950
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QML: how to remove dreadful default toolbar from the bottom of the screen on N950

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 5 Posters 5.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deion
    wrote on last edited by
    #1

    Hi all,

    On my previous (first) app for N950 I was able to hide the empty toolbar that is displayed by default on the bottom of the screen by calling QmlApplicationViewer/QDeclarativeView/QWidget::showFullScreen() instead of show(); This would hide both the status toolbar at the top and the bottom toolbar;
    Now I need to show the status toolbar but hide/remove/destroy/nuke the default empty toolbar at the bottom which I don't need. I googled for 3 hours; I tried replacing my main.qml file which before was a Rectangle with:

    @import QtQuick 1.1
    import com.nokia.meego 1.0

    PageStackWindow {
    id: appWindow;
    initialPage: mainPage
    MainPage {
    id: mainPage
    }
    showToolBar: false
    }@

    and MainPage.qml now has the contents of the old main.qml but it's now derived from Page;

    This doesn't work; I can NOT get rid of the dreadful toolbar; IT'S STILL THERE !
    I know the solution should be simple, but if after 3 hours of google-ing for it I couldn't find it, it means it's really well hidden (unlike the toolbar :D ).

    Thanks & regards,
    Ionut

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raja26
      wrote on last edited by
      #2

      May be a silly idea, bear with this, why not select (I guess it may be selectable) the *toolbar in Design view *and delete it?.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deimos
        wrote on last edited by
        #3

        I am not sure, but this could work:

        @showStatusBar: false@

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          To remove the toolbar of a native MeeGo Harmattan application do the following steps:

          • Disable the visibility of the toolbar at the main qml file and delete the menu
            @
            ToolBarLayout {
            id: commonTools
            visible: false
            }@

          • Disable tool on you page
            @
            Page {
            tools: null
            }@

          That's it! I''ll create a wiki article about this issue too :)

          http://anavi.org/

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yalnte
            wrote on last edited by
            #5

            This link to this discussion which contains a solution for a Qt/C++ app might be useful:

            http://qt-project.org/forums/viewthread/13391/#71208

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on last edited by
              #6

              [quote author="yalnte" date="1333490268"]This link to this discussion which contains a solution for a Qt/C++ app might be useful:

              http://qt-project.org/forums/viewthread/13391/#71208[/quote]

              Thanks for sharing the Qt/C++ solution! It is nice, simple and really useful :)

              http://anavi.org/

              1 Reply Last reply
              0
              • D Offline
                D Offline
                deion
                wrote on last edited by
                #7

                Thanks to all for your help.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved