PLplot
5.10.0
|
#include "qt.h"
Public Member Functions | |
QtPLWidget (int i_iWidth=QT_DEFAULT_X, int i_iHeight=QT_DEFAULT_Y, QWidget *parent=0) | |
virtual | ~QtPLWidget () |
void | clearWidget () |
void | clearBuffer () |
void | drawArc (short x, short y, short width, short height, PLFLT angle1, PLFLT angle2, PLFLT rotate, bool fill) |
void | drawLine (short x1, short y1, short x2, short y2) |
void | drawPolyline (short *x, short *y, PLINT npts) |
void | drawPolygon (short *x, short *y, PLINT npts) |
void | setColor (int r, int g, int b, double alpha) |
void | setBackgroundColor (int r, int g, int b, double alpha) |
void | setGradient (int x1, int x2, int y1, int y2, unsigned char *r, unsigned char *g, unsigned char *b, PLFLT *alpha, PLINT ncol1) |
void | setWidthF (PLFLT r) |
void | drawText (EscText *txt) |
void | flush () |
void | getCursorCmd (PLGraphicsIn *ptr) |
Public Attributes | |
int | pageNumber |
int | r |
int | g |
int | b |
double | alpha |
Protected Slots | |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | closeEvent (QCloseEvent *event) |
void | nextPage () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *) |
void | paintEvent (QPaintEvent *) |
void | mouseEvent (QMouseEvent *event) |
void | getPlotParameters (double &io_dXFact, double &io_dYFact, double &io_dXOffset, double &io_dYOffset) |
void | doPlot (QPainter *p, double x_fact, double y_fact, double x_offset, double y_offset) |
void | renderText (QPainter *p, struct TextStruct_ *s, double x_fact, double x_offset, double y_fact, double y_offset) |
void | lookupButtonEvent (QMouseEvent *event) |
void | locate () |
void | resetPensAndBrushes (QPainter *) |
Protected Attributes | |
double | m_dAspectRatio |
QPixmap * | m_pixPixmap |
QLinkedList< BufferElement > | m_listBuffer |
bool | redrawFromLastFlush |
bool | redrawAll |
QPen | SolidPen |
QPen | NoPen |
bool | hasPen |
QBrush | SolidBrush |
QLinkedList< BufferElement > ::const_iterator | start_iterator |
struct { | |
int r | |
int g | |
int b | |
double alpha | |
} | lastColour |
struct { | |
int r | |
int g | |
int b | |
double alpha | |
} | bgColour |
PLGraphicsIn | gin |
int | locate_mode |
QtPLWidget::QtPLWidget | ( | int | i_iWidth = QT_DEFAULT_X , |
int | i_iHeight = QT_DEFAULT_Y , |
||
QWidget * | parent = 0 |
||
) |
virtual QtPLWidget::~QtPLWidget | ( | ) | [virtual] |
void QtPLWidget::closeEvent | ( | QCloseEvent * | event | ) | [protected, slot] |
Reimplemented in sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::doPlot | ( | QPainter * | p, |
double | x_fact, | ||
double | y_fact, | ||
double | x_offset, | ||
double | y_offset | ||
) | [protected] |
void QtPLWidget::drawArc | ( | short | x, |
short | y, | ||
short | width, | ||
short | height, | ||
PLFLT | angle1, | ||
PLFLT | angle2, | ||
PLFLT | rotate, | ||
bool | fill | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::drawLine | ( | short | x1, |
short | y1, | ||
short | x2, | ||
short | y2 | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::drawPolygon | ( | short * | x, |
short * | y, | ||
PLINT | npts | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::drawPolyline | ( | short * | x, |
short * | y, | ||
PLINT | npts | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::drawText | ( | EscText * | txt | ) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::getCursorCmd | ( | PLGraphicsIn * | ptr | ) |
void QtPLWidget::getPlotParameters | ( | double & | io_dXFact, |
double & | io_dYFact, | ||
double & | io_dXOffset, | ||
double & | io_dYOffset | ||
) | [protected] |
void QtPLWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, slot] |
Reimplemented in sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::locate | ( | ) | [protected] |
void QtPLWidget::lookupButtonEvent | ( | QMouseEvent * | event | ) | [protected] |
void QtPLWidget::mouseEvent | ( | QMouseEvent * | event | ) | [protected] |
void QtPLWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, slot] |
Reimplemented in QtExtWidget, sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, slot] |
Reimplemented in QtExtWidget, sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, slot] |
Reimplemented in QtExtWidget, sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::nextPage | ( | ) | [protected, slot] |
void QtPLWidget::paintEvent | ( | QPaintEvent * | ) | [protected] |
Reimplemented in QtExtWidget, sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::renderText | ( | QPainter * | p, |
struct TextStruct_ * | s, | ||
double | x_fact, | ||
double | x_offset, | ||
double | y_fact, | ||
double | y_offset | ||
) | [protected] |
void QtPLWidget::resetPensAndBrushes | ( | QPainter * | ) | [protected] |
void QtPLWidget::resizeEvent | ( | QResizeEvent * | ) | [protected] |
Reimplemented in sipQtPLWidget, and sipQtExtWidget.
void QtPLWidget::setBackgroundColor | ( | int | r, |
int | g, | ||
int | b, | ||
double | alpha | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::setColor | ( | int | r, |
int | g, | ||
int | b, | ||
double | alpha | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::setGradient | ( | int | x1, |
int | x2, | ||
int | y1, | ||
int | y2, | ||
unsigned char * | r, | ||
unsigned char * | g, | ||
unsigned char * | b, | ||
PLFLT * | alpha, | ||
PLINT | ncol1 | ||
) | [virtual] |
Reimplemented from QtPLDriver.
void QtPLWidget::setWidthF | ( | PLFLT | r | ) | [virtual] |
Reimplemented from QtPLDriver.
double QtPLWidget::alpha |
int QtPLWidget::b |
struct { ... } QtPLWidget::bgColour [protected] |
int QtPLWidget::g |
PLGraphicsIn QtPLWidget::gin [protected] |
bool QtPLWidget::hasPen [protected] |
struct { ... } QtPLWidget::lastColour [protected] |
int QtPLWidget::locate_mode [protected] |
double QtPLWidget::m_dAspectRatio [protected] |
QLinkedList<BufferElement> QtPLWidget::m_listBuffer [protected] |
QPixmap* QtPLWidget::m_pixPixmap [protected] |
QPen QtPLWidget::NoPen [protected] |
int QtPLWidget::r |
bool QtPLWidget::redrawAll [protected] |
bool QtPLWidget::redrawFromLastFlush [protected] |
QBrush QtPLWidget::SolidBrush [protected] |
QPen QtPLWidget::SolidPen [protected] |
QLinkedList<BufferElement>::const_iterator QtPLWidget::start_iterator [protected] |