summary refs log tree commit diff
path: root/resources/qml/voip/DeviceError.qml
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-12-30 15:03:07 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-07 14:04:54 +0100
commit2984d71971fb49e47ff1485ad918e9d520404e4b (patch)
treec8cee9e2d6308463036b14e1c37bff932236a28e /resources/qml/voip/DeviceError.qml
parentFix previous commit (diff)
downloadnheko-2984d71971fb49e47ff1485ad918e9d520404e4b.tar.xz
Fix Qml control colors
Diffstat (limited to 'resources/qml/voip/DeviceError.qml')
-rw-r--r--resources/qml/voip/DeviceError.qml31
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/qml/voip/DeviceError.qml b/resources/qml/voip/DeviceError.qml
new file mode 100644

index 00000000..c88c7faa --- /dev/null +++ b/resources/qml/voip/DeviceError.qml
@@ -0,0 +1,31 @@ +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 iconSource + + modal: true + anchors.centerIn: parent + background: Rectangle { + color: colors.window + border.color: colors.windowText + } + + RowLayout { + + Image { + Layout.preferredWidth: 16 + Layout.preferredHeight: 16 + source: iconSource + } + + Label { + text: errorString + color: colors.windowText + } + } +}