Add info and fail icons to libcalamaresui.
This commit is contained in:
parent
5434a04ebc
commit
2182fd2f0c
BIN
data/images/fail.svgz
Normal file
BIN
data/images/fail.svgz
Normal file
Binary file not shown.
BIN
data/images/information.svgz
Normal file
BIN
data/images/information.svgz
Normal file
Binary file not shown.
@ -2,5 +2,7 @@
|
|||||||
<qresource prefix="/data">
|
<qresource prefix="/data">
|
||||||
<file alias="images/yes.svgz">../../data/images/yes.svgz</file>
|
<file alias="images/yes.svgz">../../data/images/yes.svgz</file>
|
||||||
<file alias="images/no.svgz">../../data/images/no.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>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -50,6 +50,14 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
|
|||||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/no.svgz", size );
|
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/no.svgz", size );
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,9 @@ namespace CalamaresUtils
|
|||||||
enum ImageType
|
enum ImageType
|
||||||
{
|
{
|
||||||
Yes,
|
Yes,
|
||||||
No
|
No,
|
||||||
|
Information,
|
||||||
|
Fail
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ImageMode
|
enum ImageMode
|
||||||
|
Loading…
Reference in New Issue
Block a user