gSAFE
1.3.8
|
#include <printlib.h>
Inherits QDialog.
Public Slots | |
int | drawIt (QPainter *p, double scale=1.0, bool print=false) |
int | printIt (void) |
void | scanIt (void) |
int | updateDisplay (void) |
Signals | |
void | updateDisplaySignal (void) |
Public Member Functions | |
HPrintTable (QWidget *parent, HBase *d, QFont *pf=NULL) | |
HPtintTable //////////////////////////////////////////////////////////////. More... | |
Protected Attributes | |
int | cellh |
QList< int > | cellrh |
QList< int > | cellw |
int | column |
HBase * | data |
bool | hide |
QVBoxLayout * | layout |
int | page |
int | pagerun |
QLabel * | pn |
HPreviewFrame * | preview |
QPrinter * | printer |
QFont | printfont |
int | rownum |
QScrollArea * | scrollp |
HPrintTable is a print preview and printer dialog, which can print a HTable or HList or HPlainDataMatrix objects. When you create this object, a popup dialog will appear with a print preview.
This class will generate the printed document according the meta data class (HTable/HList/HPlainDataMatrix) and the data will came from these class too.
or you can print a result of a query
Definition at line 95 of file printlib.h.
HPrintTable::HPrintTable | ( | QWidget * | parent, |
HBase * | d, | ||
QFont * | pf = NULL |
||
) |
HPtintTable //////////////////////////////////////////////////////////////.
Creates a HPrintTable object
parent | the QWidget descendant parent |
d | the meta-data class |
pf | the front to print |
Definition at line 196 of file printlib.cpp.
|
signal |
The gui uses this signal to pass the refresh request to the HDataField descendants. This printing class won't use this signal, but I left this signal here avoid the connect error warnings.