PageItem Class Reference

#include <qpui.h>

Inheritance diagram for PageItem:

QpuiItem

List of all members.

Public Slots

void displayIntervalWidget (double x, double y, int pos_x, int pos_y)

Public Member Functions

 PageItem (const QString &name="", QpuiItem *parent=NULL, int position=-1)
 PageItem (PageItem *page, QpuiItem *parent, int position=-1)
virtual ~PageItem ()
virtual bool setName (const QString &)
virtual bool addChild (QpuiItem *newChild, int position=-1)
virtual bool reparent (QpuiItem *newParent, int position=-1)
QpuiReturnStatus plot (PlotWindow *win)
void set_colour_table (const QpuiColourTable &colour_table=QPUI_RAINBOW)
void updateIsotropicFrames ()
void setLayout ()
void showTabs ()
void setFramesAuto (bool active)
void setDefaultOptions ()
double aspectRatio () const
PlotWindownewWindow (double width, double height, int *id, int resolution=72, QPrinter::PageSize pageSize=QPrinter::A4, QPrinter::Orientation orientation=QPrinter::Portrait)
PlotWindowfocusWindow (int id, double width=-1., double height=-1., int resolution=72, QPrinter::PageSize pageSize=QPrinter::A4, QPrinter::Orientation orientation=QPrinter::Portrait)
void clearWindows ()
int panelsInColumn (int colno)
bool containsSpectrum ()
RootItemroot ()
virtual QDomElement toXMLElement (QDomDocument &) const
void fromXMLElement (QDomElement &)

Public Attributes

int _print_id
double _conversion_factors [5]
QpValueReturnTabValueReturnTab
QpPageTabPageTab
QpLayoutTabLayoutTab
QList< PlotWindow * > PlotWindows

Static Public Attributes

static double _width_in_inches [6] = {8.3,8.5,7.5,8.5,8.5,0.}
static double _height_in_inches [6] = {11.694,9,10.,14,11,0.}

Friends

class RootItem
class FrameItem
class PanelItem
class PlotItem
Vostreamoperator<< (Vostream &, PageItem &)
Vistreamoperator>> (Vistream &, PageItem &)


Constructor & Destructor Documentation

PageItem::PageItem ( const QString &  name = "",
QpuiItem parent = NULL,
int  position = -1 
)

PageItem::PageItem ( PageItem page,
QpuiItem parent,
int  position = -1 
)

PageItem::~PageItem (  )  [virtual]


Member Function Documentation

bool PageItem::addChild ( QpuiItem newChild,
int  position = -1 
) [virtual]

Reimplemented from QpuiItem.

double PageItem::aspectRatio (  )  const

void PageItem::clearWindows (  ) 

bool PageItem::containsSpectrum (  ) 

void PageItem::displayIntervalWidget ( double  x,
double  y,
int  pos_x,
int  pos_y 
) [slot]

PlotWindow * PageItem::focusWindow ( int  id,
double  width = -1.,
double  height = -1.,
int  resolution = 72,
QPrinter::PageSize  pageSize = QPrinter::A4,
QPrinter::Orientation  orientation = QPrinter::Portrait 
)

void PageItem::fromXMLElement ( QDomElement &  el  ) 

Reimplemented from QpuiItem.

PlotWindow * PageItem::newWindow ( double  width,
double  height,
int *  id,
int  resolution = 72,
QPrinter::PageSize  pageSize = QPrinter::A4,
QPrinter::Orientation  orientation = QPrinter::Portrait 
)

int PageItem::panelsInColumn ( int  colno  ) 

QpuiReturnStatus PageItem::plot ( PlotWindow win  ) 

bool PageItem::reparent ( QpuiItem newParent,
int  position = -1 
) [virtual]

Reimplemented from QpuiItem.

RootItem* PageItem::root (  )  [inline, virtual]

Reimplemented from QpuiItem.

void PageItem::set_colour_table ( const QpuiColourTable colour_table = QPUI_RAINBOW  ) 

void PageItem::setDefaultOptions (  )  [virtual]

Reimplemented from QpuiItem.

void PageItem::setFramesAuto ( bool  active  ) 

void PageItem::setLayout (  ) 

bool PageItem::setName ( const QString &  newName  )  [virtual]

Reimplemented from QpuiItem.

void PageItem::showTabs (  )  [virtual]

Reimplemented from QpuiItem.

QDomElement PageItem::toXMLElement ( QDomDocument &  doc  )  const [virtual]

Reimplemented from QpuiItem.

void PageItem::updateIsotropicFrames (  ) 


Friends And Related Function Documentation

friend class FrameItem [friend]

Reimplemented from QpuiItem.

Vostream& operator<< ( Vostream v_os,
PageItem page 
) [friend]

Vistream& operator>> ( Vistream v_is,
PageItem page 
) [friend]

friend class PanelItem [friend]

Reimplemented from QpuiItem.

friend class PlotItem [friend]

Reimplemented from QpuiItem.

friend class RootItem [friend]

Reimplemented from QpuiItem.


Member Data Documentation

double PageItem::_height_in_inches = {11.694,9,10.,14,11,0.} [static]

double PageItem::_width_in_inches = {8.3,8.5,7.5,8.5,8.5,0.} [static]


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

Generated on Fri Jan 8 12:51:28 2010 for QSAS by  doxygen 1.5.7