USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::ProgressBar Class Reference

QProgressBar with customizable text. More...

#include <ProgressBar.h>

Inheritance diagram for Isis::ProgressBar:
Inheritance graph
Collaboration diagram for Isis::ProgressBar:
Collaboration graph

Public Member Functions

 ProgressBar (QWidget *parent=0)
 ProgressBar (QString textDescription, QWidget *parent=0)
 ~ProgressBar ()
 Free the allocated memory by this object.
void setText (QString text)
 Set custom text for this progress bar.
virtual QString text () const
 This applies the custom text.

Private Attributes

QString m_customText

Detailed Description

QProgressBar with customizable text.

Author
????-??-?? Steven Lambright

Definition at line 15 of file ProgressBar.h.

Constructor & Destructor Documentation

Isis::ProgressBar::~ProgressBar ( )

Free the allocated memory by this object.

Definition at line 23 of file ProgressBar.cpp.

Member Function Documentation

void Isis::ProgressBar::setText ( QString  text)

Set custom text for this progress bar.

This will appear before the

%.

Definition at line 31 of file ProgressBar.cpp.

References text().

Referenced by Isis::ControlNetGraphicsItem::buildChildren(), and Isis::MosaicSceneWidget::reprojectItems().

QString Isis::ProgressBar::text ( ) const
virtual

This applies the custom text.

Definition at line 39 of file ProgressBar.cpp.

Referenced by setText().


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