style: format
This commit is contained in:
+23
-10
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user