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

Public Types

enum  TagFilters { NONE = 0 , PHOTO , CUSTOM }
 

Signals

void signalSetupMetadataFilters ()
 

Public Member Functions

QString getCurrentItemKey () const
 
QString getMetadataTitle () const override
 
int getMode () const
 
QString getTagDescription (const QString &key) override
 
QStringList getTagsFilter () const
 
QString getTagTitle (const QString &key) override
 
virtual bool loadFromData (const QString &fileName, const DMetadata &data=DMetadata())
 
bool loadFromURL (const QUrl &url) override
 
void setCurrentItemByKey (const QString &itemKey)
 
void setMode (int mode)
 
void setTagsFilter (const QStringList &list)
 
void setUserAreaWidget (QWidget *const w)
 
 XmpWidget (QWidget *const parent, const QString &name=QString())
 
 ~XmpWidget () 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

◆ XmpWidget()

Digikam::XmpWidget::XmpWidget ( QWidget *const  parent,
const QString &  name = QString() 
)
explicit

◆ ~XmpWidget()

Digikam::XmpWidget::~XmpWidget ( )
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::XmpWidget::getMetadataTitle ( ) const
overridevirtual

◆ getMode()

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

◆ getTagDescription()

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

Reimplemented from Digikam::MetadataWidget.

◆ getTagsFilter()

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

◆ getTagTitle()

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

Reimplemented from Digikam::MetadataWidget.

◆ loadFromData()

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

◆ loadFromURL()

bool Digikam::XmpWidget::loadFromURL ( const QUrl &  url)
overridevirtual

◆ 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

◆ 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

◆ 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

◆ setTagsFilter()

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

◆ setup()

void Digikam::MetadataWidget::setup ( )
protectedinherited

◆ setUserAreaWidget()

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

◆ signalSetupMetadataFilters

void Digikam::MetadataWidget::signalSetupMetadataFilters ( )
signalinherited

◆ slotSaveMetadataToFile

void Digikam::XmpWidget::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: