OpenMS
GUIProgressLoggerImpl Class Reference

Implements a GUI version of the ProgressLoggerImpl. More...

#include <OpenMS/VISUAL/GUIProgressLoggerImpl.h>

Inheritance diagram for GUIProgressLoggerImpl:
[legend]
Collaboration diagram for GUIProgressLoggerImpl:
[legend]

Public Member Functions

 GUIProgressLoggerImpl ()
 default c'tor. More...
 
void startProgress (const SignedSize begin, const SignedSize end, const String &label, const int) const override
 Implement ProgressLoggerImpl::startProgress(). More...
 
void setProgress (const SignedSize value, const int) const override
 Implement ProgressLoggerImpl::setProgress(). More...
 
SignedSize nextProgress () const override
 Implement ProgressLoggerImpl::nextProgress(). More...
 
void endProgress (const int) const override
 Implement ProgressLoggerImpl::endProgress(). More...
 
 ~GUIProgressLoggerImpl () override
 d'tor More...
 
- Public Member Functions inherited from ProgressLogger::ProgressLoggerImpl
virtual ~ProgressLoggerImpl ()
 

Static Public Member Functions

static ProgressLogger::ProgressLoggerImplcreate ()
 create new object (needed by Factory) More...
 
static const String getProductName ()
 name of the model (needed by Factory) More...
 
- Static Public Member Functions inherited from ProgressLogger::ProgressLoggerImpl
static void registerChildren ()
 Factory requirements. More...
 

Private Attributes

QProgressDialog * dlg_
 
SignedSize begin_
 
SignedSize end_
 
SignedSize current_
 

Detailed Description

Implements a GUI version of the ProgressLoggerImpl.

Constructor & Destructor Documentation

◆ GUIProgressLoggerImpl()

default c'tor.

◆ ~GUIProgressLoggerImpl()

~GUIProgressLoggerImpl ( )
override

d'tor

Member Function Documentation

◆ create()

static ProgressLogger::ProgressLoggerImpl* create ( )
static

create new object (needed by Factory)

Referenced by QApplicationTOPP::QApplicationTOPP().

◆ endProgress()

void endProgress ( const int  ) const
overridevirtual

Implement ProgressLoggerImpl::endProgress().

Implements ProgressLogger::ProgressLoggerImpl.

◆ getProductName()

static const String getProductName ( )
static

name of the model (needed by Factory)

Referenced by QApplicationTOPP::QApplicationTOPP().

◆ nextProgress()

SignedSize nextProgress ( ) const
overridevirtual

Implement ProgressLoggerImpl::nextProgress().

Implements ProgressLogger::ProgressLoggerImpl.

◆ setProgress()

void setProgress ( const SignedSize  value,
const int   
) const
overridevirtual

Implement ProgressLoggerImpl::setProgress().

Implements ProgressLogger::ProgressLoggerImpl.

◆ startProgress()

void startProgress ( const SignedSize  begin,
const SignedSize  end,
const String label,
const int   
) const
overridevirtual

Implement ProgressLoggerImpl::startProgress().

Implements ProgressLogger::ProgressLoggerImpl.

Member Data Documentation

◆ begin_

SignedSize begin_
mutableprivate

◆ current_

SignedSize current_
mutableprivate

◆ dlg_

QProgressDialog* dlg_
mutableprivate

◆ end_

SignedSize end_
mutableprivate