te::qt::widgets::ProgressSetValueEvent Class Reference

The ProgressSetValueEvent is a custom event used to set a new value into a progress bar. More...

#include <ProgressSetValueEvent.h>

Inheritance diagram for te::qt::widgets::ProgressSetValueEvent:

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...
 

Detailed Description

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.

See also
ProgressViewerDialog, ProgressWidgetItem

Definition at line 51 of file ProgressSetValueEvent.h.

Constructor & Destructor Documentation

te::qt::widgets::ProgressSetValueEvent::ProgressSetValueEvent ( int  value)

It initializes a new QtProgress.

te::qt::widgets::ProgressSetValueEvent::~ProgressSetValueEvent ( )

Destructor.

Member Function Documentation

static QEvent::Type te::qt::widgets::ProgressSetValueEvent::type ( )
static

Get the custom event type.

Member Data Documentation

int te::qt::widgets::ProgressSetValueEvent::m_value

Progress bar value attribute.

Definition at line 66 of file ProgressSetValueEvent.h.

QEvent::Type te::qt::widgets::ProgressSetValueEvent::sm_customEventType
staticprivate

Custom Event Type.

Definition at line 70 of file ProgressSetValueEvent.h.


The documentation for this class was generated from the following file: