digiKam
Loading...
Searching...
No Matches
ShowFoto::ShowfotoInfoIface Class Reference

#include <showfotoinfoiface.h>

+ Inheritance diagram for ShowFoto::ShowfotoInfoIface:

Public Types

typedef QList< int > DAlbumIDs
 List of Album ids.
 
typedef QMap< QString, QVariant > DInfoMap
 Map of properties name and value.
 
enum  SetupPage { ExifToolPage = 0 , ImageQualityPage }
 

Public Member Functions

QList< QUrl > allAlbumItems () const override
 
QUrl currentActiveItem () const override
 
QList< QUrl > currentAlbumItems () const override
 
QList< QUrl > currentSelectedItems () const override
 Low level items and albums methods.
 
QUrl defaultUploadUrl () const override
 Url to upload new items without to use album selector.
 
void deleteImage (const QUrl &url) override
 Manipulate with item.
 
DInfoMap itemInfo (const QUrl &) const override
 
void openSetupPage (SetupPage page) override
 Open configuration dialog page.
 
void parseAlbumItemsRecursive () override
 
virtual QMap< QString, QString > passShortcutActionsToWidget (QWidget *const) const
 Pass extra shortcut actions to widget and return prefixes of shortcuts.
 
void setItemInfo (const QUrl &, const DInfoMap &) override
 
 ShowfotoInfoIface (QObject *const parent, const QList< QUrl > &lst, const QUrl &currentActive)
 
Q_SIGNAL void signalAlbumItemsRecursiveCompleted (const QList< QUrl > &imageList)
 
Q_SIGNAL void signalItemChanged (const QUrl &url)
 
Q_SIGNAL void signalRemoveImageFromAlbum (const QUrl &)
 
Q_SIGNAL void signalSetupChanged ()
 
Q_SIGNAL void signalShortcutPressed (const QString &shortcut, int val)
 
Q_SLOT void slotDateTimeForUrl (const QUrl &url, const QDateTime &dt, bool updModDate) override
 Slot to call when date time stamp from item is changed.
 
Q_SLOT void slotMetadataChangedForUrl (const QUrl &url) override
 Slot to call when something in metadata from item is changed.
 
bool supportAlbums () const override
 
virtual QAbstractItemModel * tagFilterModel ()
 Return an instance of tag filter model if host application support this feature, else null pointer.
 
QUrl uploadUrl () const override
 
QWidget * uploadWidget (QWidget *const parent) const override
 Album selector view methods (to upload items from an external place).
 
 ~ShowfotoInfoIface () override=default
 
virtual QList< QUrl > albumItems (int) const
 
virtual QList< QUrl > albumsItems (const DAlbumIDs &) const
 
virtual DInfoMap albumInfo (int) const
 
virtual void setAlbumInfo (int, const DInfoMap &) const
 
Q_SIGNAL void signalLastItemUrl (const QUrl &)
 
virtual QWidget * albumChooser (QWidget *const parent) const
 Albums chooser view methods (to use items from albums before to process).
 
virtual DAlbumIDs albumChooserItems () const
 
Q_SIGNAL void signalAlbumChooserSelectionChanged ()
 
Q_SIGNAL void signalUploadUrlChanged ()
 
Q_SIGNAL void signalImportedImage (const QUrl &)
 

Public Attributes

bool forceAlbumSelection = false
 

Member Typedef Documentation

◆ DAlbumIDs

typedef QList<int> Digikam::DInfoInterface::DAlbumIDs
inherited

List of Album ids.

◆ DInfoMap

typedef QMap<QString, QVariant> Digikam::DInfoInterface::DInfoMap
inherited

Map of properties name and value.

Member Enumeration Documentation

◆ SetupPage

Enumerator
ExifToolPage 
ImageQualityPage 

Constructor & Destructor Documentation

◆ ShowfotoInfoIface()

ShowFoto::ShowfotoInfoIface::ShowfotoInfoIface ( QObject *const  parent,
const QList< QUrl > &  lst,
const QUrl &  currentActive 
)
explicit

◆ ~ShowfotoInfoIface()

ShowFoto::ShowfotoInfoIface::~ShowfotoInfoIface ( )
overridedefault

Member Function Documentation

◆ albumChooser()

QWidget * Digikam::DInfoInterface::albumChooser ( QWidget *const  parent) const
virtualinherited

Albums chooser view methods (to use items from albums before to process).

Reimplemented in Digikam::DBInfoIface.

◆ albumChooserItems()

DInfoInterface::DAlbumIDs Digikam::DInfoInterface::albumChooserItems ( ) const
virtualinherited

Reimplemented in Digikam::DBInfoIface.

◆ albumInfo()

DInfoInterface::DInfoMap Digikam::DInfoInterface::albumInfo ( int  ) const
virtualinherited

Reimplemented in Digikam::DBInfoIface.

◆ albumItems()

QList< QUrl > Digikam::DInfoInterface::albumItems ( int  ) const
virtualinherited

Reimplemented in Digikam::DBInfoIface.

◆ albumsItems()

QList< QUrl > Digikam::DInfoInterface::albumsItems ( const DAlbumIDs ) const
virtualinherited

Reimplemented in Digikam::DBInfoIface.

◆ allAlbumItems()

QList< QUrl > Digikam::DMetaInfoIface::allAlbumItems ( ) const
overridevirtualinherited

◆ currentActiveItem()

QUrl Digikam::DMetaInfoIface::currentActiveItem ( ) const
overridevirtualinherited

Reimplemented from Digikam::DInfoInterface.

◆ currentAlbumItems()

QList< QUrl > Digikam::DMetaInfoIface::currentAlbumItems ( ) const
overridevirtualinherited

◆ currentSelectedItems()

QList< QUrl > Digikam::DMetaInfoIface::currentSelectedItems ( ) const
overridevirtualinherited

Low level items and albums methods.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DMetaInfoIface::currentAlbumItems().

◆ defaultUploadUrl()

QUrl Digikam::DMetaInfoIface::defaultUploadUrl ( ) const
overridevirtualinherited

Url to upload new items without to use album selector.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DMetaInfoIface::currentAlbumItems().

◆ deleteImage()

void Digikam::DMetaInfoIface::deleteImage ( const QUrl &  url)
overridevirtualinherited

Manipulate with item.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DMetaInfoIface::signalRemoveImageFromAlbum().

◆ itemInfo()

◆ openSetupPage()

void ShowFoto::ShowfotoInfoIface::openSetupPage ( SetupPage  page)
overridevirtual

◆ parseAlbumItemsRecursive()

void Digikam::DMetaInfoIface::parseAlbumItemsRecursive ( )
overridevirtualinherited

◆ passShortcutActionsToWidget()

QMap< QString, QString > Digikam::DInfoInterface::passShortcutActionsToWidget ( QWidget * const  ) const
virtualinherited

Pass extra shortcut actions to widget and return prefixes of shortcuts.

Reimplemented in Digikam::DBInfoIface.

◆ setAlbumInfo()

void Digikam::DInfoInterface::setAlbumInfo ( int  ,
const DInfoMap  
) const
virtualinherited

◆ setItemInfo()

void Digikam::DMetaInfoIface::setItemInfo ( const QUrl &  url,
const DInfoMap map 
)
overridevirtualinherited

◆ signalAlbumChooserSelectionChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalAlbumChooserSelectionChanged ( )
inherited

◆ signalAlbumItemsRecursiveCompleted()

Q_SIGNAL void Digikam::DInfoInterface::signalAlbumItemsRecursiveCompleted ( const QList< QUrl > &  imageList)
inherited

◆ signalImportedImage()

Q_SIGNAL void Digikam::DInfoInterface::signalImportedImage ( const QUrl &  )
inherited

◆ signalItemChanged()

Q_SIGNAL void Digikam::DMetaInfoIface::signalItemChanged ( const QUrl &  url)
inherited

◆ signalLastItemUrl()

Q_SIGNAL void Digikam::DInfoInterface::signalLastItemUrl ( const QUrl &  )
inherited

◆ signalRemoveImageFromAlbum()

Q_SIGNAL void Digikam::DMetaInfoIface::signalRemoveImageFromAlbum ( const QUrl &  )
inherited

◆ signalSetupChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalSetupChanged ( )
inherited

◆ signalShortcutPressed()

Q_SIGNAL void Digikam::DInfoInterface::signalShortcutPressed ( const QString &  shortcut,
int  val 
)
inherited

◆ signalUploadUrlChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalUploadUrlChanged ( )
inherited

◆ slotDateTimeForUrl()

void Digikam::DMetaInfoIface::slotDateTimeForUrl ( const QUrl &  url,
const QDateTime &  dt,
bool  updModDate 
)
overridevirtualinherited

Slot to call when date time stamp from item is changed.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DMetaInfoIface::signalItemChanged().

◆ slotMetadataChangedForUrl()

void Digikam::DMetaInfoIface::slotMetadataChangedForUrl ( const QUrl &  url)
overridevirtualinherited

Slot to call when something in metadata from item is changed.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DMetaInfoIface::signalItemChanged().

◆ supportAlbums()

bool Digikam::DMetaInfoIface::supportAlbums ( ) const
overridevirtualinherited

Reimplemented from Digikam::DInfoInterface.

◆ tagFilterModel()

QAbstractItemModel * Digikam::DInfoInterface::tagFilterModel ( )
virtualinherited

Return an instance of tag filter model if host application support this feature, else null pointer.

Reimplemented in Digikam::DBInfoIface.

◆ uploadUrl()

QUrl Digikam::DMetaInfoIface::uploadUrl ( ) const
overridevirtualinherited

Reimplemented from Digikam::DInfoInterface.

◆ uploadWidget()

QWidget * Digikam::DMetaInfoIface::uploadWidget ( QWidget *const  parent) const
overridevirtualinherited

Album selector view methods (to upload items from an external place).

Reimplemented from Digikam::DInfoInterface.

References Digikam::DInfoInterface::signalUploadUrlChanged().

Member Data Documentation

◆ forceAlbumSelection

bool Digikam::DInfoInterface::forceAlbumSelection = false
inherited

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