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

Signals

void signalProgressCanceled ()
 

Public Member Functions

 DProgressWdg (QWidget *const parent)
 
void progressCompleted ()
 
void progressScheduled (const QString &title, bool canBeCanceled, bool hasThumb)
 
void progressStatusChanged (const QString &status)
 
void progressThumbnailChanged (const QPixmap &thumb)
 
 ~DProgressWdg () override
 

Constructor & Destructor Documentation

◆ DProgressWdg()

Digikam::DProgressWdg::DProgressWdg ( QWidget *const  parent)
explicit

◆ ~DProgressWdg()

Digikam::DProgressWdg::~DProgressWdg ( )
override

Member Function Documentation

◆ progressCompleted()

void Digikam::DProgressWdg::progressCompleted ( )

Call this method to query progress manager that process is done.

References Digikam::ProgressItem::setComplete().

◆ progressScheduled()

void Digikam::DProgressWdg::progressScheduled ( const QString &  title,
bool  canBeCanceled,
bool  hasThumb 
)

Call this method to start a new instance of progress notification into progress manager You can pass title string to name progress item, and set it as cancelable. In this case, signalProgressCanceled() is fired when user press cancel button from progress manager. This item can also accept a thumbnail that you can change through progresssThumbnailChanged().

References Digikam::ProgressManager::createProgressItem(), and Digikam::ProgressItem::id().

◆ progressStatusChanged()

void Digikam::DProgressWdg::progressStatusChanged ( const QString &  status)

Change status string in progress manager

References Digikam::ProgressItem::setStatus().

◆ progressThumbnailChanged()

void Digikam::DProgressWdg::progressThumbnailChanged ( const QPixmap &  thumb)

Change thumbnail in progress manager

References Digikam::ProgressItem::setThumbnail().

◆ signalProgressCanceled

void Digikam::DProgressWdg::signalProgressCanceled ( )
signal

Fired when user press cancel button from progress manager.


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