2020-06-17 19:31:01 +00:00
|
|
|
import QtQuick 2.13
|
2021-09-28 15:04:06 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
2020-06-11 21:23:27 +00:00
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
id: roundedImage
|
|
|
|
property url source:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAg0lEQVR4nOzXwQmAMBAFURV7sQybsgybsgyr0QYUlE1g+Mw7ioQMe9lMQwhDaAyhMYTGEJqYkPnrj/t5XE/ft2UdW1yken7MRAyhMYTGEBpDaAyhKe9JbzvSX9WdLWYihtAYQuMLkcYQGkPUScxEDKExhMYQGkNoDKExhMYQmjsAAP//ZfIUZgXTZXQAAAAASUVORK5CYII="
|
|
|
|
width: 40
|
|
|
|
height: 40
|
2020-07-22 20:16:06 +00:00
|
|
|
color: Style.current.background
|
2020-06-11 21:23:27 +00:00
|
|
|
radius: 50
|
|
|
|
border.width: 1
|
2020-08-06 07:25:53 +00:00
|
|
|
border.color: Style.current.borderSecondary
|
2020-06-11 21:23:27 +00:00
|
|
|
|
|
|
|
Image {
|
|
|
|
width: parent.width
|
|
|
|
height: parent.height
|
|
|
|
fillMode: Image.PreserveAspectFit
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
source: roundedImage.source
|
2020-06-23 17:54:16 +00:00
|
|
|
mipmap: true
|
|
|
|
smooth: false
|
|
|
|
antialiasing: true
|
2020-06-11 21:23:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;formeditorColor:"#4c4e50";formeditorZoom:2}
|
|
|
|
}
|
|
|
|
##^##*/
|