#include <formprint.h>
Public Slots | |
| void | slotPrint () |
Public Member Functions | |
| CFormPrint (const CPrinter *printer, enum QPrinter::Orientation orientation) | |
Protected Attributes | |
| CPrintLabel * | label |
| QToolButton * | buttonLeft |
| QLabel * | labelPage |
| QToolButton * | buttonRight |
| QPushButton * | buttonOk |
| QPushButton * | buttonCancel |
| QPrinter | printDevice |
| const CPrinter * | printEngine |
| int | printFontSize |
Friends | |
| class | CPrintLabel |
Definition at line 65 of file formprint.h.
| CFormPrint::CFormPrint | ( | const CPrinter * | engine, | |
| enum QPrinter::Orientation | orientation | |||
| ) |
Construct a new print preview dialog.
| engine | ||
| orientation |
Definition at line 134 of file formprint.cpp.
References buttonCancel, buttonLeft, buttonOk, buttonRight, label, labelPage, printDevice, CPrintLabel::setPage(), and slotPrint().
| 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().
CPrintLabel* CFormPrint::label [protected] |
QToolButton* CFormPrint::buttonLeft [protected] |
QLabel* CFormPrint::labelPage [protected] |
page label
Definition at line 82 of file formprint.h.
Referenced by CFormPrint(), and CPrintLabel::setPage().
QToolButton* CFormPrint::buttonRight [protected] |
QPushButton* CFormPrint::buttonOk [protected] |
QPushButton* CFormPrint::buttonCancel [protected] |
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().
1.5.6