summary refs log tree commit diff
path: root/resources/qml/voip/DeviceError.qml
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-01-11 17:51:39 -0500
committerJoseph Donofry <joedonofry@gmail.com>2021-01-11 17:51:39 -0500
commit3ff8b3ad8c015d45a515ca381691cae43fc32a00 (patch)
treeedec1d1e7926d9c0e0beb68ca604cc6bcdc1ebf6 /resources/qml/voip/DeviceError.qml
parentAdd Ripple effects to qml buttons and avatar (diff)
parentMerge pull request #372 from deepbluev7/fix-pr-CI (diff)
downloadnheko-3ff8b3ad8c015d45a515ca381691cae43fc32a00.tar.xz
Merge master and fix conflicts
Diffstat (limited to 'resources/qml/voip/DeviceError.qml')
-rw-r--r--resources/qml/voip/DeviceError.qml32
1 files changed, 32 insertions, 0 deletions
diff --git a/resources/qml/voip/DeviceError.qml b/resources/qml/voip/DeviceError.qml
new file mode 100644

index 00000000..81872ef7 --- /dev/null +++ b/resources/qml/voip/DeviceError.qml
@@ -0,0 +1,32 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.3 +import QtQuick.Layouts 1.2 +import im.nheko 1.0 + +Popup { + property string errorString + property var image + + modal: true + anchors.centerIn: parent + + RowLayout { + Image { + Layout.preferredWidth: 16 + Layout.preferredHeight: 16 + source: "image://colorimage/" + image + "?" + colors.windowText + } + + Label { + text: errorString + color: colors.windowText + } + + } + + background: Rectangle { + color: colors.window + border.color: colors.windowText + } + +}