style: format

This commit is contained in:
talksik
2025-04-13 13:11:27 -07:00
parent eb59ff6430
commit 0a1f523128
2 changed files with 115 additions and 102 deletions
+23 -10
View File
@@ -122,25 +122,38 @@ AppWindow {
}
AppWarning {
Layout.fillWidth: true
Layout.fillWidth: true
}
AppMenu {
id: menu
id: menu
Action { text: qsTr("Tool Bar"); checkable: true }
Action { text: qsTr("Side Bar"); checkable: true; checked: true }
Action { text: qsTr("Status Bar"); checkable: true; checked: true }
Action {
text: qsTr("Tool Bar")
checkable: true
}
Action {
text: qsTr("Side Bar")
checkable: true
checked: true
}
Action {
text: qsTr("Status Bar")
checkable: true
checked: true
}
MenuSeparator {}
MenuSeparator {}
Action { text: "Hello" }
Action {
text: "Hello"
}
// NOTE: MenuItem is not recommended as it isn't consistent with the menu theming. Please use Action until a fix is made.
// NOTE: MenuItem is not recommended as it isn't consistent with the menu theming. Please use Action until a fix is made.
}
AppSecondaryButton {
onClicked: menu.open()
text: "Open menu"
onClicked: menu.open()
text: "Open menu"
}
}
}