mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-27 05:28:48 +03:00
6090d00251
This reverts commit 74e32dd96b
.
32 lines
608 B
QML
32 lines
608 B
QML
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
|
|
}
|
|
|
|
}
|