ToolBarLayout: Add support for actions that are separators
This adds a new delegate you set in ToolBarLayout, for creating actions that are actually separators.
header: Kirigami.ActionToolBar {
actions: [
Kirigami.Action {
text: i18n("New")
},
Kirigami.Action {
text: i18n("Open…")
},
Kirigami.Action {
text: textEditor.document.fileUrl == "" ? i18n("Save As…") : i18n("Save")
},
Kirigami.Action {
separator: true
},
...