The ProgressSetValueEvent is a custom event used to set a new value into a progress bar. More...
#include <ProgressSetValueEvent.h>
Public Member Functions | |
| ProgressSetValueEvent (int value) | |
| It initializes a new QtProgress. More... | |
| ~ProgressSetValueEvent () | |
| Destructor. More... | |
Static Public Member Functions | |
| static QEvent::Type | type () |
| Get the custom event type. More... | |
Public Attributes | |
| int | m_value |
| Progress bar value attribute. More... | |
Static Private Attributes | |
| static QEvent::Type | sm_customEventType |
| Custom Event Type. More... | |
The ProgressSetValueEvent is a custom event used to set a new value into a progress bar.
This event can be used when working with multithread tasks.
Definition at line 51 of file ProgressSetValueEvent.h.
| te::qt::widgets::ProgressSetValueEvent::ProgressSetValueEvent | ( | int | value | ) |
It initializes a new QtProgress.
Definition at line 33 of file ProgressSetValueEvent.cpp.
| te::qt::widgets::ProgressSetValueEvent::~ProgressSetValueEvent | ( | ) |
Destructor.
Definition at line 38 of file ProgressSetValueEvent.cpp.
|
static |
Get the custom event type.
Definition at line 42 of file ProgressSetValueEvent.cpp.
References te::at::None.
Referenced by te::qt::widgets::ProgressWidgetItem::customEvent(), te::qt::widgets::ProgressViewerDialog::customEvent(), and te::qt::widgets::ProgressViewerBar::customEvent().
| int te::qt::widgets::ProgressSetValueEvent::m_value |
Progress bar value attribute.
Definition at line 66 of file ProgressSetValueEvent.h.
|
staticprivate |
Custom Event Type.
Definition at line 70 of file ProgressSetValueEvent.h.