A class that defines the interface of an abstract progress viewer. More...
#include <AbstractProgressViewer.h>
Public Member Functions | |
AbstractProgressViewer () | |
Default constructor. More... | |
virtual void | addTask (TaskProgress *t, int id)=0 |
Insert a new task in the progress viewer. More... | |
virtual void | cancelTask (int taskId)=0 |
Cancel a task. More... | |
virtual void | removeTask (int taskId)=0 |
Removes a task from progress viewer container. More... | |
virtual void | setTotalValues (int taskId)=0 |
Set task total steps. More... | |
virtual void | updateMessage (int taskId)=0 |
Update the progress message. More... | |
virtual void | updateValue (int taskId)=0 |
Update the progress evaluation. More... | |
virtual | ~AbstractProgressViewer () |
Virtual destructor. More... | |
A class that defines the interface of an abstract progress viewer.
Definition at line 48 of file AbstractProgressViewer.h.
|
inline |
Default constructor.
Definition at line 53 of file AbstractProgressViewer.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 56 of file AbstractProgressViewer.h.
|
pure virtual |
Insert a new task in the progress viewer.
t | Task pointer. |
id | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.
|
pure virtual |
Cancel a task.
taskId | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.
|
pure virtual |
Removes a task from progress viewer container.
taskId | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.
|
pure virtual |
Set task total steps.
taskId | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.
|
pure virtual |
Update the progress message.
taskId | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.
|
pure virtual |
Update the progress evaluation.
taskId | Task identifier. |
Implemented in te::qt::widgets::ProgressViewerBar, te::qt::widgets::ProgressViewerDialog, te::qt::widgets::ProgressViewerWidget, and te::common::ConsoleProgressViewer.