Public Member Functions
NRPlugin Class Reference

Brief description of class still missing. More...

#include <NRPlugin.h>

Inheritance diagram for NRPlugin:
GeopsyGui::GeopsyGuiInterface GeopsyCore::GeopsyCoreInterface

List of all members.

Public Member Functions

virtual ToolBasecreateTool (int id, QWidget *wsParent) const
virtual void createToolActions (QObject *toolFactory)
virtual const char * interfaceVersion () const
virtual QString tag () const
virtual QString title () const

Detailed Description

Brief description of class still missing.

Full description of class still missing


Member Function Documentation

ToolBase * NRPlugin::createTool ( int  id,
QWidget *  wsParent 
) const [virtual]

Implements GeopsyGui::GeopsyGuiInterface.

References TRACE.

{
  TRACE;
  switch (id) {
  case 0:
    return new ToolNR(wsParent);
  default:
    return 0;
  }
}
void NRPlugin::createToolActions ( QObject *  toolFactory) [virtual]

Implements GeopsyGui::GeopsyGuiInterface.

References GeopsyGui::GeopsyGuiInterface::addAction(), QGpCoreTools::tr(), and TRACE.

{
  TRACE;
  QAction * a;

  a=new QAction(toolFactory);
  a->setText(tr("Noise reduction"));
  a->setIcon(QIcon(":/images/nr-22x22.png"));
  connect(a, SIGNAL(triggered()), toolFactory, SLOT(showTool()) );
  addAction(a);
}
virtual const char* NRPlugin::interfaceVersion ( ) const [inline, virtual]

Returns the geopsycore version of the plugin (at compile time)

Implements GeopsyCore::GeopsyCoreInterface.

{return GEOPSYCORE_VERSION;}
virtual QString NRPlugin::tag ( ) const [inline, virtual]

Implements GeopsyCore::GeopsyCoreInterface.

{return "geopsynr";}
virtual QString NRPlugin::title ( ) const [inline, virtual]

Implements GeopsyCore::GeopsyCoreInterface.

References QGpCoreTools::tr().

{return tr("Noise reduction for refraction");}

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