How to Remove Toolbar from MeeGo Harmattan Application

From Qt Wiki
Jump to navigation Jump to search
IMPORTANT: The content of this page is outdated. Reason: The MeeGo/Harmattan platform is no longer supported.
If you have checked or updated this page and found the content to be suitable, please remove this notice.
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

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:
ToolBarLayout {
 id: commonTools
 visible: false
 }
  • Disable tools on you page:
Page {
 tools: null
}

External Links

How to Remove Toolbar from MeeGo Harmattan QML Application

Qt/C++ Applications