All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
SciFigs::GridMaxFollower Class Reference

Brief description of class still missing. More...

#include <GridMaxFollower.h>

Inheritance diagram for SciFigs::GridMaxFollower:
SciFigs::LineLayer SciFigs::GraphContentLayer QGpGuiTools::PropertyItem QGpCoreTools::XMLClass

List of all members.

Public Member Functions

virtual void addProperties (PropertyProxy *pp)
 GridMaxFollower (IrregularGrid2DPlot *grid, AxisType axis)
virtual bool hasProperties ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

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;
}

Member Function Documentation

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;}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines