|
ACF $AcfVersion:0$
|
#include <CProgressDialog.h>
Public Types | |
| typedef QProgressDialog | BaseClass |
Public Types inherited from ibase::CCumulatedProgressManagerBase | |
| enum class | TaskStatus { Created , Running , Finished } |
Signals | |
| void | TaskTextChanged (const QString &text) |
| void | ProgressChanged (int progress) |
Public Member Functions | |
| CProgressDialog (const QString &title, const QString &defaultText, QWidget *parentWidget=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 Member Functions | |
| virtual void | OnProgressChanged (double cumulatedValue) override |
| virtual void | OnTasksChanged () override |
Protected Member Functions inherited from ibase::CCumulatedProgressManagerBase | |
| 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 () |
Definition at line 16 of file CProgressDialog.h.
| typedef QProgressDialog iqtgui::CProgressDialog::BaseClass |
Definition at line 21 of file CProgressDialog.h.
| iqtgui::CProgressDialog::CProgressDialog | ( | const QString & | title, |
| const QString & | defaultText, | ||
| QWidget * | parentWidget = NULL |
||
| ) |
|
overrideprotectedvirtual |
Reimplemented from ibase::CCumulatedProgressManagerBase.
|
overrideprotectedvirtual |
Reimplemented from ibase::CCumulatedProgressManagerBase.
|
signal |
|
signal |