#include <KoColorSpaceRegistry.h>
Graphe d'héritage de KoColorSpaceRegistry:
Fonctions membres publiques | |
virtual | ~KoColorSpaceRegistry () |
void | addProfile (KoColorProfile *profile) |
KoColorProfile * | profileByName (const QString &name) const |
QList< KoColorProfile * > | profilesFor (KoColorSpaceFactory *factory) |
QList< KoColorProfile * > | profilesFor (KoID id) |
QList< KoColorProfile * > | profilesFor (const QString &colorSpaceId) |
KoColorSpace * | colorSpace (const KoID &csID, const QString &profileName) |
KoColorSpace * | colorSpace (const QString &colorSpaceId, const KoColorProfile *profile) |
KoColorSpace * | colorSpace (const QString &colorSpaceId, const QString &profileName) |
KoColorSpace * | alpha8 () |
KoColorSpace * | rgb8 () |
void | addPaintDeviceAction (KoColorSpace *cs, KisPaintDeviceAction *action) |
QList< KisPaintDeviceAction * > | paintDeviceActionsFor (KoColorSpace *cs) |
Fonctions membres publiques statiques | |
static KoColorSpaceRegistry * | instance () |
Types privés | |
typedef QList< KisPaintDeviceAction * > | PaintActionList |
Fonctions membres privées | |
KoColorSpaceRegistry () | |
KoColorSpaceRegistry (const KoColorSpaceRegistry &) | |
KoColorSpaceRegistry | operator= (const KoColorSpaceRegistry &) |
void | init () |
Attributs privés | |
QMap< QString, KoColorProfile * > | m_profileMap |
QMap< QString, KoColorSpace * > | m_csMap |
QMap< QString, PaintActionList > | m_paintDevActionMap |
KoColorSpace * | m_alphaCs |
Attributs privés statiques | |
static KoColorSpaceRegistry * | m_singleton |
The registry for colorspaces and profiles. This class contains:
Définition à la ligne 46 du fichier KoColorSpaceRegistry.h.
typedef QList<KisPaintDeviceAction *> KoColorSpaceRegistry::PaintActionList [private] |
Définition à la ligne 167 du fichier KoColorSpaceRegistry.h.
KoColorSpaceRegistry::~KoColorSpaceRegistry | ( | ) | [virtual] |
Définition à la ligne 129 du fichier KoColorSpaceRegistry.cpp.
KoColorSpaceRegistry::KoColorSpaceRegistry | ( | ) | [private] |
Définition à la ligne 125 du fichier KoColorSpaceRegistry.cpp.
Référencé par instance().
Voici le graphe d'appel pour cette fonction :
KoColorSpaceRegistry::KoColorSpaceRegistry | ( | const KoColorSpaceRegistry & | ) | [private] |
KoColorSpaceRegistry * KoColorSpaceRegistry::instance | ( | ) | [static] |
Return an instance of the KoColorSpaceRegistry Creates an instance if that has never happened before and returns the singleton instance.
Définition à la ligne 44 du fichier KoColorSpaceRegistry.cpp.
Références init(), KoColorSpaceRegistry(), et m_singleton.
Référencé par KoUniColorChooser::cmykColorSpace(), KoColor::KoColor(), KoUniColorChooser::labColorSpace(), et KoUniColorChooser::rgbColorSpace().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoColorSpaceRegistry::addProfile | ( | KoColorProfile * | profile | ) |
register the profile with the color space registry
profile | the new profile to be registered so it can be combined with colorspaces. |
Définition à la ligne 161 du fichier KoColorSpaceRegistry.cpp.
Références m_profileMap, KoColorProfile::productName(), et KoColorProfile::valid().
Référencé par init().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
KoColorProfile * KoColorSpaceRegistry::profileByName | ( | const QString & | name | ) | const |
Return a profile by its given name, or 0 if none registered.
name | the product name as set on the profile. |
Définition à la ligne 133 du fichier KoColorSpaceRegistry.cpp.
Références m_profileMap.
Référencé par colorSpace().
Voici le graphe d'appel pour cette fonction :
QList< KoColorProfile * > KoColorSpaceRegistry::profilesFor | ( | KoColorSpaceFactory * | factory | ) |
Return the list of profiles for the argument colorspacefactory. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.
factory | the factory with which all the returned profiles will work. |
Définition à la ligne 147 du fichier KoColorSpaceRegistry.cpp.
Références KoColorSpaceFactory::colorSpaceSignature(), et m_profileMap.
Référencé par profilesFor().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QList<KoColorProfile *> KoColorSpaceRegistry::profilesFor | ( | KoID | id | ) | [inline] |
Return the list of profiles for a colorspace with the argument id. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.
id | the colorspace-id with which all the returned profiles will work. |
Définition à la ligne 97 du fichier KoColorSpaceRegistry.h.
QList< KoColorProfile * > KoColorSpaceRegistry::profilesFor | ( | const QString & | colorSpaceId | ) |
Return the list of profiles for a colorspace with the argument id. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.
colorProfileId | the colorspace-id with which all the returned profiles will work. |
Définition à la ligne 142 du fichier KoColorSpaceRegistry.cpp.
Références KoGenericRegistry< KoColorSpaceFactory * >::get(), et profilesFor().
Voici le graphe d'appel pour cette fonction :
KoColorSpace* KoColorSpaceRegistry::colorSpace | ( | const KoID & | csID, | |
const QString & | profileName | |||
) | [inline] |
Return a colorspace that works with the parameter profile.
csID | the ID of the colorspace that you want to have returned | |
profileName | the name of the KoColorProfile to be combined with the colorspace |
Définition à la ligne 117 du fichier KoColorSpaceRegistry.h.
Références KoID::id().
Référencé par KoUniColorChooser::cmykColorSpace(), colorSpace(), KoLcmsColorSpace< AlphaU8Traits >::convertToQImage(), KoColor::KoColor(), KoUniColorChooser::labColorSpace(), et rgb8().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
KoColorSpace * KoColorSpaceRegistry::colorSpace | ( | const QString & | colorSpaceId, | |
const KoColorProfile * | profile | |||
) |
Return a colorspace that works with the parameter profile.
colorSpaceId | the ID string of the colorspace that you want to have returned | |
profile | the profile be combined with the colorspace |
Définition à la ligne 216 du fichier KoColorSpaceRegistry.cpp.
Références colorSpace(), KoColorSpaceFactory::createColorSpace(), KoGenericRegistry< KoColorSpaceFactory * >::get(), m_csMap, KoPageFormat::name(), et KoColorProfile::productName().
Voici le graphe d'appel pour cette fonction :
KoColorSpace * KoColorSpaceRegistry::colorSpace | ( | const QString & | colorSpaceId, | |
const QString & | profileName | |||
) |
Return a colorspace that works with the parameter profile.
csID | the ID of the colorspace that you want to have returned | |
profileName | the name of the KoColorProfile to be combined with the colorspace |
Définition à la ligne 178 du fichier KoColorSpaceRegistry.cpp.
Références KoColorSpaceFactory::defaultProfile(), KoGenericRegistry< KoColorSpaceFactory * >::get(), m_csMap, KoPageFormat::name(), et profileByName().
Voici le graphe d'appel pour cette fonction :
KoColorSpace * KoColorSpaceRegistry::alpha8 | ( | ) |
Convenience method to get the often used alpha colorspace
Définition à la ligne 243 du fichier KoColorSpaceRegistry.cpp.
Références m_alphaCs.
KoColorSpace * KoColorSpaceRegistry::rgb8 | ( | ) |
Convenience method to get an RGB colorspace with the default lcms profile
Définition à la ligne 248 du fichier KoColorSpaceRegistry.cpp.
Références colorSpace().
Référencé par KoLcmsColorSpace< AlphaU8Traits >::convertToQImage(), et KoUniColorChooser::rgbColorSpace().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoColorSpaceRegistry::addPaintDeviceAction | ( | KoColorSpace * | cs, | |
KisPaintDeviceAction * | action | |||
) |
add a KisConstructPaintDeviceAction to the registry for a colorspace
Définition à la ligne 168 du fichier KoColorSpaceRegistry.cpp.
Références KoColorSpace::id(), et m_paintDevActionMap.
Voici le graphe d'appel pour cette fonction :
QList< KisPaintDeviceAction * > KoColorSpaceRegistry::paintDeviceActionsFor | ( | KoColorSpace * | cs | ) |
Get a list of KisConstructPaintDeviceAction for a colorspace
Définition à la ligne 174 du fichier KoColorSpaceRegistry.cpp.
Références KoColorSpace::id(), et m_paintDevActionMap.
Voici le graphe d'appel pour cette fonction :
KoColorSpaceRegistry KoColorSpaceRegistry::operator= | ( | const KoColorSpaceRegistry & | ) | [private] |
void KoColorSpaceRegistry::init | ( | ) | [private] |
Définition à la ligne 55 du fichier KoColorSpaceRegistry.cpp.
Références KoGenericRegistry< KoColorSpaceFactory * >::add(), addProfile(), KoPluginLoader::instance(), KoProperty::List, KoPluginLoader::load(), m_alphaCs, et m_profileMap.
Référencé par instance().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QMap<QString, KoColorProfile * > KoColorSpaceRegistry::m_profileMap [private] |
Définition à la ligne 165 du fichier KoColorSpaceRegistry.h.
Référencé par addProfile(), init(), profileByName(), et profilesFor().
QMap<QString, KoColorSpace * > KoColorSpaceRegistry::m_csMap [private] |
QMap<QString, PaintActionList> KoColorSpaceRegistry::m_paintDevActionMap [private] |
Définition à la ligne 168 du fichier KoColorSpaceRegistry.h.
Référencé par addPaintDeviceAction(), et paintDeviceActionsFor().
KoColorSpace* KoColorSpaceRegistry::m_alphaCs [private] |
KoColorSpaceRegistry * KoColorSpaceRegistry::m_singleton [static, private] |