Canorus 0.0
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CAMainWinProgressCtl Class Reference

#include <mainwinprogressctl.h>

Inheritance diagram for CAMainWinProgressCtl:
Inheritance graph
[legend]

Public Member Functions

 CAMainWinProgressCtl (CAMainWin *mainWin)
 
 ~CAMainWinProgressCtl ()
 
void startProgress (CAFile *f)
 

Private Slots

void on_updateTimer_timeout ()
 
void on_cancelButton_clicked (bool)
 

Private Member Functions

void restoreStatusBar ()
 

Private Attributes

CAMainWin_mainWin
 
CAProgressStatusBar_bar
 
QTimer * _updateTimer
 
CAFile_file
 

Constructor & Destructor Documentation

◆ CAMainWinProgressCtl()

CAMainWinProgressCtl::CAMainWinProgressCtl ( CAMainWin mainWin)

Copyright (c) 2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

◆ ~CAMainWinProgressCtl()

CAMainWinProgressCtl::~CAMainWinProgressCtl ( )

References _updateTimer.

Member Function Documentation

◆ on_cancelButton_clicked

void CAMainWinProgressCtl::on_cancelButton_clicked ( bool  )
privateslot

References _file, _updateTimer, and restoreStatusBar().

Referenced by startProgress().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_updateTimer_timeout

void CAMainWinProgressCtl::on_updateTimer_timeout ( )
privateslot

References _bar, _file, _updateTimer, CAFile::progress(), CAFile::readableStatus(), restoreStatusBar(), and CAProgressStatusBar::setProgress().

Referenced by startProgress().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreStatusBar()

void CAMainWinProgressCtl::restoreStatusBar ( )
private

References _bar, and _mainWin.

Referenced by on_cancelButton_clicked(), and on_updateTimer_timeout().

Here is the caller graph for this function:

◆ startProgress()

void CAMainWinProgressCtl::startProgress ( CAFile f)

References _bar, _file, _mainWin, _updateTimer, on_cancelButton_clicked(), on_updateTimer_timeout(), CAMainWin::ProgressMode, and CAMainWin::setMode().

Referenced by CAMainWin::on_uiImportDocument_triggered(), and CAMainWin::openDocument().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _bar

CAProgressStatusBar* CAMainWinProgressCtl::_bar
private

◆ _file

CAFile* CAMainWinProgressCtl::_file
private

◆ _mainWin

CAMainWin* CAMainWinProgressCtl::_mainWin
private

Referenced by restoreStatusBar(), and startProgress().

◆ _updateTimer

QTimer* CAMainWinProgressCtl::_updateTimer
private

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