casa::QtViewerPrintGui Class Reference
#include <QtViewerPrintGui.qo.h>
List of all members.
Public Slots |
void | saveXPM () |
void | savePS (QPixmap *, int, int) |
void | print () |
void | dismiss () |
void | itemValueChanged (QString name, QString value, int action, bool apply) |
void | ps2eps (const QString &filename, QRect rect) |
void | printToFile (const QString &filename, bool isEPS) |
void | selectOutputType (const QString &text) |
Public Member Functions |
| QtViewerPrintGui (QtDisplayPanel *dp) |
| ~QtViewerPrintGui () |
QString | printFileName () const |
QString | printerName () const |
bool | load (QDomDocument &doc) |
void | loadRecord (Record rec) |
void | adjustEpsBoundingBox (const char *from, const char *to, const QSize &wcmax, const QRect &viewport) |
void | printPS (QPrinter *printer, const QString printerType) |
Static Public Attributes |
static const QString | printRecord |
Private Slots |
void | dpResized (QSize panelSize, QSize canvasSize) |
Private Attributes |
QDomDocument | m_doc |
QVBoxLayout * | vboxLayout |
QLabel * | sizeLabel |
QString | printfilename |
QString | savefiletype |
QString | printmedia |
QString | printorientation |
int | printresolution |
float | printmagnification |
QString | printepsformat |
std::pair< int, int > | printimgresolution |
double | printimgsizefactor |
QPrinter * | printer |
QtDisplayPanel * | pDP |
Friends |
ostream & | operator<< (ostream &os, const QtViewerPrintGui &obj) |
ostream & | operator<< (ostream &os, const QPrinter &printer) |
Detailed Description
Definition at line 59 of file QtViewerPrintGui.qo.h.
Constructor & Destructor Documentation
casa::QtViewerPrintGui::~QtViewerPrintGui |
( |
|
) |
|
Member Function Documentation
void casa::QtViewerPrintGui::adjustEpsBoundingBox |
( |
const char * |
from, |
|
|
const char * |
to, |
|
|
const QSize & |
wcmax, |
|
|
const QRect & |
viewport | |
|
) |
| | |
void casa::QtViewerPrintGui::dismiss |
( |
|
) |
[slot] |
void casa::QtViewerPrintGui::dpResized |
( |
QSize |
panelSize, |
|
|
QSize |
canvasSize | |
|
) |
| | [private, slot] |
void casa::QtViewerPrintGui::itemValueChanged |
( |
QString |
name, |
|
|
QString |
value, |
|
|
int |
action, |
|
|
bool |
apply | |
|
) |
| | [slot] |
bool casa::QtViewerPrintGui::load |
( |
QDomDocument & |
doc |
) |
|
void casa::QtViewerPrintGui::loadRecord |
( |
Record |
rec |
) |
|
void casa::QtViewerPrintGui::print |
( |
|
) |
[slot] |
QString casa::QtViewerPrintGui::printerName |
( |
|
) |
const |
QString casa::QtViewerPrintGui::printFileName |
( |
|
) |
const |
void casa::QtViewerPrintGui::printPS |
( |
QPrinter * |
printer, |
|
|
const QString |
printerType | |
|
) |
| | |
void casa::QtViewerPrintGui::printToFile |
( |
const QString & |
filename, |
|
|
bool |
isEPS | |
|
) |
| | [slot] |
void casa::QtViewerPrintGui::ps2eps |
( |
const QString & |
filename, |
|
|
QRect |
rect | |
|
) |
| | [slot] |
void casa::QtViewerPrintGui::savePS |
( |
QPixmap * |
, |
|
|
int |
, |
|
|
int |
| |
|
) |
| | [slot] |
void casa::QtViewerPrintGui::saveXPM |
( |
|
) |
[slot] |
void casa::QtViewerPrintGui::selectOutputType |
( |
const QString & |
text |
) |
[slot] |
Friends And Related Function Documentation
ostream& operator<< |
( |
ostream & |
os, |
|
|
const QPrinter & |
printer | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: