| SciDAVis
    1.D4
    | 
Error bars curve. More...
#include <QwtErrorPlotCurve.h>
 
  
 | Public Types | |
| enum | Orientation { Horizontal = 0, Vertical = 1 } | 
| Public Member Functions | |
| QwtDoubleRect | boundingRect () const | 
| int | capLength () | 
| QColor | color () | 
| void | copy (const QwtErrorPlotCurve *e) | 
| void | detachFromMasterCurve () | 
| Causes the master curve to delete this curve from its managed error bars list. | |
| int | direction () | 
| void | drawMinusSide (bool yes) | 
| void | drawPlusSide (bool yes) | 
| void | drawThroughSymbol (bool yes) | 
| QwtArray< double > | errors () | 
| double | errorValue (int i) | 
| virtual bool | loadData () | 
| DataCurve * | masterCurve () | 
| Returns the master curve to which this error bars curve is attached. | |
| bool | minusSide () | 
| QString | plotAssociation () | 
| A list of data sources for this curve. | |
| bool | plusSide () | 
| QwtErrorPlotCurve (int orientation, Table *t, const char *name) | |
| QwtErrorPlotCurve (Table *t, const char *name) | |
| void | setCapLength (int t) | 
| void | setColor (const QColor &c) | 
| void | setDirection (int o) | 
| void | setErrors (const QwtArray< double > &data) | 
| void | setMasterCurve (DataCurve *c) | 
| void | setWidth (int w) | 
| void | setXErrors (bool yes) | 
| bool | throughSymbol () | 
| bool | updateData (Table *t, const QString &colName) | 
| int | width () | 
| bool | xErrors () | 
|  Public Member Functions inherited from DataCurve | |
| void | addErrorBars (DataCurve *c) | 
| Adds a single error bars curve to the list of attached error bars. | |
| void | clearErrorBars () | 
| Clears the list of attached error bars. | |
| QList< QVector< double > > | convertData (const QList< Column * > &cols, const QList< int > &axes) const | 
| DataCurve (Table *t, const QString &xColName, const QString &name, int startRow=0, int endRow=-1) | |
| int | endRow () | 
| QList< DataCurve * > | errorBarsList () | 
| The list of attached error bars. | |
| bool | hasSelectedLabels () | 
| bool | isFullRange () | 
| void | remove () | 
| void | removeErrorBars (DataCurve *c) | 
| Remove a single error bars curve from the list of attached error bars. | |
| void | setFullRange () | 
| void | setLabelsSelected (bool on=true) | 
| void | setRowRange (int startRow, int endRow) | 
| void | setVisible (bool on) | 
| void | setXColumnName (const QString &name) | 
| void | setYColumnName (const QString &name) | 
| int | startRow () | 
| Table * | table () | 
| int | tableRow (int point) | 
| Returns the row index in the data source table corresponding to the data point index. | |
| virtual void | updateColumnNames (const QString &oldName, const QString &newName, bool updateTableName) | 
| QString | xColumnName () | 
| QString | yColumnName () | 
|  Public Member Functions inherited from PlotCurve | |
| PlotCurve (const QString &name=QString::null) | |
| void | setType (int t) | 
| int | type () const | 
| Private Member Functions | |
| virtual void | draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const | 
| void | drawErrorBars (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const | 
| Private Attributes | |
| int | cap | 
| Length of the bar cap decoration. | |
| DataCurve * | d_master_curve | 
| Reference to the master curve to which this error bars curve is attached. | |
| QwtArray< double > | err | 
| Stores the error bar values. | |
| bool | minus | 
| bool | plus | 
| bool | through | 
| int | type | 
| Orientation of the bars: Horizontal or Vertical. | |
| Additional Inherited Members | |
|  Protected Attributes inherited from DataCurve | |
| int | d_end_row | 
| Last row of #d_tabel to be plotted, provided all relevant columns have valid entries. | |
| QList< DataCurve * > | d_error_bars | 
| List of the error bar curves associated to this curve. | |
| int | d_start_row | 
| First row of #d_tabel to be plotted, provided all relevant columns have valid entries. | |
| Table * | d_table | 
| The data source table. | |
| QString | d_x_column | 
| The name of the column used for abscissae values. | |
|  Protected Attributes inherited from PlotCurve | |
| int | d_type | 
Error bars curve.
| QwtErrorPlotCurve::QwtErrorPlotCurve | ( | int | orientation, | 
| Table * | t, | ||
| const char * | name | ||
| ) | 
References cap, Graph::ErrorBars, minus, plus, PlotCurve::setType(), through, and PlotCurve::type().
| QwtErrorPlotCurve::QwtErrorPlotCurve | ( | Table * | t, | 
| const char * | name | ||
| ) | 
References cap, Graph::ErrorBars, minus, plus, PlotCurve::setType(), through, PlotCurve::type(), and Vertical.
| QwtDoubleRect QwtErrorPlotCurve::boundingRect | ( | ) | const | 
Reimplemented from PlotCurve.
References err, PlotCurve::type(), and Vertical.
| 
 | inline | 
References cap.
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| 
 | inline | 
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| void QwtErrorPlotCurve::copy | ( | const QwtErrorPlotCurve * | e | ) | 
References cap, err, minus, plus, through, PlotCurve::type(), and type.
Referenced by Graph::copy().
| 
 | inline | 
Causes the master curve to delete this curve from its managed error bars list.
References d_master_curve, and DataCurve::removeErrorBars().
| 
 | inline | 
References PlotCurve::type().
Referenced by Graph::saveCurves().
| 
 | privatevirtual | 
References drawErrorBars().
| 
 | private | 
References cap, d_master_curve, err, Horizontal, Graph::HorizontalBars, minus, plus, through, PlotCurve::type(), Vertical, and Graph::VerticalBars.
Referenced by draw().
| 
 | inline | 
References minus.
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| 
 | inline | 
References plus.
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| 
 | inline | 
References through.
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| 
 | inline | 
References err.
| double QwtErrorPlotCurve::errorValue | ( | int | i | ) | 
References err.
Referenced by Fit::setYErrorSource().
| 
 | virtual | 
Reimplemented from DataCurve.
References Table::column(), DataCurve::convertData(), d_master_curve, DataCurve::d_table, err, Horizontal, Graph::HorizontalBars, setErrors(), DataCurve::table(), PlotCurve::type(), and DataCurve::xColumnName().
Referenced by AssociationsDialog::changePlotAssociation(), setMasterCurve(), and updateData().
| 
 | inline | 
Returns the master curve to which this error bars curve is attached.
References d_master_curve.
Referenced by AssociationsDialog::changePlotAssociation(), Graph::guessUniqueCurveLayout(), Graph::masterCurve(), and Graph::saveCurves().
| 
 | inline | 
References minus.
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| 
 | virtual | 
A list of data sources for this curve.
Elements must be in either of the following forms:
Column ids are of the form '<name of table> "_" <name of column>'.
Reimplemented from DataCurve.
References d_master_curve, Horizontal, PlotCurve::type(), and DataCurve::xColumnName().
| 
 | inline | 
References plus.
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| 
 | inline | 
References cap.
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| void QwtErrorPlotCurve::setColor | ( | const QColor & | c | ) | 
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| 
 | inline | 
References PlotCurve::type().
Referenced by AssociationsDialog::changePlotAssociation().
| 
 | inline | 
References err.
Referenced by loadData().
| void QwtErrorPlotCurve::setMasterCurve | ( | DataCurve * | c | ) | 
References DataCurve::addErrorBars(), DataCurve::d_end_row, d_master_curve, DataCurve::d_start_row, DataCurve::endRow(), loadData(), and DataCurve::startRow().
Referenced by Graph::addErrorBars(), and AssociationsDialog::changePlotAssociation().
| void QwtErrorPlotCurve::setWidth | ( | int | w | ) | 
Referenced by Graph::addErrorBars(), and Graph::updateErrorBars().
| void QwtErrorPlotCurve::setXErrors | ( | bool | yes | ) | 
References Horizontal, PlotCurve::type(), and Vertical.
Referenced by Graph::updateErrorBars().
| 
 | inline | 
References through.
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| 
 | virtual | 
Reimplemented from DataCurve.
References DataCurve::d_table, and loadData().
| 
 | inline | 
Referenced by Graph::saveCurves(), PlotDialog::setActiveCurve(), and Graph::updateErrorBars().
| bool QwtErrorPlotCurve::xErrors | ( | ) | 
References Horizontal, and PlotCurve::type().
Referenced by PlotDialog::setActiveCurve(), Fit::setYErrorSource(), and Graph::updateErrorBars().
| 
 | private | 
Length of the bar cap decoration.
Referenced by capLength(), copy(), drawErrorBars(), QwtErrorPlotCurve(), and setCapLength().
| 
 | private | 
Reference to the master curve to which this error bars curve is attached.
Referenced by detachFromMasterCurve(), drawErrorBars(), loadData(), masterCurve(), plotAssociation(), and setMasterCurve().
| 
 | private | 
Stores the error bar values.
Referenced by boundingRect(), copy(), drawErrorBars(), errors(), errorValue(), loadData(), and setErrors().
| 
 | private | 
Referenced by copy(), drawErrorBars(), drawMinusSide(), minusSide(), and QwtErrorPlotCurve().
| 
 | private | 
Referenced by copy(), drawErrorBars(), drawPlusSide(), plusSide(), and QwtErrorPlotCurve().
| 
 | private | 
Referenced by copy(), drawErrorBars(), drawThroughSymbol(), QwtErrorPlotCurve(), and throughSymbol().
| 
 | private | 
Orientation of the bars: Horizontal or Vertical.
Referenced by copy().
 1.8.1
 1.8.1