2023-07-17 10:49:06 +02:00
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Controls.Material
|
2022-05-04 15:01:50 +02:00
|
|
|
|
|
|
|
|
Pane {
|
2023-02-09 01:13:05 +01:00
|
|
|
padding: constants.paddingSmall
|
|
|
|
|
|
|
|
|
|
property color backgroundColor: Qt.lighter(Material.background, 1.15)
|
2023-02-14 15:37:17 +01:00
|
|
|
property color borderColor: 'transparent'
|
2022-08-16 14:44:36 +02:00
|
|
|
|
2022-05-04 15:01:50 +02:00
|
|
|
background: Rectangle {
|
2023-02-09 01:13:05 +01:00
|
|
|
color: backgroundColor
|
|
|
|
|
border.color: borderColor ? borderColor : backgroundColor
|
2022-05-10 19:31:25 +02:00
|
|
|
radius: constants.paddingSmall
|
2022-05-04 15:01:50 +02:00
|
|
|
}
|
|
|
|
|
}
|