#include <Txq2dPrintCanvas.h>
Inheritance diagram for Txq2dPrintCanvas::

Public Methods | |
| Txq2dPrintCanvas (Txq2dCanvas *cvas, QPrinter *pr, bool isPr, QWidget *parent=0, const char *nm=0) | |
| The constructor requires a Txq2dCanvas and a printer to print the pixmap. More... | |
| virtual | ~Txq2dPrintCanvas () |
| the destructor. More... | |
| void | print () |
| Used to invoke a print request. More... | |
| int | getWidth () |
| Return the width of the printer. More... | |
| int | getDpiX () |
| Get the X dots per inch of the printer. More... | |
| int | getHeight () |
| Get the height of the printer. More... | |
| int | getDpiY () |
| Get the Y dots per inch of the printer. More... | |
Protected Methods | |
| void | paintEvent (QPaintEvent *) |
| The paint event. More... | |
Private Attributes | |
| Txq2dCanvas* | canvas |
| The private Txq2dCanvas. More... | |
| QPrinter* | printer |
| The printer. More... | |
| bool | isPrint |
| bool flag to determine if using a printer. More... | |
Copyright 2000 by Tech-X Corporation
Definition at line 36 of file Txq2dPrintCanvas.h.
|
|
The constructor requires a Txq2dCanvas and a printer to print the pixmap.
|
|
|
the destructor.
|
|
|
Get the X dots per inch of the printer.
|
|
|
Get the Y dots per inch of the printer.
|
|
|
Get the height of the printer.
|
|
|
Return the width of the printer.
|
|
|
The paint event.
Reimplemented from Txq2dCanvas. |
|
|
Used to invoke a print request.
|
|
|
The private Txq2dCanvas.
Definition at line 102 of file Txq2dPrintCanvas.h. |
|
|
bool flag to determine if using a printer.
Definition at line 112 of file Txq2dPrintCanvas.h. |
|
|
The printer.
Definition at line 107 of file Txq2dPrintCanvas.h. |
Copyright Tech-X Corporation, all rights reserved.