Canorus 0.0
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
CAPrintCtl Class Reference

#include <printctl.h>

Inheritance diagram for CAPrintCtl:
Inheritance graph
[legend]

Public Slots

void on_uiPrint_triggered ()
 
void on_uiPrintDirectly_triggered ()
 

Public Member Functions

 CAPrintCtl (CAMainWin *poMainWin)
 
 ~CAPrintCtl ()
 

Protected Slots

void printSVG (int iExitCode)
 

Protected Member Functions

void printDocument ()
 

Protected Attributes

CAMainWin_poMainWin
 
CASVGExport_poSVGExport
 
QString _oOutputSVGName
 
bool _showDialog
 

Constructor & Destructor Documentation

◆ CAPrintCtl()

CAPrintCtl::CAPrintCtl ( CAMainWin poMainWin)

Copyright (c) 2006-2008, Reinhard Katzmann, 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.

References _poMainWin, _poSVGExport, _showDialog, CACanorus::connectSlotsByName(), and printSVG().

Here is the call graph for this function:

◆ ~CAPrintCtl()

CAPrintCtl::~CAPrintCtl ( )

References _poSVGExport.

Member Function Documentation

◆ on_uiPrint_triggered

void CAPrintCtl::on_uiPrint_triggered ( )
slot

References _showDialog, and printDocument().

Here is the call graph for this function:

◆ on_uiPrintDirectly_triggered

void CAPrintCtl::on_uiPrintDirectly_triggered ( )
slot

References _showDialog, and printDocument().

Here is the call graph for this function:

◆ printDocument()

void CAPrintCtl::printDocument ( )
protected

References _oOutputSVGName, _poMainWin, _poSVGExport, CAMainWin::currentSheet(), CAExport::exportSheet(), CASVGExport::getTempFilePath(), CAExport::setStreamToFile(), and CAExport::wait().

Referenced by on_uiPrint_triggered(), and on_uiPrintDirectly_triggered().

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

◆ printSVG

void CAPrintCtl::printSVG ( int  iExitCode)
protectedslot

References _oOutputSVGName, _poMainWin, and _showDialog.

Referenced by CAPrintCtl().

Here is the caller graph for this function:

Member Data Documentation

◆ _oOutputSVGName

QString CAPrintCtl::_oOutputSVGName
protected

Referenced by printDocument(), and printSVG().

◆ _poMainWin

CAMainWin* CAPrintCtl::_poMainWin
protected

Referenced by CAPrintCtl(), printDocument(), and printSVG().

◆ _poSVGExport

CASVGExport* CAPrintCtl::_poSVGExport
protected

◆ _showDialog

bool CAPrintCtl::_showDialog
protected

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