Class for interface of progress meter to Qt. More...
#include <cmtkQtProgress.h>


Public Types | |
| enum | ProgressWidgetMode { PROGRESS_DIALOG, PROGRESS_BAR } |
Progress indicator mode. More... | |
| typedef QtProgress | Self |
| This class. | |
| typedef Progress | Superclass |
| Parent class. | |
Public Member Functions | |
| QtProgress (QWidget *const parentWindow) | |
| Constructor. | |
| void | SetProgressBar (QProgressBar *const progressBar) |
| Set the embedded progress bar. | |
| virtual void | BeginVirtual (const double start, const double end, const double increment, const std::string &taskName=std::string("")) |
| This member function initialises the Qt progress indicator. | |
| virtual Progress::ResultEnum | UpdateProgress () |
| This member function sets the Qt progress indicator. | |
| virtual void | DoneVirtual () |
| This member function deletes the Qt progress indicator. | |
| void | SetProgressWidgetMode (ProgressWidgetMode progressWidgetMode) |
| Set progress indicator mode. | |
Private Attributes | |
| QWidget * | ParentWindow |
| The progress window parent widget. | |
| QProgressBar * | ProgressBar |
| The progress bar widget. | |
| QProgressDialog * | ProgressDialog |
| Progress dialog widget. | |
| ProgressWidgetMode | m_ProgressWidgetMode |
| Progress widget mode. | |
Class for interface of progress meter to Qt.
Definition at line 53 of file cmtkQtProgress.h.
| typedef QtProgress cmtk::QtProgress::Self |
| typedef Progress cmtk::QtProgress::Superclass |
Parent class.
Definition at line 62 of file cmtkQtProgress.h.
Progress indicator mode.
| PROGRESS_DIALOG |
Use a modal progress dialog. |
| PROGRESS_BAR |
Use a progress bar within another window. |
Definition at line 83 of file cmtkQtProgress.h.
| void cmtk::QtProgress::SetProgressBar | ( | QProgressBar *const | progressBar ) | [inline] |
Set the embedded progress bar.
Definition at line 68 of file cmtkQtProgress.h.
| void cmtk::QtProgress::SetProgressWidgetMode | ( | ProgressWidgetMode | progressWidgetMode ) | [inline] |
Set progress indicator mode.
Definition at line 92 of file cmtkQtProgress.h.
Progress widget mode.
Definition at line 108 of file cmtkQtProgress.h.
QWidget* cmtk::QtProgress::ParentWindow [private] |
The progress window parent widget.
Definition at line 99 of file cmtkQtProgress.h.
QProgressBar* cmtk::QtProgress::ProgressBar [private] |
The progress bar widget.
Definition at line 102 of file cmtkQtProgress.h.
QProgressDialog* cmtk::QtProgress::ProgressDialog [private] |
Progress dialog widget.
Definition at line 105 of file cmtkQtProgress.h.
1.7.2