kirigamiplasmastyle: Add AbstractApplicationHeader implementation

This commit is contained in:
Jonah Brüchert 2020-05-17 19:10:08 +02:00
parent c215c54ece
commit ea73c6f60d
No known key found for this signature in database
GPG Key ID: A81E075ABEC80A7E

View File

@ -0,0 +1,32 @@
/*
* SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
* SPDY-FileCopyrightText: 2020 Jonah Brüchert <jbb@kaidan.im>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.5
import org.kde.kirigami 2.4 as Kirigami
import "../../templates" as T
import "../../private" as KirigamiPrivate
T.AbstractApplicationHeader {
id: root
Kirigami.Theme.inherit: true
background: Rectangle {
color: Kirigami.Theme.backgroundColor
KirigamiPrivate.EdgeShadow {
radius: Kirigami.Units.gridUnit * 0.5
visible: root.separatorVisible
anchors {
right: parent.right
left: parent.left
top: parent.bottom
}
edge: Qt.TopEdge
}
}
}