Hello,
I was trying to create an InfoBanner element as I have seen it in the reference:
Code:
import QtQuick 1.1
import com.nokia.meego 1.0
PageStackWindow {
id: appWindow
initialPage: main
InfoBanner {
id: banner
text: ""
timerShowTime: 3000
}
MainPage{
// added a few properties and signals
id: main
to: "EN"
onSelect: langSelector.open()
onToChanged: {
banner.text = "Selected language is now "+to
banner.show()
}
}
ToolBarLayout {
id: commonTools
visible: true
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
anchors.centerIn: parent
id: toolBarText
text: "Target: "+main.to
}
}
Menu {
id: langSelector
visualParent: pageStack
MenuLayout {
*menuitems*
}
}
}
It works perfectly when I remove the InfoBanner element, but when it's in it says
when running, (to be honest, it's just a blank screen, but not running)
and
in the editor. The design view fails, but it has never worked for me with Components.
Do you know what could I do?
Thanks
Bálitn