kirigamiplasmastyle: Add AbstractApplicationHeader implementation
This commit is contained in:
parent
c215c54ece
commit
ea73c6f60d
@ -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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user