Add info and fail icons to libcalamaresui.

This commit is contained in:
Teo Mrnjavac 2014-08-26 18:21:16 +02:00
parent 5434a04ebc
commit 2182fd2f0c
5 changed files with 13 additions and 1 deletions

BIN
data/images/fail.svgz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2,5 +2,7 @@
<qresource prefix="/data">
<file alias="images/yes.svgz">../../data/images/yes.svgz</file>
<file alias="images/no.svgz">../../data/images/no.svgz</file>
<file alias="images/information.svgz">../../data/images/information.svgz</file>
<file alias="images/fail.svgz">../../data/images/fail.svgz</file>
</qresource>
</RCC>

View File

@ -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;
}

View File

@ -32,7 +32,9 @@ namespace CalamaresUtils
enum ImageType
{
Yes,
No
No,
Information,
Fail
};
enum ImageMode