All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <GridMaxFollower.h>
Public Member Functions | |
virtual void | addProperties (PropertyProxy *pp) |
GridMaxFollower (IrregularGrid2DPlot *grid, AxisType axis) | |
virtual bool | hasProperties () |
Brief description of class still missing.
Full description of class still missing
SciFigs::GridMaxFollower::GridMaxFollower | ( | IrregularGrid2DPlot * | grid, |
AxisType | axis | ||
) |
Description of constructor still missing
References SciFigs::Symbol::Circle, SciFigs::AbstractLine::setPen(), SciFigs::LineLayer::setReferenceLine(), SciFigs::AbstractLine::setSymbol(), and TRACE.
: LineLayer(grid->graph()) { TRACE; PlotLine2D * ref=new PlotLine2D; ref->setPen(Pen( Qt::black, 0.6) ); ref->setSymbol(Symbol( Symbol::Circle, 1.2, Pen(Qt::black, 0.0), Brush(Qt::black, Qt::SolidPattern) )); setReferenceLine(ref); _grid=grid; _axis=axis; }
void SciFigs::GridMaxFollower::addProperties | ( | PropertyProxy * | pp | ) | [virtual] |
Setup property editor
Reimplemented from SciFigs::LineLayer.
References SciFigs::LineLayerProperties::addLineAction(), QGpGuiTools::PropertyProxy::currentTabWidget(), QGpCoreTools::tr(), TRACE, and w.
{ TRACE; LineLayer::addProperties(pp); LineLayerProperties * w=static_cast<LineLayerProperties *>(pp->currentTabWidget()); QAction * a=w->addLineAction(tr("&Adjust"), tr("Adjust current line to the closest maximum")); connect(a, SIGNAL(triggered()), this, SLOT(adjustLine()) ); }
virtual bool SciFigs::GridMaxFollower::hasProperties | ( | ) | [inline, virtual] |
Reimplemented from SciFigs::LineLayer.
{return true;}