#include <ProgressBar.h>
Public Slots | |
bool | canAbort () const |
void | setMinimumDuration (int ms) |
Sets the time that must pass before the progress bar appears to ms. More... | |
Public Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) |
Handles all incoming events while the progress bar is running. More... | |
int | minimumDuration () const |
Returns the time in milliseconds that must pass before the progress bar appears. More... | |
ProgressBar (SequencerBar *s, QWidget *parent=nullptr) | |
Construction. More... | |
~ProgressBar () | |
Destruction. More... | |
Protected Slots | |
void | aboutToHide () |
void | aboutToShow () |
void | delayedShow () |
Protected Member Functions | |
void | hideEvent (QHideEvent *) |
void | showEvent (QShowEvent *) |
for internal use only | |
class | SequencerBar |
ProgressBar::ProgressBar | ( | SequencerBar * | s, |
QWidget * | parent = nullptr |
||
) |
ProgressBar::~ProgressBar | ( | ) |
Destruction.
References delayedShow(), and Gui::ProgressBarPrivate::delayShowTimer.
|
protectedslot |
Referenced by Gui::SequencerBar::resetData().
|
protectedslot |
References Gui::ProgressBarPrivate::delayShowTimer, and Gui::ProgressBarPrivate::minimumDuration.
Referenced by Gui::SequencerBar::startStep().
|
slot |
References Gui::getMainWindow().
Referenced by Gui::SequencerBar::checkAbort(), and Gui::SequencerBar::nextStep().
|
protectedslot |
References Base::SequencerBase::isRunning(), and Base::SequencerBase::wasCanceled().
Referenced by ProgressBar(), and ~ProgressBar().
Handles all incoming events while the progress bar is running.
All key and mouse events are ignored to block user input.
References Gui::getMainWindow(), Gui::ProgressBarPrivate::isModalDialog(), Base::SequencerBase::isRunning(), Gui::ProgressBarPrivate::observeEventFilter, Gui::SequencerBar::resetData(), and Base::SequencerBase::tryToCancel().
|
protected |
References Gui::ProgressBarPrivate::delayShowTimer.
int ProgressBar::minimumDuration | ( | ) | const |
Returns the time in milliseconds that must pass before the progress bar appears.
References Gui::ProgressBarPrivate::minimumDuration.
|
slot |
Sets the time that must pass before the progress bar appears to ms.
References Gui::ProgressBarPrivate::delayShowTimer, and Gui::ProgressBarPrivate::minimumDuration.
|
protected |
References Gui::ProgressBarPrivate::delayShowTimer.
|
friend |