mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kcms/info: Move footer actions to header
This commit is contained in:
parent
04ea2c4453
commit
2087935c05
1 changed files with 8 additions and 12 deletions
|
|
@ -19,6 +19,14 @@ KCM.SimpleKCM {
|
|||
rightPadding: 0
|
||||
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
||||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
icon.name: "edit-copy"
|
||||
text: i18nc("@action:button", "Copy")
|
||||
onTriggered: kcm.copyInfoToClipboard()
|
||||
}
|
||||
]
|
||||
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
spacing: 0
|
||||
|
|
@ -133,16 +141,4 @@ KCM.SimpleKCM {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer: RowLayout {
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Controls.Button {
|
||||
text: i18n("Copy to clipboard")
|
||||
icon.name: "edit-copy"
|
||||
onClicked: kcm.copyInfoToClipboard()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue