diff --git a/data/images/fail.svgz b/data/images/fail.svgz new file mode 100644 index 000000000..feca389f5 Binary files /dev/null and b/data/images/fail.svgz differ diff --git a/data/images/information.svgz b/data/images/information.svgz new file mode 100644 index 000000000..2d84c1cb0 Binary files /dev/null and b/data/images/information.svgz differ diff --git a/src/libcalamaresui/libcalamaresui.qrc b/src/libcalamaresui/libcalamaresui.qrc index 4bea23aeb..5bf10bda1 100644 --- a/src/libcalamaresui/libcalamaresui.qrc +++ b/src/libcalamaresui/libcalamaresui.qrc @@ -2,5 +2,7 @@ ../../data/images/yes.svgz ../../data/images/no.svgz + ../../data/images/information.svgz + ../../data/images/fail.svgz diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp index 747460261..48d8055d8 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp @@ -50,6 +50,14 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size ) pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/no.svgz", size ); break; + case Information: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/information.svgz", size ); + break; + + case Fail: + pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/fail.svgz", size ); + break; + default: break; } diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.h b/src/libcalamaresui/utils/CalamaresUtilsGui.h index 1a52bf305..20d6bc8b4 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.h +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.h @@ -32,7 +32,9 @@ namespace CalamaresUtils enum ImageType { Yes, - No + No, + Information, + Fail }; enum ImageMode