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

Public Slots | |
| void | print () |
| slot to print the canvas. More... | |
Public Methods | |
| TxqPrintPixmapFrame (QPixmap pm, QPrinter *pr, bool isPr, QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel) | |
| The constructor will print a QPixmap to a printer if the bool is set. More... | |
| TxqPrintPixmapFrame (QPrinter *pr, bool isPr, QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel) | |
| The constructor will print a QPixmap to a printer if the bool is set. More... | |
| virtual | ~TxqPrintPixmapFrame () |
| The destructor will delete the printer. More... | |
| void | setPixmap (QPixmap pm) |
| Set the pixmap. More... | |
| int | getWidth () |
| Get 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 | init (QPrinter *pr, bool isPr) |
| Iinitialize the class variables. More... | |
| virtual void | addMenuBarItems () |
| Add the default menu bar items. More... | |
| virtual void | addSubMenuBarItems () |
| Add the sub menu bar items The sub menubar items are any menus in the menubar that may need items inserted into it. More... | |
| void | paintEvent (QPaintEvent *p) |
| The paint event will paint upon the preview canvas. More... | |
Private Attributes | |
| QPixmap | pixmap |
| the private pixmap. 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 40 of file TxqPrintPixmapFrame.h.
|
|
The constructor will print a QPixmap to a printer if the bool is set.
|
|
|
The constructor will print a QPixmap to a printer if the bool is set. The QPixmap must be set by the class setPixmap method. |
|
|
The destructor will delete the printer.
|
|
|
Add the default menu bar items.
Reimplemented from TxqFrame. |
|
|
Add the sub menu bar items The sub menubar items are any menus in the menubar that may need items inserted into it.
Reimplemented from TxqFrame. |
|
|
Get the X dots per inch of the printer.
|
|
|
Get the Y dots per inch of the printer.
|
|
|
Get the height of the printer.
|
|
|
Get the width of the printer.
|
|
|
Iinitialize the class variables.
|
|
|
The paint event will paint upon the preview canvas.
|
|
|
slot to print the canvas.
Reimplemented from TxqFrame. |
|
|
Set the pixmap.
|
|
|
bool flag to determine if using a printer.
Reimplemented from TxqFrame. Definition at line 155 of file TxqPrintPixmapFrame.h. |
|
|
the private pixmap.
Definition at line 145 of file TxqPrintPixmapFrame.h. |
|
|
the printer.
Reimplemented from TxqFrame. Definition at line 150 of file TxqPrintPixmapFrame.h. |
Copyright Tech-X Corporation, all rights reserved.