Isis 3 Programmer Reference
ProgressBar.h
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
QWidget
QProgressBar
Isis::ProgressBar
Definition: ProgressBar.h:15
Isis::ProgressBar::text
virtual QString text() const
This applies the custom text.
Definition: ProgressBar.cpp:40
Isis::ProgressBar::~ProgressBar
~ProgressBar()
Free the allocated memory by this object.
Definition: ProgressBar.cpp:24
Isis::ProgressBar::setText
void setText(QString text)
Set custom text for this progress bar.
Definition: ProgressBar.cpp:32
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16