Isis 3 Developer Reference
ProgressBar.h
Go to the documentation of this file.
1 #ifndef ProgressBar_h
2 #define ProgressBar_h
3 
4 #include <QProgressBar>
5 
6 namespace Isis {
15  class ProgressBar : public QProgressBar {
16  Q_OBJECT
17 
18  public:
19  ProgressBar(QWidget *parent = 0);
20  ProgressBar(QString textDescription, QWidget *parent = 0);
21  ~ProgressBar();
22 
23  void setText(QString text);
24  virtual QString text() const;
25 
26  private:
27  QString m_customText;
28 
29  };
30 }
31 
32 #endif
ProgressBar(QWidget *parent=0)
Definition: ProgressBar.cpp:8
~ProgressBar()
Free the allocated memory by this object.
Definition: ProgressBar.cpp:24
void setText(QString text)
Set custom text for this progress bar.
Definition: ProgressBar.cpp:32
virtual QString text() const
This applies the custom text.
Definition: ProgressBar.cpp:40
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Definition: ProgressBar.h:15