[libcalamaresui] Provide access to the breeze SVGs
This commit is contained in:
parent
9f04ba92fc
commit
adf59ec657
@ -1,6 +1,7 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2017, Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -107,6 +108,18 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
|
||||
case Squid:
|
||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/squid.svg", size );
|
||||
break;
|
||||
|
||||
case StatusOk:
|
||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-ok.svg", size );
|
||||
break;
|
||||
|
||||
case StatusWarning:
|
||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-warning.svg", size );
|
||||
break;
|
||||
|
||||
case StatusError:
|
||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/state-error.svg", size );
|
||||
break;
|
||||
}
|
||||
|
||||
if ( pixmap.isNull() )
|
||||
|
@ -55,7 +55,10 @@ enum ImageType : int
|
||||
PartitionReplaceOs,
|
||||
PartitionTable,
|
||||
BootEnvironment,
|
||||
Squid
|
||||
Squid,
|
||||
StatusOk, // Icons for the requirements checker
|
||||
StatusWarning,
|
||||
StatusError
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user