gepetto-viewer 5.2.0
An user-friendly Graphical Interface
Loading...
Searching...
No Matches
QCustomPlotDecorator Class Reference

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-gepetto-viewer/work/gepetto-viewer-5.2.0/plugins/pyqcustomplot/decorator.hh>

Inheritance diagram for QCustomPlotDecorator:
Collaboration diagram for QCustomPlotDecorator:

Public Slots

QCustomPlot
QCustomPlotnew_QCustomPlot (QWidget *parent=0)
 
void delete_QCustomPlot (QCustomPlot *o)
 
void clearGraphs (QCustomPlot *o)
 
QCPGraphaddGraph (QCustomPlot *o)
 
void addPlottable (QCustomPlot *o, QCPAbstractPlottable *ap)
 
QCPGraphgraph (QCustomPlot *o, int graphnum)
 
void rescaleAxes (QCustomPlot *o, bool v=true)
 
void setInteraction (QCustomPlot *o, int interaction, bool enabled=true)
 
bool savePdf (QCustomPlot *o, const QString &fileName, bool noCosmeticPen=false, int width=0, int height=0, const QString &pdfCreator=QString(), const QString &pdfTitle=QString())
 
bool savePng (QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
 
bool saveJpg (QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
 
bool saveBmp (QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0)
 
bool saveRastered (QCustomPlot *o, const QString &fileName, int width, int height, double scale, const char *format, int quality=-1)
 
QCPAxisxAxis (QCustomPlot *o)
 
QCPAxisxAxis2 (QCustomPlot *o)
 
QCPAxisyAxis (QCustomPlot *o)
 
QCPAxisyAxis2 (QCustomPlot *o)
 
QCPLegendlegend (QCustomPlot *o)
 
QCPAxisRectaxisRect (QCustomPlot *o, int index=0)
 
QCPAxis
Todo
Most of this function should be removed as they duplicates the QProperty methods.
int selectedParts (const QCPAxis *a)
 
void setLabel (QCPAxis *a, const QString text)
 
void setRange (QCPAxis *a, double position, double size)
 
void setAutoTicks (QCPAxis *a, bool on)
 
void setAutoTickLabels (QCPAxis *a, bool on)
 
void setTickVector (QCPAxis *a, const QVector< double > &ticks)
 
void setTickVectorLabels (QCPAxis *a, const QVector< QString > &labels)
 
void setTickLength (QCPAxis *a, int inside, int outside)
 
void setSubTickLength (QCPAxis *a, int inside, int outside)
 
double pixelToCoord (QCPAxis *a, double pixel)
 
QCPGraph
QCPGraphnew_QCPGraph (QCPAxis *key, QCPAxis *value)
 
void delete_QCPGraph (QCPGraph *g)
 
void setData (QCPGraph *g, const QVector< double > &keys, const QVector< double > &values)
 
void addData (QCPGraph *g, const QVector< double > &keys, const QVector< double > &values)
 
void addData (QCPGraph *g, const double &key, const double &value)
 
void clearData (QCPGraph *o)
 
QCPCurve
QCPCurvenew_QCPCurve (QCPAxis *key, QCPAxis *value)
 
void delete_QCPCurve (QCPCurve *g)
 
void setData (QCPCurve *c, const QVector< double > &keys, const QVector< double > &values)
 
void addData (QCPCurve *c, const QVector< double > &ts, const QVector< double > &keys, const QVector< double > &values)
 
void clearData (QCPCurve *o)
 
QCPBars
QCPBarsnew_QCPBars (QCPAxis *key, QCPAxis *value)
 
void delete_QCPBars (QCPBars *g)
 
void setData (QCPBars *c, const QVector< double > &keys, const QVector< double > &values)
 
void addData (QCPBars *c, const QVector< double > &keys, const QVector< double > &values)
 
void clearData (QCPBars *o)
 
QCPAbstractPlottable
void rescaleAxes (QCPAbstractPlottable *ap, bool v=true)
 
QCPLayoutGrid
void insertRow (QCPLayoutGrid *lg, int row)
 
void insertColumn (QCPLayoutGrid *lg, int column)
 
void addElement (QCPLayoutGrid *lg, int row, int column, QCPLayoutElement *element)
 
QCPAxisRect
void setRangeZoomAxes (QCPAxisRect *ar, QCPAxis *horizontal, QCPAxis *vertical)
 
QCPItemPosition
void setType (QCPItemPosition *ip, int type)
 
bool setParentAnchor (QCPItemPosition *ip, QCPItemAnchor *a)
 
void setCoords (QCPItemPosition *ip, double k, double v)
 
QCPAbstractItem
QCPItemPositionposition (QCPAbstractItem *ai, QString p)
 
QCPItemAnchoranchor (QCPAbstractItem *ai, QString a)
 
QCPItemTracer
QCPItemTracernew_QCPItemTracer (QCustomPlot *parent)
 
void delete_QCPItemTracer (QCPItemTracer *it)
 
QCPItemRichText
QCPItemRichTextnew_QCPItemRichText (QCustomPlot *parent)
 
void delete_QCPItemRichText (QCPItemRichText *it)
 
QCPItemText
QCPItemTextnew_QCPItemText (QCustomPlot *parent)
 
void delete_QCPItemText (QCPItemText *it)
 
QCPItemEllipse
QCPItemEllipsenew_QCPItemEllipse (QCustomPlot *parent)
 
void delete_QCPItemEllipse (QCPItemEllipse *it)
 

Detailed Description

See also
See examples pyplugin/qcustomplot_example_1.py and pyplugin/qcustomplot_example_2.py

Member Function Documentation

◆ addData [1/4]

void QCustomPlotDecorator::addData ( QCPBars * c,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ addData [2/4]

void QCustomPlotDecorator::addData ( QCPCurve * c,
const QVector< double > & ts,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ addData [3/4]

void QCustomPlotDecorator::addData ( QCPGraph * g,
const double & key,
const double & value )
inlineslot

◆ addData [4/4]

void QCustomPlotDecorator::addData ( QCPGraph * g,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ addElement

void QCustomPlotDecorator::addElement ( QCPLayoutGrid * lg,
int row,
int column,
QCPLayoutElement * element )
inlineslot

◆ addGraph

QCPGraph * QCustomPlotDecorator::addGraph ( QCustomPlot * o)
inlineslot

◆ addPlottable

void QCustomPlotDecorator::addPlottable ( QCustomPlot * o,
QCPAbstractPlottable * ap )
inlineslot

◆ anchor

QCPItemAnchor * QCustomPlotDecorator::anchor ( QCPAbstractItem * ai,
QString a )
inlineslot

◆ axisRect

QCPAxisRect * QCustomPlotDecorator::axisRect ( QCustomPlot * o,
int index = 0 )
inlineslot

◆ clearData [1/3]

void QCustomPlotDecorator::clearData ( QCPBars * o)
inlineslot

◆ clearData [2/3]

void QCustomPlotDecorator::clearData ( QCPCurve * o)
inlineslot

◆ clearData [3/3]

void QCustomPlotDecorator::clearData ( QCPGraph * o)
inlineslot

◆ clearGraphs

void QCustomPlotDecorator::clearGraphs ( QCustomPlot * o)
inlineslot

◆ delete_QCPBars

void QCustomPlotDecorator::delete_QCPBars ( QCPBars * g)
inlineslot

◆ delete_QCPCurve

void QCustomPlotDecorator::delete_QCPCurve ( QCPCurve * g)
inlineslot

◆ delete_QCPGraph

void QCustomPlotDecorator::delete_QCPGraph ( QCPGraph * g)
inlineslot

◆ delete_QCPItemEllipse

void QCustomPlotDecorator::delete_QCPItemEllipse ( QCPItemEllipse * it)
inlineslot

◆ delete_QCPItemRichText

void QCustomPlotDecorator::delete_QCPItemRichText ( QCPItemRichText * it)
inlineslot

◆ delete_QCPItemText

void QCustomPlotDecorator::delete_QCPItemText ( QCPItemText * it)
inlineslot

◆ delete_QCPItemTracer

void QCustomPlotDecorator::delete_QCPItemTracer ( QCPItemTracer * it)
inlineslot

◆ delete_QCustomPlot

void QCustomPlotDecorator::delete_QCustomPlot ( QCustomPlot * o)
inlineslot

◆ graph

QCPGraph * QCustomPlotDecorator::graph ( QCustomPlot * o,
int graphnum )
inlineslot

◆ insertColumn

void QCustomPlotDecorator::insertColumn ( QCPLayoutGrid * lg,
int column )
inlineslot

◆ insertRow

void QCustomPlotDecorator::insertRow ( QCPLayoutGrid * lg,
int row )
inlineslot

◆ legend

QCPLegend * QCustomPlotDecorator::legend ( QCustomPlot * o)
inlineslot

◆ new_QCPBars

QCPBars * QCustomPlotDecorator::new_QCPBars ( QCPAxis * key,
QCPAxis * value )
inlineslot

◆ new_QCPCurve

QCPCurve * QCustomPlotDecorator::new_QCPCurve ( QCPAxis * key,
QCPAxis * value )
inlineslot

◆ new_QCPGraph

QCPGraph * QCustomPlotDecorator::new_QCPGraph ( QCPAxis * key,
QCPAxis * value )
inlineslot

◆ new_QCPItemEllipse

QCPItemEllipse * QCustomPlotDecorator::new_QCPItemEllipse ( QCustomPlot * parent)
inlineslot

◆ new_QCPItemRichText

QCPItemRichText * QCustomPlotDecorator::new_QCPItemRichText ( QCustomPlot * parent)
inlineslot

◆ new_QCPItemText

QCPItemText * QCustomPlotDecorator::new_QCPItemText ( QCustomPlot * parent)
inlineslot

◆ new_QCPItemTracer

QCPItemTracer * QCustomPlotDecorator::new_QCPItemTracer ( QCustomPlot * parent)
inlineslot

◆ new_QCustomPlot

QCustomPlot * QCustomPlotDecorator::new_QCustomPlot ( QWidget * parent = 0)
inlineslot

◆ pixelToCoord

double QCustomPlotDecorator::pixelToCoord ( QCPAxis * a,
double pixel )
inlineslot

◆ position

QCPItemPosition * QCustomPlotDecorator::position ( QCPAbstractItem * ai,
QString p )
inlineslot

◆ rescaleAxes [1/2]

void QCustomPlotDecorator::rescaleAxes ( QCPAbstractPlottable * ap,
bool v = true )
inlineslot

◆ rescaleAxes [2/2]

void QCustomPlotDecorator::rescaleAxes ( QCustomPlot * o,
bool v = true )
inlineslot

◆ saveBmp

bool QCustomPlotDecorator::saveBmp ( QCustomPlot * o,
const QString & fileName,
int width = 0,
int height = 0,
double scale = 1.0 )
inlineslot

◆ saveJpg

bool QCustomPlotDecorator::saveJpg ( QCustomPlot * o,
const QString & fileName,
int width = 0,
int height = 0,
double scale = 1.0,
int quality = -1 )
inlineslot

◆ savePdf

bool QCustomPlotDecorator::savePdf ( QCustomPlot * o,
const QString & fileName,
bool noCosmeticPen = false,
int width = 0,
int height = 0,
const QString & pdfCreator = QString(),
const QString & pdfTitle = QString() )
inlineslot

◆ savePng

bool QCustomPlotDecorator::savePng ( QCustomPlot * o,
const QString & fileName,
int width = 0,
int height = 0,
double scale = 1.0,
int quality = -1 )
inlineslot

◆ saveRastered

bool QCustomPlotDecorator::saveRastered ( QCustomPlot * o,
const QString & fileName,
int width,
int height,
double scale,
const char * format,
int quality = -1 )
inlineslot

◆ selectedParts

int QCustomPlotDecorator::selectedParts ( const QCPAxis * a)
inlineslot

◆ setAutoTickLabels

void QCustomPlotDecorator::setAutoTickLabels ( QCPAxis * a,
bool on )
inlineslot

◆ setAutoTicks

void QCustomPlotDecorator::setAutoTicks ( QCPAxis * a,
bool on )
inlineslot

◆ setCoords

void QCustomPlotDecorator::setCoords ( QCPItemPosition * ip,
double k,
double v )
inlineslot

◆ setData [1/3]

void QCustomPlotDecorator::setData ( QCPBars * c,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ setData [2/3]

void QCustomPlotDecorator::setData ( QCPCurve * c,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ setData [3/3]

void QCustomPlotDecorator::setData ( QCPGraph * g,
const QVector< double > & keys,
const QVector< double > & values )
inlineslot

◆ setInteraction

void QCustomPlotDecorator::setInteraction ( QCustomPlot * o,
int interaction,
bool enabled = true )
inlineslot
Parameters
interactionSee QCP::Interaction

◆ setLabel

void QCustomPlotDecorator::setLabel ( QCPAxis * a,
const QString text )
inlineslot

◆ setParentAnchor

bool QCustomPlotDecorator::setParentAnchor ( QCPItemPosition * ip,
QCPItemAnchor * a )
inlineslot

◆ setRange

void QCustomPlotDecorator::setRange ( QCPAxis * a,
double position,
double size )
inlineslot

◆ setRangeZoomAxes

void QCustomPlotDecorator::setRangeZoomAxes ( QCPAxisRect * ar,
QCPAxis * horizontal,
QCPAxis * vertical )
inlineslot

◆ setSubTickLength

void QCustomPlotDecorator::setSubTickLength ( QCPAxis * a,
int inside,
int outside )
inlineslot

◆ setTickLength

void QCustomPlotDecorator::setTickLength ( QCPAxis * a,
int inside,
int outside )
inlineslot

◆ setTickVector

void QCustomPlotDecorator::setTickVector ( QCPAxis * a,
const QVector< double > & ticks )
inlineslot

◆ setTickVectorLabels

void QCustomPlotDecorator::setTickVectorLabels ( QCPAxis * a,
const QVector< QString > & labels )
inlineslot

◆ setType

void QCustomPlotDecorator::setType ( QCPItemPosition * ip,
int type )
inlineslot

◆ xAxis

QCPAxis * QCustomPlotDecorator::xAxis ( QCustomPlot * o)
inlineslot

◆ xAxis2

QCPAxis * QCustomPlotDecorator::xAxis2 ( QCustomPlot * o)
inlineslot

◆ yAxis

QCPAxis * QCustomPlotDecorator::yAxis ( QCustomPlot * o)
inlineslot

◆ yAxis2

QCPAxis * QCustomPlotDecorator::yAxis2 ( QCustomPlot * o)
inlineslot

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