Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
PlotMatrix Class Reference

#include <plotmatrix.h>

List of all members.

Public Slots

void maximumZoomOut ()
void maximumZoomOutHorizontal ()
void maximumZoomOutVertical ()

Signals

void plotAdded (PlotWidget *)
void undoableChange ()

Public Member Functions

void addColumn ()
void addRow ()
unsigned colsCount () const
QGridLayout * gridLayout ()
bool isColumnEmpty (unsigned row) const
bool isRowEmpty (unsigned row) const
const QString & name () const
PlotWidgetplotAt (unsigned row, unsigned column)
const PlotWidgetplotAt (unsigned row, unsigned column) const
PlotWidgetplotAt (unsigned index)
const PlotWidgetplotAt (unsigned index) const
unsigned plotCount () const
 PlotMatrix (QString name, PlotDataMap &datamap, QWidget *parent=NULL)
void removeColumn (unsigned column_to_delete)
void removeEmpty ()
void removeRow (unsigned row_to_delete)
void replot ()
unsigned rowsCount () const
void setAxisScale (QwtPlot::Axis axisId, unsigned row, unsigned col, double min, double max, double step=0)
void setHorizontalLink (bool linked)
void setName (const QString &new_name)
void updateLayout ()
bool xmlLoadState (QDomElement &plotmatrix_element)
QDomElement xmlSaveState (QDomDocument &doc) const
virtual ~PlotMatrix ()

Private Slots

void on_singlePlotScaleChanged (PlotWidget *modified_plot, QRectF range)

Private Member Functions

PlotWidgetaddPlotWidget (unsigned row, unsigned col)
void alignAxes (unsigned rowOrColumn, QwtPlot::Axis axisId)
void alignScaleBorder (unsigned rowOrColumn, QwtPlot::Axis axisId)
void swapPlots (unsigned rowA, unsigned colA, unsigned rowB, unsigned colB)

Private Attributes

bool _horizontal_link
QGridLayout * _layout
PlotDataMap_mapped_data
QString _name
unsigned _num_cols
unsigned _num_rows

Detailed Description

Definition at line 9 of file plotmatrix.h.


Constructor & Destructor Documentation

PlotMatrix::PlotMatrix ( QString  name,
PlotDataMap datamap,
QWidget *  parent = NULL 
)

Definition at line 12 of file plotmatrix.cpp.

PlotMatrix::~PlotMatrix ( ) [virtual]

Definition at line 149 of file plotmatrix.cpp.


Member Function Documentation

Definition at line 63 of file plotmatrix.cpp.

PlotWidget * PlotMatrix::addPlotWidget ( unsigned  row,
unsigned  col 
) [private]

Definition at line 25 of file plotmatrix.cpp.

Definition at line 45 of file plotmatrix.cpp.

void PlotMatrix::alignAxes ( unsigned  rowOrColumn,
QwtPlot::Axis  axisId 
) [private]

Definition at line 406 of file plotmatrix.cpp.

void PlotMatrix::alignScaleBorder ( unsigned  rowOrColumn,
QwtPlot::Axis  axisId 
) [private]

Definition at line 440 of file plotmatrix.cpp.

unsigned PlotMatrix::colsCount ( ) const

Definition at line 156 of file plotmatrix.cpp.

QGridLayout * PlotMatrix::gridLayout ( )

Definition at line 339 of file plotmatrix.cpp.

bool PlotMatrix::isColumnEmpty ( unsigned  row) const

Definition at line 166 of file plotmatrix.cpp.

bool PlotMatrix::isRowEmpty ( unsigned  row) const

Definition at line 178 of file plotmatrix.cpp.

void PlotMatrix::maximumZoomOut ( ) [slot]

Definition at line 370 of file plotmatrix.cpp.

Definition at line 344 of file plotmatrix.cpp.

Definition at line 357 of file plotmatrix.cpp.

const QString & PlotMatrix::name ( ) const

Definition at line 334 of file plotmatrix.cpp.

void PlotMatrix::on_singlePlotScaleChanged ( PlotWidget modified_plot,
QRectF  range 
) [private, slot]

Definition at line 384 of file plotmatrix.cpp.

void PlotMatrix::plotAdded ( PlotWidget ) [signal]
PlotWidget * PlotMatrix::plotAt ( unsigned  row,
unsigned  column 
)

Definition at line 191 of file plotmatrix.cpp.

const PlotWidget * PlotMatrix::plotAt ( unsigned  row,
unsigned  column 
) const

Definition at line 201 of file plotmatrix.cpp.

PlotWidget * PlotMatrix::plotAt ( unsigned  index)

Definition at line 211 of file plotmatrix.cpp.

const PlotWidget * PlotMatrix::plotAt ( unsigned  index) const

Definition at line 216 of file plotmatrix.cpp.

unsigned PlotMatrix::plotCount ( ) const

Definition at line 161 of file plotmatrix.cpp.

void PlotMatrix::removeColumn ( unsigned  column_to_delete)

Definition at line 94 of file plotmatrix.cpp.

void PlotMatrix::removeRow ( unsigned  row_to_delete)

Definition at line 122 of file plotmatrix.cpp.

Definition at line 313 of file plotmatrix.cpp.

unsigned PlotMatrix::rowsCount ( ) const

Definition at line 151 of file plotmatrix.cpp.

void PlotMatrix::setAxisScale ( QwtPlot::Axis  axisId,
unsigned  row,
unsigned  col,
double  min,
double  max,
double  step = 0 
)

Definition at line 222 of file plotmatrix.cpp.

void PlotMatrix::setHorizontalLink ( bool  linked)

Definition at line 323 of file plotmatrix.cpp.

void PlotMatrix::setName ( const QString &  new_name)

Definition at line 329 of file plotmatrix.cpp.

void PlotMatrix::swapPlots ( unsigned  rowA,
unsigned  colA,
unsigned  rowB,
unsigned  colB 
) [private]

Definition at line 81 of file plotmatrix.cpp.

void PlotMatrix::undoableChange ( ) [signal]

Definition at line 298 of file plotmatrix.cpp.

bool PlotMatrix::xmlLoadState ( QDomElement &  plotmatrix_element)

Definition at line 256 of file plotmatrix.cpp.

QDomElement PlotMatrix::xmlSaveState ( QDomDocument &  doc) const

Definition at line 233 of file plotmatrix.cpp.


Member Data Documentation

Definition at line 77 of file plotmatrix.h.

QGridLayout* PlotMatrix::_layout [private]

Definition at line 74 of file plotmatrix.h.

Definition at line 79 of file plotmatrix.h.

QString PlotMatrix::_name [private]

Definition at line 82 of file plotmatrix.h.

unsigned PlotMatrix::_num_cols [private]

Definition at line 76 of file plotmatrix.h.

unsigned PlotMatrix::_num_rows [private]

Definition at line 75 of file plotmatrix.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:57