#include <PtMotionPlugin.h>
Public Member Functions | |
virtual ToolBase * | createTool (int id, QWidget *wsParent) const |
virtual void | createToolActions (QObject *toolFactory) |
virtual const char * | interfaceVersion () const |
virtual QString | tag () const |
virtual QString | title () const |
ToolBase * PtMotionPlugin::createTool | ( | int | id, |
QWidget * | wsParent | ||
) | const [virtual] |
Implements GeopsyGui::GeopsyGuiInterface.
References TRACE.
{ TRACE; switch (id) { case 0: return new ToolPtMotion(wsParent); default: return 0; } }
void PtMotionPlugin::createToolActions | ( | QObject * | toolFactory | ) | [virtual] |
Implements GeopsyGui::GeopsyGuiInterface.
References GeopsyGui::GeopsyGuiInterface::addAction(), QGpCoreTools::tr(), and TRACE.
virtual const char* PtMotionPlugin::interfaceVersion | ( | ) | const [inline, virtual] |
Returns the geopsycore version of the plugin (at compile time)
Implements GeopsyCore::GeopsyCoreInterface.
{return GEOPSYCORE_VERSION;}
virtual QString PtMotionPlugin::tag | ( | ) | const [inline, virtual] |
Implements GeopsyCore::GeopsyCoreInterface.
{return "geopsyptmotion";}
virtual QString PtMotionPlugin::title | ( | ) | const [inline, virtual] |
Implements GeopsyCore::GeopsyCoreInterface.
References QGpCoreTools::tr().
{return tr("Particle motion");}