| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes
TeQtProgress Class Reference

`#include <TeQtProgress.h>`

Inheritance diagram for TeQtProgress:

List of all members.

## Public Member Functions

| TeQtProgress (QWidget *creator=0, const char *name=0, bool modal=FALSE, WFlags f=0)
| ~TeQtProgress ()
void | reset ()
| Resets the progress interface.
void | setTotalSteps (int steps)
| Sets the total number of steps to n.
void | setMessage (const string &text)
| Sets the label's text.
string | getMessage ()
| Returns the label's text.
void | setProgress (int steps)
| Sets the current amount of progress made to n.
bool | wasCancelled ()
| Returns true whether the process was cancelled.
void | setCaption (const string &cap)
| Sets the caption associated to the progress interface.
void | cancel ()
| Resets the progress dialog.

## Protected Member Functions

void | enterEvent (QEvent *)
void | leaveEvent (QEvent *)

## Protected Attributes

int | numberOfCursors_

## Constructor & Destructor Documentation

TeQtProgress::TeQtProgress | ( | QWidget * | creator = `0`,
|  | const char * | name = `0`,
|  | bool | modal = `FALSE`,
|  | WFlags | f = `0`
| ) |  | `[inline]`

TeQtProgress::~TeQtProgress | ( |  | ) | `[inline]`

## Member Function Documentation

void TeQtProgress::cancel | ( |  | ) | `[inline, virtual]`

Resets the progress dialog.

Implements TeProgressBase.

void TeQtProgress::enterEvent | ( | QEvent * |  | ) | `[inline, protected]`

string TeQtProgress::getMessage | ( |  | ) | `[inline, virtual]`

Returns the label's text.

Reimplemented from TeProgressBase.

void TeQtProgress::leaveEvent | ( | QEvent * |  | ) | `[inline, protected]`

void TeQtProgress::reset | ( |  | ) | `[inline, virtual]`

Resets the progress interface.

Implements TeProgressBase.

void TeQtProgress::setCaption | ( | const string & | cap | ) | `[inline, virtual]`

Sets the caption associated to the progress interface.

Implements TeProgressBase.

void TeQtProgress::setMessage | ( | const string & | text | ) | `[inline, virtual]`

Sets the label's text.

Implements TeProgressBase.

void TeQtProgress::setProgress | ( | int | n | ) | `[inline, virtual]`

Sets the current amount of progress made to n.

Implements TeProgressBase.

void TeQtProgress::setTotalSteps | ( | int | n | ) | `[inline, virtual]`

Sets the total number of steps to n.

Implements TeProgressBase.

bool TeQtProgress::wasCancelled | ( |  | ) | `[inline, virtual]`

Returns true whether the process was cancelled.

Implements TeProgressBase.

## Member Data Documentation

int TeQtProgress::numberOfCursors_`[protected]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtProgress.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines