CFormPrint Class Reference

#include <formprint.h>

List of all members.

Public Slots

void slotPrint ()

Public Member Functions

 CFormPrint (const CPrinter *printer, enum QPrinter::Orientation orientation)

Protected Attributes

CPrintLabellabel
QToolButton * buttonLeft
QLabel * labelPage
QToolButton * buttonRight
QPushButton * buttonOk
QPushButton * buttonCancel
QPrinter printDevice
const CPrinterprintEngine
int printFontSize

Friends

class CPrintLabel


Detailed Description

A print preview dialog.

Definition at line 65 of file formprint.h.


Constructor & Destructor Documentation

CFormPrint::CFormPrint ( const CPrinter engine,
enum QPrinter::Orientation  orientation 
)

Construct a new print preview dialog.

Parameters:
engine 
orientation 

Definition at line 134 of file formprint.cpp.

References buttonCancel, buttonLeft, buttonOk, buttonRight, label, labelPage, printDevice, CPrintLabel::setPage(), and slotPrint().


Member Function Documentation

void CFormPrint::slotPrint (  )  [slot]

Print out the current data.

Definition at line 180 of file formprint.cpp.

References CPrinter::pages(), CPrinter::print(), printDevice, printEngine, and printFontSize.

Referenced by CFormPrint().


Member Data Documentation

display label

Definition at line 77 of file formprint.h.

Referenced by CFormPrint().

QToolButton* CFormPrint::buttonLeft [protected]

left button

Definition at line 80 of file formprint.h.

Referenced by CFormPrint().

QLabel* CFormPrint::labelPage [protected]

page label

Definition at line 82 of file formprint.h.

Referenced by CFormPrint(), and CPrintLabel::setPage().

QToolButton* CFormPrint::buttonRight [protected]

right button

Definition at line 84 of file formprint.h.

Referenced by CFormPrint().

QPushButton* CFormPrint::buttonOk [protected]

OK button

Definition at line 87 of file formprint.h.

Referenced by CFormPrint().

QPushButton* CFormPrint::buttonCancel [protected]

Cancel button

Definition at line 89 of file formprint.h.

Referenced by CFormPrint().

QPrinter CFormPrint::printDevice [protected]

the printer device

Definition at line 92 of file formprint.h.

Referenced by CFormPrint(), CPrintLabel::CPrintLabel(), CPrintLabel::paintEvent(), CPrintLabel::resizeEvent(), and slotPrint().

const CPrinter* CFormPrint::printEngine [protected]

the print engine

Definition at line 94 of file formprint.h.

Referenced by CPrintLabel::paintEvent(), CPrintLabel::setPage(), and slotPrint().

int CFormPrint::printFontSize [protected]

the print font size

Definition at line 96 of file formprint.h.

Referenced by CPrintLabel::paintEvent(), and slotPrint().


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

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6