Gui::ProgressDialog Class Reference

#include <ProgressDialog.h>

List of all members.

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

Detailed Description

Definition at line 76 of file ProgressDialog.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Friends And Related Function Documentation

friend class SequencerDialog [friend]

Definition at line 104 of file ProgressDialog.h.


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

Generated on Wed Nov 23 19:02:01 2011 for FreeCAD by  doxygen 1.6.1