qtquick: Add "Close All" option in the example
This commit is contained in:
@@ -36,6 +36,13 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
Action {
|
||||
text: qsTr("Close All")
|
||||
onTriggered: {
|
||||
_kddwDockRegistry.clear();
|
||||
}
|
||||
}
|
||||
|
||||
MenuSeparator { }
|
||||
Action { text: qsTr("&Quit")
|
||||
onTriggered: {
|
||||
|
||||
Reference in New Issue
Block a user