How to Remove Toolbar from MeeGo Harmattan Application: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Snippets]] | [[Category:Snippets]] | ||
[[Category:HowTo]] | |||
[[Category:Developing_with_Qt::Qt Quick]] | |||
[[Category:Developing_with_Qt::Qt Quick::QML]] | |||
'''English''' [[How_to_Remove_Toolbar_from_MeeGo_Harmattan_Application_Bulgarian|Български]] | '''English''' [[How_to_Remove_Toolbar_from_MeeGo_Harmattan_Application_Bulgarian|Български]] | ||
Line 15: | Line 18: | ||
* Disable the visibility of the toolbar at the main QML file and delete the menu: | * Disable the visibility of the toolbar at the main QML file and delete the menu: | ||
<code>ToolBarLayout { | <code>ToolBarLayout { | ||
id: commonTools | |||
visible: false | |||
}</code> | |||
* Disable tools on you page: | |||
<code>Page { | <code>Page { | ||
tools: null | |||
}</code> | |||
== External Links == | == External Links == | ||
"How to Remove Toolbar from MeeGo Harmattan QML Application":http://www.anavi.org/article/144/ | |||
== Qt/C++ Applications == | == Qt/C++ Applications == |
Revision as of 10:24, 25 February 2015
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":http://www.anavi.org/article/144/