#include <qpui.h>
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 |
PlotWindow * | newWindow (double width, double height, int *id, int resolution=72, QPrinter::PageSize pageSize=QPrinter::A4, QPrinter::Orientation orientation=QPrinter::Portrait) |
PlotWindow * | focusWindow (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 () |
RootItem * | root () |
virtual QDomElement | toXMLElement (QDomDocument &) const |
void | fromXMLElement (QDomElement &) |
Public Attributes | |
int | _print_id |
double | _conversion_factors [5] |
QpValueReturnTab * | ValueReturnTab |
QpPageTab * | PageTab |
QpLayoutTab * | LayoutTab |
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 |
Vostream & | operator<< (Vostream &, PageItem &) |
Vistream & | operator>> (Vistream &, PageItem &) |
PageItem::PageItem | ( | const QString & | name = "" , |
|
QpuiItem * | parent = NULL , |
|||
int | position = -1 | |||
) |
PageItem::~PageItem | ( | ) | [virtual] |
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.
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 | ( | ) |
double PageItem::_conversion_factors[5] |
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] |
QList<PlotWindow*> PageItem::PlotWindows |