Printing Class Reference

#include <printing.h>

Collaboration diagram for Printing:

Collaboration graph
[legend]

List of all members.

Public Slots

void paintPage (bool placeForSolution, bool extraPageForSolution)
void paintFooter ()
void paintIntroPage ()
void paintExtraPageForSolution ()

Public Member Functions

 Printing (QPrinter *p_printer, Settings &settings, ExerciseModel *model, DataProject *project, AccountModel *table, QObject *parent=0)
void print ()
void setupPage (QGraphicsScene *pageScene)
QGraphicsScene * pageScene (int nr)
int pageCount ()

Public Attributes

QList< QGraphicsScene * > pageSceneList
int leftMargin
int leftMarginExercise
int rightMargin
int topMargin
int bottomMargin
int spacing
int headerSize
int footerSize
int sceneZoomFactor
int rowHeight
QString headerText
QFont projectTitleFont
QFont chapterTitleFont
QFont exerciseTitleFont
QFont font
QFontMetrics * titleFmt


Detailed Description

Definition at line 30 of file printing.h.


Constructor & Destructor Documentation

Printing::Printing ( QPrinter *  p_printer,
Settings settings,
ExerciseModel model,
DataProject project,
AccountModel table,
QObject *  parent = 0 
)

Definition at line 15 of file printing.cpp.

Here is the call graph for this function:


Member Function Documentation

int Printing::pageCount (  ) 

Definition at line 452 of file printing.cpp.

QGraphicsScene * Printing::pageScene ( int  nr  ) 

Definition at line 245 of file printing.cpp.

Here is the caller graph for this function:

void Printing::paintExtraPageForSolution (  )  [slot]

Definition at line 379 of file printing.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Printing::paintFooter (  )  [slot]

Definition at line 231 of file printing.cpp.

void Printing::paintIntroPage (  )  [slot]

Definition at line 250 of file printing.cpp.

Here is the call graph for this function:

void Printing::paintPage ( bool  placeForSolution,
bool  extraPageForSolution 
) [slot]

Definition at line 113 of file printing.cpp.

Here is the call graph for this function:

void Printing::print (  ) 

Definition at line 90 of file printing.cpp.

Here is the caller graph for this function:

void Printing::setupPage ( QGraphicsScene *  pageScene  ) 

Definition at line 59 of file printing.cpp.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 46 of file printing.h.

Definition at line 56 of file printing.h.

Definition at line 57 of file printing.h.

Definition at line 58 of file printing.h.

Definition at line 49 of file printing.h.

Definition at line 48 of file printing.h.

Definition at line 52 of file printing.h.

Definition at line 42 of file printing.h.

Definition at line 43 of file printing.h.

QList<QGraphicsScene*> Printing::pageSceneList

Definition at line 36 of file printing.h.

Definition at line 55 of file printing.h.

Definition at line 44 of file printing.h.

Definition at line 51 of file printing.h.

Definition at line 50 of file printing.h.

Definition at line 47 of file printing.h.

QFontMetrics* Printing::titleFmt

Definition at line 59 of file printing.h.

Definition at line 45 of file printing.h.


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

Generated on Mon Jun 15 15:40:02 2009 for Allevo II Doublebookkeeping by  doxygen 1.5.9