mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 01:07:33 +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
|
rightPadding: 0
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
||||||
|
|
||||||
|
actions: [
|
||||||
|
Kirigami.Action {
|
||||||
|
icon.name: "edit-copy"
|
||||||
|
text: i18nc("@action:button", "Copy")
|
||||||
|
onTriggered: kcm.copyInfoToClipboard()
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: 0
|
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