Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

How to Remove Toolbar from MeeGo Harmattan Application: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''English''' [[How to Remove Toolbar from MeeGo Harmattan Application Bulgarian|Български]]
[[Category:Snippets]]<br />[[Category:HowTo]]<br />[[Category:Developing_with_Qt::Qt Quick]]<br />[[Category:Developing_with_Qt::Qt Quick::QML]]


=How to Remove Toolbar from MeeGo Harmattan Application=
'''English''' [[How_to_Remove_Toolbar_from_MeeGo_Harmattan_Application_Bulgarian|Български]]


==The problem==
= 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.
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==
== Solution ==
 
To remove the toolbar of a native MeeGo Harmattan <span class="caps">QML</span> application do the following steps:
 
* Disable the visibility of the toolbar at the main <span class="caps">QML</span> file and delete the menu:
 
* Disable tools on you page:


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


[http://www.anavi.org/article/144/ How to Remove Toolbar from MeeGo Harmattan <span class="caps">QML</span> Application] ''[anavi.org]''
* Disable the visibility of the toolbar at the main QML file and delete the menu:


==Qt/C++ Applications==
<code>ToolBarLayout {<br /> id: commonTools<br /> visible: false<br /> }</code><br />* Disable tools on you page:


How to remove toolbar from within a non-<span class="caps">QML</span> Qt application – [http://forum.qt.io/viewreply/71208/ use showFullScreen() instead of show() or showMaximised()] ''[qt.io]''
<code>Page {<br /> tools: null<br />}</code>


===Categories:===
== External Links ==


* [[:Category:Developing with Qt|Developing_with_Qt]]
&quot;How to Remove Toolbar from MeeGo Harmattan QML Application&amp;quot;:http://www.anavi.org/article/144/
** [[:Category:Developing with Qt::Qt-Quick|Qt Quick]]
* [[:Category:Developing with Qt::Qt-Quick::QML|QML]]


* [[:Category:HowTo|HowTo]]
== Qt/C++ Applications ==
* [[:Category:snippets|snippets]]

Revision as of 10:04, 24 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 {<br /> id: commonTools<br /> visible: false<br /> }


* Disable tools on you page:

Page {<br /> tools: null<br />}

External Links

"How to Remove Toolbar from MeeGo Harmattan QML Application&quot;:http://www.anavi.org/article/144/

Qt/C++ Applications