Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
PlotMatrix Class Reference

#include <plotmatrix.h>

Inheritance diagram for PlotMatrix:
Inheritance graph
[legend]

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, PlotDataMapRef &datamap, QWidget *parent=nullptr)
 
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_legendSizeChanged (int point_size)
 
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
 
int _legend_point_size
 
PlotDataMapRef_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,
PlotDataMapRef datamap,
QWidget *  parent = nullptr 
)

Definition at line 13 of file plotmatrix.cpp.

PlotMatrix::~PlotMatrix ( )
virtual

Definition at line 181 of file plotmatrix.cpp.

Member Function Documentation

void PlotMatrix::addColumn ( )

Definition at line 72 of file plotmatrix.cpp.

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

Definition at line 29 of file plotmatrix.cpp.

void PlotMatrix::addRow ( )

Definition at line 54 of file plotmatrix.cpp.

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

Definition at line 451 of file plotmatrix.cpp.

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

Definition at line 485 of file plotmatrix.cpp.

unsigned PlotMatrix::colsCount ( ) const

Definition at line 188 of file plotmatrix.cpp.

QGridLayout * PlotMatrix::gridLayout ( )

Definition at line 369 of file plotmatrix.cpp.

bool PlotMatrix::isColumnEmpty ( unsigned  row) const

Definition at line 198 of file plotmatrix.cpp.

bool PlotMatrix::isRowEmpty ( unsigned  row) const

Definition at line 210 of file plotmatrix.cpp.

void PlotMatrix::maximumZoomOut ( )
slot

Definition at line 400 of file plotmatrix.cpp.

void PlotMatrix::maximumZoomOutHorizontal ( )
slot

Definition at line 374 of file plotmatrix.cpp.

void PlotMatrix::maximumZoomOutVertical ( )
slot

Definition at line 387 of file plotmatrix.cpp.

const QString & PlotMatrix::name ( ) const

Definition at line 364 of file plotmatrix.cpp.

void PlotMatrix::on_legendSizeChanged ( int  point_size)
privateslot

Definition at line 437 of file plotmatrix.cpp.

void PlotMatrix::on_singlePlotScaleChanged ( PlotWidget modified_plot,
QRectF  range 
)
privateslot

Definition at line 414 of file plotmatrix.cpp.

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

Definition at line 223 of file plotmatrix.cpp.

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

Definition at line 233 of file plotmatrix.cpp.

PlotWidget * PlotMatrix::plotAt ( unsigned  index)

Definition at line 243 of file plotmatrix.cpp.

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

Definition at line 248 of file plotmatrix.cpp.

unsigned PlotMatrix::plotCount ( ) const

Definition at line 193 of file plotmatrix.cpp.

void PlotMatrix::removeColumn ( unsigned  column_to_delete)

Definition at line 103 of file plotmatrix.cpp.

void PlotMatrix::removeEmpty ( )

Definition at line 157 of file plotmatrix.cpp.

void PlotMatrix::removeRow ( unsigned  row_to_delete)

Definition at line 131 of file plotmatrix.cpp.

void PlotMatrix::replot ( )

Definition at line 343 of file plotmatrix.cpp.

unsigned PlotMatrix::rowsCount ( ) const

Definition at line 183 of file plotmatrix.cpp.

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

Definition at line 254 of file plotmatrix.cpp.

void PlotMatrix::setHorizontalLink ( bool  linked)

Definition at line 353 of file plotmatrix.cpp.

void PlotMatrix::setName ( const QString &  new_name)

Definition at line 359 of file plotmatrix.cpp.

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

Definition at line 90 of file plotmatrix.cpp.

void PlotMatrix::undoableChange ( )
signal
void PlotMatrix::updateLayout ( )

Definition at line 328 of file plotmatrix.cpp.

bool PlotMatrix::xmlLoadState ( QDomElement &  plotmatrix_element)

Definition at line 288 of file plotmatrix.cpp.

QDomElement PlotMatrix::xmlSaveState ( QDomDocument &  doc) const

Definition at line 265 of file plotmatrix.cpp.

Member Data Documentation

bool PlotMatrix::_horizontal_link
private

Definition at line 79 of file plotmatrix.h.

QGridLayout* PlotMatrix::_layout
private

Definition at line 76 of file plotmatrix.h.

int PlotMatrix::_legend_point_size
private

Definition at line 84 of file plotmatrix.h.

PlotDataMapRef& PlotMatrix::_mapped_data
private

Definition at line 81 of file plotmatrix.h.

QString PlotMatrix::_name
private

Definition at line 83 of file plotmatrix.h.

unsigned PlotMatrix::_num_cols
private

Definition at line 78 of file plotmatrix.h.

unsigned PlotMatrix::_num_rows
private

Definition at line 77 of file plotmatrix.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18