Gui::ProgressBar Class Reference

#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
 

Constructor & Destructor Documentation

◆ ProgressBar()

◆ ~ProgressBar()

ProgressBar::~ProgressBar ( )

Member Function Documentation

◆ aboutToHide

void ProgressBar::aboutToHide ( )
protectedslot

◆ aboutToShow

void ProgressBar::aboutToShow ( )
protectedslot

◆ canAbort

bool ProgressBar::canAbort ( ) const
slot

◆ delayedShow

void ProgressBar::delayedShow ( )
protectedslot

◆ eventFilter()

bool ProgressBar::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.

References Gui::getMainWindow(), Gui::ProgressBarPrivate::isModalDialog(), Base::SequencerBase::isRunning(), Gui::ProgressBarPrivate::observeEventFilter, Gui::SequencerBar::resetData(), and Base::SequencerBase::tryToCancel().

◆ hideEvent()

void ProgressBar::hideEvent ( QHideEvent *  e)
protected

◆ minimumDuration()

int ProgressBar::minimumDuration ( ) const

Returns the time in milliseconds that must pass before the progress bar appears.

References Gui::ProgressBarPrivate::minimumDuration.

◆ setMinimumDuration

void ProgressBar::setMinimumDuration ( int  ms)
slot

Sets the time that must pass before the progress bar appears to ms.

References Gui::ProgressBarPrivate::delayShowTimer, and Gui::ProgressBarPrivate::minimumDuration.

◆ showEvent()

void ProgressBar::showEvent ( QShowEvent *  e)
protected

Friends And Related Function Documentation

◆ SequencerBar

friend class SequencerBar
friend

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