Say one file in assets folder is RoomDetails.qml
:
import bb.cascades 1.0
import "commons"
Page {
Container {
PageHeader{}
//rest of the code
}
}
And the other file in assets/commons folder is PageHeader.qml
:
import bb.cascades 1.0
Container {
Label {
id: dynamicLabel
}
//rest of the code
}
Now, I want to change dynamicLabel.text
from RoomDetails.qml
to 'Room Details' and similarly from other qml files where PageHeader
is included. What is the solution to this problem? It can be by using Qt or QML or C++. Thanks in advance.