Gui::SequencerDialog Class Reference

#include <ProgressDialog.h>

Inheritance diagram for Gui::SequencerDialog:
Base::SequencerBase

List of all members.

Public Member Functions

bool isBlocking () const
 Returns true if the running sequencer is blocking any user input.
void pause ()
 Breaks the sequencer if needed.
void resume ()
 Continues with progress.

Static Public Member Functions

static SequencerDialoginstance ()

Protected Member Functions

void nextStep (bool canAbort)
 Increase the step indicator of the progress dialog.
void resetData ()
 Resets the sequencer.
 SequencerDialog ()
 Construction.
void setText (const char *pszTxt)
 Puts text to the progress dialog.
void showRemainingTime ()
void startStep ()
 Starts the progress dialog.
 ~SequencerDialog ()
 Destruction.

Friends

class ProgressDialog

Detailed Description

Definition at line 38 of file ProgressDialog.h.


Constructor & Destructor Documentation

SequencerDialog::SequencerDialog (  )  [protected]
SequencerDialog::~SequencerDialog (  )  [protected]

Destruction.

Definition at line 62 of file ProgressDialog.cpp.


Member Function Documentation

SequencerDialog * SequencerDialog::instance ( void   )  [static]

Definition at line 47 of file ProgressDialog.cpp.

References SequencerDialog().

bool SequencerDialog::isBlocking (  )  const [virtual]

Returns true if the running sequencer is blocking any user input.

This might be only of interest of the GUI where the progress bar or dialog is used from a thread. If started from a thread this method should return false, otherwise true. The default implementation always returns true.

Reimplemented from Base::SequencerBase.

Definition at line 264 of file ProgressDialog.cpp.

References Gui::SequencerDialogPrivate::guiThread.

void SequencerDialog::nextStep ( bool  canAbort  )  [protected, virtual]
void SequencerDialog::pause (  )  [virtual]

Breaks the sequencer if needed.

The default implementation does nothing. Every pause() must eventually be followed by a corresponding resume().

See also:
Gui::ProgressBar.

Reimplemented from Base::SequencerBase.

Definition at line 67 of file ProgressDialog.cpp.

References Gui::SequencerDialogPrivate::dlg, and Gui::ProgressDialog::leaveControlEvents().

Referenced by nextStep().

void SequencerDialog::resetData (  )  [protected, virtual]

Resets the sequencer.

Reimplemented from Base::SequencerBase.

Definition at line 213 of file ProgressDialog.cpp.

References Gui::SequencerDialogPrivate::dlg, and Gui::ProgressDialog::leaveControlEvents().

void SequencerDialog::resume (  )  [virtual]

Continues with progress.

The default implementation does nothing.

See also:
pause(),
Gui::ProgressBar.

Reimplemented from Base::SequencerBase.

Definition at line 76 of file ProgressDialog.cpp.

References Gui::SequencerDialogPrivate::dlg, and Gui::ProgressDialog::enterControlEvents().

Referenced by nextStep().

void SequencerDialog::setText ( const char *  pszTxt  )  [protected, virtual]

Puts text to the progress dialog.

Reimplemented from Base::SequencerBase.

Definition at line 246 of file ProgressDialog.cpp.

References Gui::SequencerDialogPrivate::dlg, and Gui::SequencerDialogPrivate::text.

void SequencerDialog::showRemainingTime (  )  [protected]
void SequencerDialog::startStep (  )  [protected, virtual]

Friends And Related Function Documentation

friend class ProgressDialog [friend]

Definition at line 73 of file ProgressDialog.h.

Referenced by SequencerDialog().


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

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