#include <DampingPlugin.h>
Public Member Functions | |
virtual ToolBase * | createTool (int id, QWidget *wsParent) const |
virtual void | createToolActions (QObject *toolFactory) |
virtual const char * | interfaceVersion () const |
virtual void | setHelp (ApplicationHelp *h) |
virtual QString | tag () const |
virtual QString | title () const |
ToolBase * DampingPlugin::createTool | ( | int | id, |
QWidget * | wsParent | ||
) | const [virtual] |
Implements GeopsyGui::GeopsyGuiInterface.
References TRACE.
{ TRACE; switch (id) { case 0: return new ToolDamping(wsParent); default: return 0; } }
void DampingPlugin::createToolActions | ( | QObject * | toolFactory | ) | [virtual] |
Implements GeopsyGui::GeopsyGuiInterface.
References GeopsyGui::GeopsyGuiInterface::addAction(), QGpCoreTools::tr(), and TRACE.
virtual const char* DampingPlugin::interfaceVersion | ( | ) | const [inline, virtual] |
Returns the geopsycore version of the plugin (at compile time)
Implements GeopsyCore::GeopsyCoreInterface.
{return GEOPSYCORE_VERSION;}
void DampingPlugin::setHelp | ( | ApplicationHelp * | h | ) | [virtual] |
Reimplemented from GeopsyGui::GeopsyGuiInterface.
References QGpCoreTools::ApplicationHelp::addGroup(), QGpCoreTools::ApplicationHelp::addOption(), tag(), QGpCoreTools::tr(), and TRACE.
virtual QString DampingPlugin::tag | ( | ) | const [inline, virtual] |
virtual QString DampingPlugin::title | ( | ) | const [inline, virtual] |
Implements GeopsyCore::GeopsyCoreInterface.
References QGpCoreTools::tr().
{return tr("Damping on a single station");}