|
ACF $AcfVersion:0$
|
#include <CProgressGuiBridge.h>
Signals | |
| void | ProgressChanged (int progress) |
Public Member Functions | |
| CProgressGuiBridge (QProgressBar *progressWidget, QAbstractButton *cancelButton=NULL) | |
Public Member Functions inherited from ibase::CCumulatedProgressManagerBase | |
| CCumulatedProgressManagerBase (const TaskInfo &defaultTaskInfo={"", ""}) | |
| Create cumulated progress manager. | |
| virtual | ~CCumulatedProgressManagerBase () |
| void | SetDefaultTaskInfo (const TaskInfo &defaultTaskInfo) |
| Set information of the default task. | |
| double | GetCumulatedProgress () const |
| Get final progress beeing result of all task progress. | |
| std::vector< TaskProgressInfo > | GetProcessedTasks (bool preferSorted=false, int maxCount=-1) const |
| Get list of current processed tasks. | |
| bool | IsCancelable () const |
| virtual bool | IsCanceled () const |
| void | SetCanceled (bool state=true) |
| virtual void | ResetProgressManager () override |
| Reset progress manager and make it possible to reuse it. | |
| std::unique_ptr< IProgressManager > | CreateSubtaskManager (const QByteArray &taskId, const QString &taskDescription, double weight=1.0) override |
| Create progress manager for the subtask. | |
| virtual std::unique_ptr< IProgressLogger > | StartProgressLogger (bool isCancelable=false, const QString &description={}) override |
| Create progress logger. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Protected Slots | |
| void | OnCancelButtonClicked () |
Protected Member Functions | |
| virtual void | OnProgressChanged (double cumulatedValue) override |
Protected Member Functions inherited from ibase::CCumulatedProgressManagerBase | |
| virtual void | OnTasksChanged () |
| virtual void | OpenTask (TaskBase *taskPtr, const TaskInfo &taskInfo, double weight, bool isCancelable) |
| virtual void | CloseTask (TaskBase *taskPtr) |
| virtual void | ReportTaskProgress (TaskBase *taskPtr, double progress, TaskStatus taskStatus) |
| void | TryUpdateCumulatedProgress () |
Additional Inherited Members | |
Public Types inherited from ibase::CCumulatedProgressManagerBase | |
| enum class | TaskStatus { Created , Running , Finished } |
Definition at line 17 of file CProgressGuiBridge.h.
| iqtgui::CProgressGuiBridge::CProgressGuiBridge | ( | QProgressBar * | progressWidget, |
| QAbstractButton * | cancelButton = NULL |
||
| ) |
|
protectedslot |
|
overrideprotectedvirtual |
Reimplemented from ibase::CCumulatedProgressManagerBase.
|
signal |