Isis 3 Programmer Reference
Isis::ProgressBar Class Reference

#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

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

????-??-?? Steven Lambright - QProgressBar with customizable text

Definition at line 15 of file ProgressBar.h.

Constructor & Destructor Documentation

◆ ProgressBar() [1/2]

Isis::ProgressBar::ProgressBar ( QWidget * parent = 0)

Definition at line 8 of file ProgressBar.cpp.

◆ ProgressBar() [2/2]

Isis::ProgressBar::ProgressBar ( QString textDescription,
QWidget * parent = 0 )

Definition at line 15 of file ProgressBar.cpp.

◆ ~ProgressBar()

Isis::ProgressBar::~ProgressBar ( )

Free the allocated memory by this object.

Definition at line 24 of file ProgressBar.cpp.

Member Function Documentation

◆ setText()

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

Set custom text for this progress bar.

This will appear before the

%.

Definition at line 32 of file ProgressBar.cpp.

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

◆ text()

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

This applies the custom text.

Definition at line 40 of file ProgressBar.cpp.

Member Data Documentation

◆ m_customText

QString Isis::ProgressBar::m_customText
private

Definition at line 27 of file ProgressBar.h.


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