我已经写在BB-10 onClick
功能,同时点击我能不能推动上点击功能黑莓10级联的onclick不工作
NavigationPane {
id: navigationPane
Button {
text: "LOG IN"
onClicked: {
var test = screen.createObject();
navigationPane.push(test);
}
attachedObjects: ComponentDefinition {
id: screen
source: "y.qml"
}
}
}
代码另一个QML文件y.qml
如下
NavigationPane {
id:navigationPane
Page {
Container {
ImageButton {
defaultImageSource: "asset:///tabs/home_unf.png"
pressedImageSource: "asset:///tabs/home.png"
disabledImageSource: "asset:///group.png"
onClicked: {
var _home = home.createObject()
navigationPane.push(_home);
}
}
}
attachedObjects: [
ComponentDefinition {
id: home
source: "z.qml"
}
]
}
}
我不能看见的y.qml
同时点击(text: "LOG IN"
),并同时点击图像按钮,我定义去z.qml
页面,任何人都可以发送一些解决方案(代码示例),来解决这个问题?由于
其工作正常 – Apple