2
0
mirror of https://github.com/Alia5/GlosSI.git synced 2024-10-30 15:20:38 +00:00
GlosSI/GlosSIConfig/qml/RPane.qml
Peter Repukat 0692b4107e Start Config App
Man... fuck... QT and Windows fucks me up...
Should've gone electron.
2021-10-24 04:07:56 +02:00

21 lines
609 B
QML

import QtQuick 2.9
import QtQuick.Controls 2.9
import QtQuick.Controls.Material 2.9
import QtQuick.Controls.Material.impl 2.9
Pane {
id: control
property int radius: 0
property color color: control.Material.backgroundColor
property real bgOpacity: 1
background: Rectangle {
color: parent.color
opacity: parent.bgOpacity
radius: control.Material.elevation > 0 ? control.radius : 0
layer.enabled: control.enabled && control.Material.elevation > 0
layer.effect: ElevationEffect {
elevation: control.Material.elevation
}
}
}