MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML ToolBarStyle Element

ToolBarStyle properties and default values explained. More...

Inherits Style

This element was introduced in qt-components 4.7.

Properties

Detailed Description

Custom platformStyle example:

 ToolBar {
     platformStyle: ToolBarStyle {
         background: "background.png"
         visibilityTransitionDuration: 800
         contentTransitionDuration: 800
     }
 }

Property Documentation

background : string

Property default value is "image://theme/meegotouch-toolbar-"+((screen.currentOrientation == Screen.Portrait||screen.currentOrientation==Screen.PortraitInverted)?"portrait":"landscape")+__invertedString+"-background".

Toolbar Background image.


contentTransitionDuration : int

Property default value is 500.

Duration of the transition when toolbar content is changed.


visibilityTransitionDuration : int

Property default value is 500.

Duration of the transition when visibility is changed.