English Български

How to Remove Toolbar from MeeGo Harmattan Application

The problem

By default all native Qt applications for MeeGo Harmattan (Nokia N9, Nokia N950) have a toolbar containing buttons at the bottom of the screen. Some applications do not need this toolbar and it has to be removed.

Solution

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

  • Disable the visibility of the toolbar at the main QML file and delete the menu:

  1. ToolBarLayout {
  2.         id: commonTools
  3.         visible: false
  4.     }
  • Disable tools on you page:

  1. Page {
  2.     tools: null
  3. }

External Links

How to Remove Toolbar from MeeGo Harmattan QML Application [anavi.org]

Qt/C++ Applications

How to remove toolbar from within a non-QML Qt application – use showFullScreen() instead of show() or showMaximised() [qt-project.org]

Categories:

  • HowTo
  • snippets
  •