QMLメニューコンポーネントを各ビューの上部に配置し、ビューのすべての人と同期してルック&フィールになります一般的なウェブページメニューのどうすればこのことをやりますか。すべてのQMLビューの最上部にコンポーネントを配置する方法
import QtQuick 1.0
Row {
width: 500
height: 50
anchors.centerIn: parent
spacing: parent.width/6
Button {
id: loadButton
text: qsTr("Menu")
}
Button {
id: saveButton
text: qsTr("Profile")
}
Button {
id: exitButton
text: qsTr("View Products")
}
}
このコードをPropertyChangesに追加すると、機能しない.. –
'target'属性を使用することを忘れないでください。PropertyChanges {target:menuItem; z:100} – muenalan