digiKam
DigikamGenericGeolocationEditPlugin::GeolocationEdit Class Reference
+ Inheritance diagram for DigikamGenericGeolocationEditPlugin::GeolocationEdit:

Signals

void signalMetadataChangedForUrl (const QUrl &)
 

Public Member Functions

 GeolocationEdit (QWidget *const parent, DInfoInterface *const iface)
 
void setImages (const QList< QUrl > &images)
 
void setItems (const QList< GPSItemContainer * > &items)
 
void setPlugin (DPlugin *const tool)
 
 ~GeolocationEdit () override
 

Protected Member Functions

void closeEvent (QCloseEvent *e) override
 
bool eventFilter (QObject *, QEvent *) override
 
void reject () override
 
void restoreDialogSize ()
 
void saveDialogSize ()
 

Protected Attributes

QDialogButtonBox * m_buttons
 

Constructor & Destructor Documentation

◆ GeolocationEdit()

DigikamGenericGeolocationEditPlugin::GeolocationEdit::GeolocationEdit ( QWidget *const  parent,
DInfoInterface *const  iface 
)
explicit

TODO: save and restore the state of the header TODO: add a context menu to the header to select which columns should be visible TODO: add sorting by column

References Digikam::DPluginDialog::m_buttons, Digikam::MapLayoutHorizontal, Digikam::MapLayoutOne, Digikam::MapLayoutVertical, Digikam::DHBox::setContentsMargins(), setItems(), Digikam::DHBox::setSpacing(), and signalMetadataChangedForUrl().

◆ ~GeolocationEdit()

DigikamGenericGeolocationEditPlugin::GeolocationEdit::~GeolocationEdit ( )
override

Member Function Documentation

◆ closeEvent()

void DigikamGenericGeolocationEditPlugin::GeolocationEdit::closeEvent ( QCloseEvent *  e)
overrideprotected

◆ eventFilter()

bool DigikamGenericGeolocationEditPlugin::GeolocationEdit::eventFilter ( QObject *  o,
QEvent *  e 
)
overrideprotected

◆ reject()

void DigikamGenericGeolocationEditPlugin::GeolocationEdit::reject ( )
overrideprotected

◆ restoreDialogSize()

void Digikam::DPluginDialog::restoreDialogSize ( )
protectedinherited

◆ saveDialogSize()

void Digikam::DPluginDialog::saveDialogSize ( )
protectedinherited

◆ setImages()

void DigikamGenericGeolocationEditPlugin::GeolocationEdit::setImages ( const QList< QUrl > &  images)

Populate items in dialog list based on url. To be used in case of non database as with Showfoto.

References setItems().

◆ setItems()

void DigikamGenericGeolocationEditPlugin::GeolocationEdit::setItems ( const QList< GPSItemContainer * > &  items)

Populate items in dialog list based dedicated GPSItemContainer instances filled with DB info

References Digikam::GPSItemContainer::loadImageData().

Referenced by GeolocationEdit(), and setImages().

◆ setPlugin()

◆ signalMetadataChangedForUrl

void DigikamGenericGeolocationEditPlugin::GeolocationEdit::signalMetadataChangedForUrl ( const QUrl &  )
signal

Referenced by GeolocationEdit().

Member Data Documentation

◆ m_buttons


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