Custom widget used to represent a single task.
More...
#include <ProgressWidgetItem.h>
|
| virtual void | cancel () |
| | Get the button clicked and cancel ALL tasks. More...
|
| |
Custom widget used to represent a single task.
- See also
- ProgressViewerWidget
Definition at line 56 of file ProgressWidgetItem.h.
| te::qt::widgets::ProgressWidgetItem::ProgressWidgetItem |
( |
QWidget * |
parent, |
|
|
int |
taskId, |
|
|
int |
totalSteps |
|
) |
| |
| te::qt::widgets::ProgressWidgetItem::~ProgressWidgetItem |
( |
| ) |
|
| virtual void te::qt::widgets::ProgressWidgetItem::cancel |
( |
| ) |
|
|
virtualslot |
Get the button clicked and cancel ALL tasks.
| virtual void te::qt::widgets::ProgressWidgetItem::customEvent |
( |
QEvent * |
e | ) |
|
|
protectedvirtual |
Used to receive custom progress events.
- Parameters
-
| e | Event sent to this object. |
| virtual void te::qt::widgets::ProgressWidgetItem::reset |
( |
| ) |
|
|
virtual |
| virtual void te::qt::widgets::ProgressWidgetItem::setLabel |
( |
const std::string & |
message | ) |
|
|
virtual |
Set the progress label information.
- Parameters
-
| message | String with the label information. |
| virtual void te::qt::widgets::ProgressWidgetItem::setValue |
( |
int |
step | ) |
|
|
virtual |
Set the current value in progress bar.
- Parameters
-
| step | Step value as integer. |
| void te::qt::widgets::ProgressWidgetItem::taskCanceled |
( |
int |
id | ) |
|
|
signal |
Inform that a task was canceled.
- Parameters
-
| QCommandLinkButton* te::qt::widgets::ProgressWidgetItem::m_button |
|
protected |
| QFrame* te::qt::widgets::ProgressWidgetItem::m_frame |
|
protected |
| QGridLayout* te::qt::widgets::ProgressWidgetItem::m_frameGridLayout |
|
protected |
| QLabel* te::qt::widgets::ProgressWidgetItem::m_label |
|
protected |
| QGridLayout* te::qt::widgets::ProgressWidgetItem::m_mainGridLayout |
|
protected |
| QProgressBar* te::qt::widgets::ProgressWidgetItem::m_progressBar |
|
protected |
| int te::qt::widgets::ProgressWidgetItem::m_taskId |
|
protected |
The documentation for this class was generated from the following file: