◆ ProgressItem()
Digikam::ProgressItem::ProgressItem |
( |
ProgressItem *const |
parent, |
|
|
const QString & |
id, |
|
|
const QString & |
label, |
|
|
const QString & |
status, |
|
|
bool |
canBeCanceled, |
|
|
bool |
hasThumb |
|
) |
| |
◆ ~ProgressItem()
Digikam::ProgressItem::~ProgressItem |
( |
| ) |
|
|
override |
◆ addChild()
void Digikam::ProgressItem::addChild |
( |
ProgressItem *const |
kiddo | ) |
|
◆ advance()
bool Digikam::ProgressItem::advance |
( |
unsigned int |
v | ) |
|
◆ canBeCanceled()
bool Digikam::ProgressItem::canBeCanceled |
( |
| ) |
const |
◆ cancel()
void Digikam::ProgressItem::cancel |
( |
| ) |
|
◆ canceled()
bool Digikam::ProgressItem::canceled |
( |
| ) |
const |
◆ completedItems()
unsigned int Digikam::ProgressItem::completedItems |
( |
| ) |
const |
◆ hasThumbnail()
bool Digikam::ProgressItem::hasThumbnail |
( |
| ) |
const |
◆ id()
const QString & Digikam::ProgressItem::id |
( |
| ) |
const |
◆ incCompletedItems()
bool Digikam::ProgressItem::incCompletedItems |
( |
unsigned int |
v = 1 | ) |
|
◆ incTotalItems()
void Digikam::ProgressItem::incTotalItems |
( |
unsigned int |
v = 1 | ) |
|
◆ label()
const QString & Digikam::ProgressItem::label |
( |
| ) |
const |
◆ parent()
◆ progress()
unsigned int Digikam::ProgressItem::progress |
( |
| ) |
const |
◆ progressItemAdded
void Digikam::ProgressItem::progressItemAdded |
( |
ProgressItem * |
| ) |
|
|
signal |
◆ progressItemCanceled
void Digikam::ProgressItem::progressItemCanceled |
( |
ProgressItem * |
| ) |
|
|
signal |
◆ progressItemCanceledById
void Digikam::ProgressItem::progressItemCanceledById |
( |
const QString & |
id | ) |
|
|
signal |
◆ progressItemCompleted
void Digikam::ProgressItem::progressItemCompleted |
( |
ProgressItem * |
| ) |
|
|
signal |
Emitted when a progress item was completed. The item will be deleted afterwards, so slots connected to this are the last chance to work with this item.
- Parameters
-
Referenced by removeChild(), and setComplete().
◆ progressItemLabel
void Digikam::ProgressItem::progressItemLabel |
( |
ProgressItem * |
, |
|
|
const QString & |
|
|
) |
| |
|
signal |
Emitted when the label of an item changed. Should be used by progress dialogs to update the label of an item.
- Parameters
-
The | updated item. |
The | new label. |
Referenced by setLabel().
◆ progressItemProgress
void Digikam::ProgressItem::progressItemProgress |
( |
ProgressItem * |
, |
|
|
unsigned int |
|
|
) |
| |
|
signal |
Emitted when the progress value of an item changes.
- Parameters
-
The | item which got a new value. |
The | value, for convenience. |
Referenced by setProgress().
◆ progressItemStatus
void Digikam::ProgressItem::progressItemStatus |
( |
ProgressItem * |
, |
|
|
const QString & |
|
|
) |
| |
|
signal |
Emitted when the status message of an item changed. Should be used by progress dialogs to update the status message for an item.
- Parameters
-
The | updated item. |
The | new message. |
Referenced by setStatus().
◆ progressItemThumbnail
void Digikam::ProgressItem::progressItemThumbnail |
( |
ProgressItem * |
item, |
|
|
const QPixmap & |
thumb |
|
) |
| |
|
signal |
Emitted when the thumbnail data must be set in item.
- Parameters
-
item | The updated item |
thumb | thumbnail data |
Referenced by setThumbnail().
◆ progressItemUsesBusyIndicator
void Digikam::ProgressItem::progressItemUsesBusyIndicator |
( |
ProgressItem * |
item, |
|
|
bool |
value |
|
) |
| |
|
signal |
Emitted when the busy indicator state of an item changes. Should be used by progress dialogs so that they can adjust the display of the progress bar to the new mode.
- Parameters
-
item | The updated item |
value | True if the item uses a busy indicator now, false otherwise |
Referenced by setUsesBusyIndicator().
◆ removeChild()
void Digikam::ProgressItem::removeChild |
( |
ProgressItem *const |
kiddo | ) |
|
◆ reset()
void Digikam::ProgressItem::reset |
( |
| ) |
|
Reset the progress value of this item to 0 and the status string to the empty string.
References setProgress(), and setStatus().
◆ setComplete()
void Digikam::ProgressItem::setComplete |
( |
| ) |
|
◆ setCompletedItems()
bool Digikam::ProgressItem::setCompletedItems |
( |
unsigned int |
v | ) |
|
◆ setLabel()
void Digikam::ProgressItem::setLabel |
( |
const QString & |
v | ) |
|
◆ setProgress()
void Digikam::ProgressItem::setProgress |
( |
unsigned int |
v | ) |
|
◆ setShowAtStart()
void Digikam::ProgressItem::setShowAtStart |
( |
bool |
showAtStart | ) |
|
◆ setStatus()
void Digikam::ProgressItem::setStatus |
( |
const QString & |
v | ) |
|
◆ setThumbnail()
void Digikam::ProgressItem::setThumbnail |
( |
const QIcon & |
icon | ) |
|
◆ setTotalItems()
void Digikam::ProgressItem::setTotalItems |
( |
unsigned int |
v | ) |
|
◆ setUsesBusyIndicator()
void Digikam::ProgressItem::setUsesBusyIndicator |
( |
bool |
useBusyIndicator | ) |
|
Sets whether this item uses a busy indicator instead of real progress for its progress bar. If it uses a busy indicator, you are still responsible for calling setProgress() from time to time to update the busy indicator.
References progressItemUsesBusyIndicator().
◆ showAtStart()
bool Digikam::ProgressItem::showAtStart |
( |
| ) |
const |
◆ status()
const QString & Digikam::ProgressItem::status |
( |
| ) |
const |
◆ totalCompleted()
bool Digikam::ProgressItem::totalCompleted |
( |
| ) |
const |
◆ totalItems()
unsigned int Digikam::ProgressItem::totalItems |
( |
| ) |
const |
◆ updateProgress()
void Digikam::ProgressItem::updateProgress |
( |
| ) |
|
◆ usesBusyIndicator()
bool Digikam::ProgressItem::usesBusyIndicator |
( |
| ) |
const |
- Returns
- whether this item uses a busy indicator instead of real progress display
The documentation for this class was generated from the following files: