casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Public Member Functions | Static Public Attributes | Private Slots | Private Attributes | Friends
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
QtDisplayPanelpDP

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


Member Function Documentation

void casa::QtViewerPrintGui::adjustEpsBoundingBox ( const char *  from,
const char *  to,
const QSize &  wcmax,
const QRect &  viewport 
)
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::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::selectOutputType ( const QString &  text) [slot]

Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const QtViewerPrintGui obj 
) [friend]
ostream& operator<< ( ostream &  os,
const QPrinter &  printer 
) [friend]

Member Data Documentation

QDomDocument casa::QtViewerPrintGui::m_doc [private]

Definition at line 92 of file QtViewerPrintGui.qo.h.

Definition at line 105 of file QtViewerPrintGui.qo.h.

Definition at line 101 of file QtViewerPrintGui.qo.h.

QPrinter* casa::QtViewerPrintGui::printer [private]

Definition at line 104 of file QtViewerPrintGui.qo.h.

Definition at line 95 of file QtViewerPrintGui.qo.h.

std::pair<int, int> casa::QtViewerPrintGui::printimgresolution [private]

Definition at line 102 of file QtViewerPrintGui.qo.h.

Definition at line 103 of file QtViewerPrintGui.qo.h.

Definition at line 100 of file QtViewerPrintGui.qo.h.

Definition at line 97 of file QtViewerPrintGui.qo.h.

Definition at line 98 of file QtViewerPrintGui.qo.h.

const QString casa::QtViewerPrintGui::printRecord [static]

Definition at line 72 of file QtViewerPrintGui.qo.h.

Definition at line 99 of file QtViewerPrintGui.qo.h.

Definition at line 96 of file QtViewerPrintGui.qo.h.

Definition at line 94 of file QtViewerPrintGui.qo.h.

QVBoxLayout* casa::QtViewerPrintGui::vboxLayout [private]

Definition at line 93 of file QtViewerPrintGui.qo.h.


The documentation for this class was generated from the following file: