#include <ProgressDialog.h>
Public Member Functions | |
| bool | eventFilter (QObject *o, QEvent *e) |
| Handles all incoming events while the progress bar is running. | |
| ProgressDialog (SequencerDialog *s, QWidget *parent=0) | |
| Construction. | |
| ~ProgressDialog () | |
| Destruction. | |
Protected Slots | |
| void | onCancel () |
Protected Member Functions | |
| bool | canAbort () const |
| void | enterControlEvents () |
| Gets the events under control. | |
| void | leaveControlEvents () |
| Looses the control over incoming events. | |
Friends | |
| class | SequencerDialog |
Definition at line 76 of file ProgressDialog.h.
| ProgressDialog::ProgressDialog | ( | SequencerDialog * | s, | |
| QWidget * | parent = 0 | |||
| ) |
Construction.
Definition at line 273 of file ProgressDialog.cpp.
References draftlibs::fcgeo::connect(), and onCancel().
| ProgressDialog::~ProgressDialog | ( | ) |
Destruction.
Definition at line 279 of file ProgressDialog.cpp.
| bool ProgressDialog::canAbort | ( | ) | const [protected] |
Definition at line 288 of file ProgressDialog.cpp.
References Gui::getMainWindow().
Referenced by Gui::SequencerDialog::nextStep().
| void ProgressDialog::enterControlEvents | ( | ) | [protected] |
Gets the events under control.
Definition at line 297 of file ProgressDialog.cpp.
Referenced by Gui::SequencerDialog::resume(), and Gui::SequencerDialog::startStep().
| bool ProgressDialog::eventFilter | ( | QObject * | o, | |
| QEvent * | e | |||
| ) |
Handles all incoming events while the progress bar is running.
All key and mouse events are ignored to block user input.
Definition at line 314 of file ProgressDialog.cpp.
References Gui::getMainWindow(), and Base::SequencerBase::isRunning().
| void ProgressDialog::leaveControlEvents | ( | ) | [protected] |
Looses the control over incoming events.
Definition at line 306 of file ProgressDialog.cpp.
Referenced by Gui::SequencerDialog::pause(), and Gui::SequencerDialog::resetData().
| void ProgressDialog::onCancel | ( | ) | [protected, slot] |
Definition at line 283 of file ProgressDialog.cpp.
References Base::SequencerBase::tryToCancel().
Referenced by ProgressDialog().
friend class SequencerDialog [friend] |
Definition at line 104 of file ProgressDialog.h.
1.6.1