casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Public Member Functions | Static Public Attributes | Private Slots | Private Attributes | Friends | List of all members
casa::QtViewerPrintGui Class Reference

#include <QtViewerPrintGui.qo.h>

Inheritance diagram for casa::QtViewerPrintGui:

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 (casacore::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

std::ostream & operator<< (std::ostream &os, const QtViewerPrintGui &obj)
 
std::ostream & operator<< (std::ostream &os, const QPrinter &printer)
 

Detailed Description

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

Constructor & Destructor Documentation

casa::QtViewerPrintGui::QtViewerPrintGui ( QtDisplayPanel dp)
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 
)
privateslot
void casa::QtViewerPrintGui::itemValueChanged ( QString  name,
QString  value,
int  action,
bool  apply 
)
slot
bool casa::QtViewerPrintGui::load ( QDomDocument &  doc)
void casa::QtViewerPrintGui::loadRecord ( casacore::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

std::ostream& operator<< ( std::ostream &  os,
const QtViewerPrintGui obj 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const QPrinter &  printer 
)
friend

Member Data Documentation

QDomDocument casa::QtViewerPrintGui::m_doc
private

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

QtDisplayPanel* casa::QtViewerPrintGui::pDP
private

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

QString casa::QtViewerPrintGui::printepsformat
private

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

QPrinter* casa::QtViewerPrintGui::printer
private

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

QString casa::QtViewerPrintGui::printfilename
private

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.

double casa::QtViewerPrintGui::printimgsizefactor
private

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

float casa::QtViewerPrintGui::printmagnification
private

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

QString casa::QtViewerPrintGui::printmedia
private

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

QString casa::QtViewerPrintGui::printorientation
private

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

const QString casa::QtViewerPrintGui::printRecord
static

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

int casa::QtViewerPrintGui::printresolution
private

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

QString casa::QtViewerPrintGui::savefiletype
private

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

QLabel* casa::QtViewerPrintGui::sizeLabel
private

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: