The CreateProgressWidgetItemEvent is a custom event used to create a progress widget item. More...
#include <CreateProgressWidgetItemEvent.h>
Public Member Functions | |
CreateProgressWidgetItemEvent (const QString &label, int taskId, int totalSteps) | |
It initializes a new CreateProgressWidgetItemEvent. More... | |
~CreateProgressWidgetItemEvent () | |
Destructor. More... | |
Static Public Member Functions | |
static QEvent::Type | type () |
Get the custom event type. More... | |
Public Attributes | |
QString | m_label |
Progress widget item label. More... | |
int | m_taskId |
The task id associated with the progress widget that will be created. More... | |
int | m_totalSteps |
The total steps of progress widget that will be created. More... | |
Static Private Attributes | |
static QEvent::Type | sm_customEventType |
Custom Event Type. More... | |
The CreateProgressWidgetItemEvent is a custom event used to create a progress widget item.
This event can be used when working with multithread tasks.
Definition at line 49 of file CreateProgressWidgetItemEvent.h.
te::qt::widgets::CreateProgressWidgetItemEvent::CreateProgressWidgetItemEvent | ( | const QString & | label, |
int | taskId, | ||
int | totalSteps | ||
) |
It initializes a new CreateProgressWidgetItemEvent.
label | Progress widget item label. |
taskId | The task id associated with the progress widget that will be created. |
totalSteps | The total steps of progress widget that will be created. |
te::qt::widgets::CreateProgressWidgetItemEvent::~CreateProgressWidgetItemEvent | ( | ) |
Destructor.
|
static |
Get the custom event type.
QString te::qt::widgets::CreateProgressWidgetItemEvent::m_label |
Progress widget item label.
Definition at line 72 of file CreateProgressWidgetItemEvent.h.
int te::qt::widgets::CreateProgressWidgetItemEvent::m_taskId |
The task id associated with the progress widget that will be created.
Definition at line 73 of file CreateProgressWidgetItemEvent.h.
int te::qt::widgets::CreateProgressWidgetItemEvent::m_totalSteps |
The total steps of progress widget that will be created.
Definition at line 74 of file CreateProgressWidgetItemEvent.h.
|
staticprivate |
Custom Event Type.
Definition at line 78 of file CreateProgressWidgetItemEvent.h.