It is possible to remove the header section in the MainView of an new qml app?
Code:
import QtQuick 2.0
import Ubuntu.Components 0.1
import "components"
/*!
\brief MainView with a Label and Button elements.
*/
MainView {
width: 400
height: 400
transformOrigin: Item.Center
clip: false
opacity: 1
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
applicationName: "com.ubuntu.developer.username.hello1"
Page {
id: page1
clip: false
title: "Hello World"
Column {
id: column1
anchors.bottomMargin: 45
spacing: units.gu(1)
anchors {
margins: units.gu(2)
fill: parent
}
HelloComponent {
id: label
height: 50
objectName: "label"
text: i18n.tr("Hello..")
anchors.left: parent.left
anchors.leftMargin: 0
anchors.right: parent.right
anchors.rightMargin: 0
}
Button {
objectName: "button"
width: parent.width
text: i18n.tr("Tap me!")
onClicked: {
label.text = i18n.tr("..world!")
}
}
}
}
}
If I remove the title: "Hello World"
of the Page element the header seems to be gone but then the normal window title has this title:
How can I change only this title and hide the header section?