digiKam
Digikam::ICCProfileWidget Class Reference
+ Inheritance diagram for Digikam::ICCProfileWidget:

Public Types

enum  TagFilters { NONE = 0 , PHOTO , CUSTOM }
 

Signals

void signalSetupMetadataFilters ()
 

Public Member Functions

QString getCurrentItemKey () const
 
QString getMetadataTitle () const override
 
int getMode () const
 
IccProfile getProfile () const
 
QString getTagDescription (const QString &key) override
 
QStringList getTagsFilter () const
 
QString getTagTitle (const QString &key) override
 
 ICCProfileWidget (QWidget *const parent, int w=256, int h=256)
 
virtual bool loadFromData (const QString &fileName, const DMetadata &data=DMetadata())
 
bool loadFromProfileData (const QString &fileName, const QByteArray &data)
 
bool loadFromURL (const QUrl &url) override
 
bool loadProfile (const QString &fileName, const IccProfile &data)
 
void setCurrentItemByKey (const QString &itemKey)
 
void setDataLoading ()
 
void setLoadingFailed ()
 
void setMode (int mode)
 
bool setProfile (const IccProfile &profile)
 
void setTagsFilter (const QStringList &list)
 
void setUncalibratedColor ()
 
void setUserAreaWidget (QWidget *const w)
 
 ~ICCProfileWidget () override
 

Protected Slots

void slotSaveMetadataToFile () override
 

Protected Member Functions

void enabledToolButtons (bool)
 
DMetadatagetMetadata () const
 
const DMetadata::MetaDataMapgetMetadataMap ()
 
QString metadataToText () const
 
QUrl saveMetadataToFile (const QString &caption, const QString &fileFilter)
 
void setFileName (const QString &fileName)
 
void setIfdList (const DMetadata::MetaDataMap &ifds, const QStringList &keysFilter, const QStringList &tagsFilter)
 
void setIfdList (const DMetadata::MetaDataMap &ifds, const QStringList &tagsFilter=QStringList())
 
bool setMetadata (const DMetadata &data=DMetadata())
 
virtual void setMetadataEmpty ()
 
void setMetadataMap (const DMetadata::MetaDataMap &data=DMetadata::MetaDataMap())
 
void setup ()
 
bool storeMetadataToFile (const QUrl &url, const QByteArray &metaData)
 
MetadataListViewview () const
 

Member Enumeration Documentation

◆ TagFilters

Enumerator
NONE 
PHOTO 
CUSTOM 

Constructor & Destructor Documentation

◆ ICCProfileWidget()

Digikam::ICCProfileWidget::ICCProfileWidget ( QWidget *const  parent,
int  w = 256,
int  h = 256 
)
explicit

◆ ~ICCProfileWidget()

Digikam::ICCProfileWidget::~ICCProfileWidget ( )
override

Member Function Documentation

◆ enabledToolButtons()

void Digikam::MetadataWidget::enabledToolButtons ( bool  b)
protectedinherited

◆ getCurrentItemKey()

QString Digikam::MetadataWidget::getCurrentItemKey ( ) const
inherited

◆ getMetadata()

◆ getMetadataMap()

const DMetadata::MetaDataMap & Digikam::MetadataWidget::getMetadataMap ( )
protectedinherited

◆ getMetadataTitle()

QString Digikam::ICCProfileWidget::getMetadataTitle ( ) const
overridevirtual

◆ getMode()

int Digikam::MetadataWidget::getMode ( ) const
inherited

◆ getProfile()

IccProfile Digikam::ICCProfileWidget::getProfile ( ) const

◆ getTagDescription()

QString Digikam::ICCProfileWidget::getTagDescription ( const QString &  key)
overridevirtual

Reimplemented from Digikam::MetadataWidget.

◆ getTagsFilter()

QStringList Digikam::MetadataWidget::getTagsFilter ( ) const
inherited

◆ getTagTitle()

QString Digikam::ICCProfileWidget::getTagTitle ( const QString &  key)
overridevirtual

Reimplemented from Digikam::MetadataWidget.

◆ loadFromData()

bool Digikam::MetadataWidget::loadFromData ( const QString &  fileName,
const DMetadata data = DMetadata() 
)
virtualinherited

◆ loadFromProfileData()

bool Digikam::ICCProfileWidget::loadFromProfileData ( const QString &  fileName,
const QByteArray &  data 
)

◆ loadFromURL()

◆ loadProfile()

bool Digikam::ICCProfileWidget::loadProfile ( const QString &  fileName,
const IccProfile data 
)

◆ metadataToText()

QString Digikam::MetadataWidget::metadataToText ( ) const
protectedinherited

◆ saveMetadataToFile()

QUrl Digikam::MetadataWidget::saveMetadataToFile ( const QString &  caption,
const QString &  fileFilter 
)
protectedinherited

◆ setCurrentItemByKey()

void Digikam::MetadataWidget::setCurrentItemByKey ( const QString &  itemKey)
inherited

◆ setDataLoading()

void Digikam::ICCProfileWidget::setDataLoading ( )

◆ setFileName()

◆ setIfdList() [1/2]

void Digikam::MetadataWidget::setIfdList ( const DMetadata::MetaDataMap ifds,
const QStringList &  keysFilter,
const QStringList &  tagsFilter 
)
protectedinherited

◆ setIfdList() [2/2]

void Digikam::MetadataWidget::setIfdList ( const DMetadata::MetaDataMap ifds,
const QStringList &  tagsFilter = QStringList() 
)
protectedinherited

◆ setLoadingFailed()

void Digikam::ICCProfileWidget::setLoadingFailed ( )

◆ setMetadata()

◆ setMetadataEmpty()

void Digikam::MetadataWidget::setMetadataEmpty ( )
protectedvirtualinherited

◆ setMetadataMap()

void Digikam::MetadataWidget::setMetadataMap ( const DMetadata::MetaDataMap data = DMetadata::MetaDataMap())
protectedinherited

◆ setMode()

void Digikam::MetadataWidget::setMode ( int  mode)
inherited

◆ setProfile()

◆ setTagsFilter()

void Digikam::MetadataWidget::setTagsFilter ( const QStringList &  list)
inherited

◆ setUncalibratedColor()

void Digikam::ICCProfileWidget::setUncalibratedColor ( )

◆ setup()

void Digikam::MetadataWidget::setup ( )
protectedinherited

◆ setUserAreaWidget()

void Digikam::MetadataWidget::setUserAreaWidget ( QWidget *const  w)
inherited

Referenced by ICCProfileWidget().

◆ signalSetupMetadataFilters

void Digikam::MetadataWidget::signalSetupMetadataFilters ( )
signalinherited

◆ slotSaveMetadataToFile

void Digikam::ICCProfileWidget::slotSaveMetadataToFile ( )
overrideprotectedslot

◆ storeMetadataToFile()

bool Digikam::MetadataWidget::storeMetadataToFile ( const QUrl &  url,
const QByteArray &  metaData 
)
protectedinherited

◆ view()

MetadataListView * Digikam::MetadataWidget::view ( ) const
protectedinherited

The documentation for this class was generated from the following files: