CurveTreeItem tree widget item class. More...
#include <PlotDialog.h>
Public Types | |
enum | { PlotCurveTreeItem = 1002 } |
Public Member Functions | |
CurveTreeItem (QwtPlotItem *curve, LayerItem *parent, const QString &s) | |
Graph * | graph () |
const QwtPlotItem * | plotItem () |
int | plotItemIndex () |
int | plotItemType () |
void | setActive (bool on) |
Protected Attributes | |
QwtPlotItem * | d_curve |
CurveTreeItem tree widget item class.
CurveTreeItem::CurveTreeItem | ( | QwtPlotItem * | curve, | |
LayerItem * | parent, | |||
const QString & | s | |||
) |
References graph_disabled_xpm.
Graph* CurveTreeItem::graph | ( | ) | [inline] |
const QwtPlotItem* CurveTreeItem::plotItem | ( | ) | [inline] |
int CurveTreeItem::plotItemIndex | ( | ) |
References Graph::curvesList(), d_curve, and graph().
Referenced by PlotDialog::acceptParams(), PlotDialog::changePlotType(), PlotDialog::editCurve(), PlotDialog::removeSelectedCurve(), and PlotDialog::showWorksheet().
int CurveTreeItem::plotItemType | ( | ) |
References Graph::ColorMap, and d_curve.
Referenced by PlotDialog::changePlotType(), PlotDialog::setActiveCurve(), PlotDialog::setPlotType(), and PlotDialog::updateTabWindow().
void CurveTreeItem::setActive | ( | bool | on | ) |
References graph_disabled_xpm, and graph_enabled_xpm.
Referenced by PlotDialog::setActiveCurve().
QwtPlotItem* CurveTreeItem::d_curve [protected] |
Referenced by plotItem(), plotItemIndex(), and plotItemType().