digiKam
DigikamGenericTimeAdjustPlugin::TimeAdjustList Class Reference
+ Inheritance diagram for DigikamGenericTimeAdjustPlugin::TimeAdjustList:

Public Types

enum  ControlButton {
  Add = 0x1 , Remove = 0x2 , MoveUp = 0x4 , MoveDown = 0x8 ,
  Clear = 0x10 , Load = 0x20 , Save = 0x40
}
 
enum  ControlButtonPlacement {
  NoControlButtons = 0 , ControlButtonsLeft , ControlButtonsRight , ControlButtonsAbove ,
  ControlButtonsBelow
}
 
enum  FieldType { TIMESTAMP_USED = DItemsListView::User1 , TIMESTAMP_UPDATED = DItemsListView::User2 , STATUS = DItemsListView::User3 }
 
enum  ProcessingStatus { CLRSTATUS_ERROR = 1 << 0 , NOPROCESS_ERROR = 1 << 1 , META_TIME_ERROR = 1 << 2 , FILE_TIME_ERROR = 1 << 3 }
 

Public Slots

virtual void slotAddImages (const QList< QUrl > &list)
 
virtual void slotRemoveItems ()
 

Signals

void signalAddItems (const QList< QUrl > &)
 
void signalContextMenuRequested ()
 
void signalFoundRAWImages (bool)
 
void signalImageListChanged ()
 
void signalItemClicked (QTreeWidgetItem *)
 
void signalMoveDownItem ()
 
void signalMoveUpItem ()
 
void signalRemovedItems (const QList< int > &)
 
void signalXMLCustomElements (QXmlStreamReader &)
 
void signalXMLCustomElements (QXmlStreamWriter &)
 
void signalXMLLoadImageElement (QXmlStreamReader &)
 
void signalXMLSaveItem (QXmlStreamWriter &, int)
 

Public Member Functions

void cancelProcess ()
 
bool checkSelection ()
 
void clearProcessedStatus ()
 
void enableControlButtons (bool enable=true)
 
void enableDragAndDrop (const bool enable=true)
 
QUrl getCurrentUrl () const
 
int iconSize () const
 
DInfoInterface * iface () const
 
virtual QList< QUrl > imageUrls (bool onlyUnprocessed=false) const
 
DItemsListView * listView () const
 
void loadImagesFromCurrentAlbum ()
 
void loadImagesFromCurrentSelection ()
 
void processed (const QUrl &url, bool success)
 
void processing (const QUrl &url)
 
virtual void removeItemByUrl (const QUrl &url)
 
void setAllowDuplicate (bool allow)
 
void setAllowRAW (bool allow)
 
void setControlButtons (ControlButtons buttonMask)
 
void setControlButtonsPlacement (ControlButtonPlacement placement)
 
void setCurrentUrl (const QUrl &url)
 
void setIconSize (int size)
 
void setIface (DInfoInterface *const iface)
 
void setStatus (const QUrl &url, const QDateTime &, const QDateTime &, int status=CLRSTATUS_ERROR)
 
void setWaitStatus ()
 
 TimeAdjustList (QWidget *const parent)
 
void updateThumbnail (const QUrl &url)
 
 ~TimeAdjustList () override
 
void setIsLessThanHandler (DItemsListIsLessThanHandler fncptr)
 
DItemsListIsLessThanHandler isLessThanHandler () const
 

Protected Slots

virtual void slotAddItems ()
 
virtual void slotClearItems ()
 
virtual void slotImageListChanged ()
 
virtual void slotLoadItems ()
 
virtual void slotMoveDownItems ()
 
virtual void slotMoveUpItems ()
 
void slotProgressTimerDone ()
 
virtual void slotSaveItems ()
 
virtual void slotThumbnail (const LoadingDescription &, const QPixmap &)
 

Member Enumeration Documentation

◆ ControlButton

Enumerator
Add 
Remove 
MoveUp 
MoveDown 
Clear 
Load 
Save 

◆ ControlButtonPlacement

Enumerator
NoControlButtons 
ControlButtonsLeft 
ControlButtonsRight 
ControlButtonsAbove 
ControlButtonsBelow 

◆ FieldType

Enumerator
TIMESTAMP_USED 
TIMESTAMP_UPDATED 
STATUS 

◆ ProcessingStatus

Enumerator
CLRSTATUS_ERROR 
NOPROCESS_ERROR 
META_TIME_ERROR 
FILE_TIME_ERROR 

Constructor & Destructor Documentation

◆ TimeAdjustList()

DigikamGenericTimeAdjustPlugin::TimeAdjustList::TimeAdjustList ( QWidget *const  parent)
explicit

◆ ~TimeAdjustList()

DigikamGenericTimeAdjustPlugin::TimeAdjustList::~TimeAdjustList ( )
override

Member Function Documentation

◆ cancelProcess()

void Digikam::DItemsList::cancelProcess ( )
inherited

◆ checkSelection()

bool Digikam::DItemsList::checkSelection ( )
inherited

a function to check whether an image has been selected or not.

Referenced by Digikam::DItemsList::loadImagesFromCurrentSelection().

◆ clearProcessedStatus()

void Digikam::DItemsList::clearProcessedStatus ( )
inherited

◆ enableControlButtons()

void Digikam::DItemsList::enableControlButtons ( bool  enable = true)
inherited

◆ enableDragAndDrop()

void Digikam::DItemsList::enableDragAndDrop ( const bool  enable = true)
inherited

◆ getCurrentUrl()

QUrl Digikam::DItemsList::getCurrentUrl ( ) const
inherited

◆ iconSize()

int Digikam::DItemsList::iconSize ( ) const
inherited

◆ iface()

DInfoInterface * Digikam::DItemsList::iface ( ) const
inherited

◆ imageUrls()

QList< QUrl > Digikam::DItemsList::imageUrls ( bool  onlyUnprocessed = false) const
virtualinherited

◆ isLessThanHandler()

DItemsListIsLessThanHandler Digikam::DItemsList::isLessThanHandler ( ) const
inherited

◆ listView()

DItemsListView * Digikam::DItemsList::listView ( ) const
inherited

◆ loadImagesFromCurrentAlbum()

void Digikam::DItemsList::loadImagesFromCurrentAlbum ( )
inherited

A function to load all the images from the album if no image has been selected by user.

References Digikam::DItemsList::slotAddImages().

Referenced by Digikam::DItemsList::loadImagesFromCurrentSelection().

◆ loadImagesFromCurrentSelection()

◆ processed()

◆ processing()

void Digikam::DItemsList::processing ( const QUrl &  url)
inherited

◆ removeItemByUrl()

void Digikam::DItemsList::removeItemByUrl ( const QUrl &  url)
virtualinherited

◆ setAllowDuplicate()

void Digikam::DItemsList::setAllowDuplicate ( bool  allow)
inherited

◆ setAllowRAW()

◆ setControlButtons()

◆ setControlButtonsPlacement()

◆ setCurrentUrl()

void Digikam::DItemsList::setCurrentUrl ( const QUrl &  url)
inherited

◆ setIconSize()

void Digikam::DItemsList::setIconSize ( int  size)
inherited

◆ setIface()

◆ setIsLessThanHandler()

void Digikam::DItemsList::setIsLessThanHandler ( DItemsListIsLessThanHandler  fncptr)
inherited

Methods to handle function pointer used to customize sort items in list. See DItemsListIsLessThanHandler type for details.

◆ setStatus()

void DigikamGenericTimeAdjustPlugin::TimeAdjustList::setStatus ( const QUrl &  url,
const QDateTime &  org,
const QDateTime &  adj,
int  status = CLRSTATUS_ERROR 
)

◆ setWaitStatus()

void DigikamGenericTimeAdjustPlugin::TimeAdjustList::setWaitStatus ( )

◆ signalAddItems

void Digikam::DItemsList::signalAddItems ( const QList< QUrl > &  )
signalinherited

◆ signalContextMenuRequested

void Digikam::DItemsList::signalContextMenuRequested ( )
signalinherited

◆ signalFoundRAWImages

void Digikam::DItemsList::signalFoundRAWImages ( bool  )
signalinherited

◆ signalImageListChanged

◆ signalItemClicked

void Digikam::DItemsList::signalItemClicked ( QTreeWidgetItem *  )
signalinherited

◆ signalMoveDownItem

void Digikam::DItemsList::signalMoveDownItem ( )
signalinherited

◆ signalMoveUpItem

void Digikam::DItemsList::signalMoveUpItem ( )
signalinherited

◆ signalRemovedItems

void Digikam::DItemsList::signalRemovedItems ( const QList< int > &  )
signalinherited

◆ signalXMLCustomElements [1/2]

void Digikam::DItemsList::signalXMLCustomElements ( QXmlStreamReader &  )
signalinherited

◆ signalXMLCustomElements [2/2]

void Digikam::DItemsList::signalXMLCustomElements ( QXmlStreamWriter &  )
signalinherited

◆ signalXMLLoadImageElement

void Digikam::DItemsList::signalXMLLoadImageElement ( QXmlStreamReader &  )
signalinherited

◆ signalXMLSaveItem

void Digikam::DItemsList::signalXMLSaveItem ( QXmlStreamWriter &  ,
int   
)
signalinherited

◆ slotAddImages

◆ slotAddItems

void Digikam::DItemsList::slotAddItems ( )
protectedvirtualslotinherited

◆ slotClearItems

void Digikam::DItemsList::slotClearItems ( )
protectedvirtualslotinherited

◆ slotImageListChanged

void Digikam::DItemsList::slotImageListChanged ( )
protectedvirtualslotinherited

◆ slotLoadItems

◆ slotMoveDownItems

◆ slotMoveUpItems

◆ slotProgressTimerDone

void Digikam::DItemsList::slotProgressTimerDone ( )
protectedslotinherited

◆ slotRemoveItems

◆ slotSaveItems

◆ slotThumbnail

void Digikam::DItemsList::slotThumbnail ( const LoadingDescription desc,
const QPixmap &  pix 
)
protectedvirtualslotinherited

◆ updateThumbnail()

void Digikam::DItemsList::updateThumbnail ( const QUrl &  url)
inherited

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