matrixion/resources/qml/voip/DeviceError.qml

32 lines
607 B
QML
Raw Normal View History

2020-12-30 23:03:07 +03:00
import QtQuick 2.9
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import im.nheko 1.0
Popup {
property string errorString
2021-01-07 01:15:43 +03:00
property var image
2020-12-30 23:03:07 +03:00
modal: true
anchors.centerIn: parent
background: Rectangle {
color: colors.window
border.color: colors.windowText
}
RowLayout {
Image {
Layout.preferredWidth: 16
Layout.preferredHeight: 16
2021-01-07 01:15:43 +03:00
source: "image://colorimage/" + image + "?" + colors.windowText
2020-12-30 23:03:07 +03:00
}
Label {
text: errorString
color: colors.windowText
}
}
}