All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Protected Member Functions
GeopsyGui::GeopsyGuiInterface Class Reference

Abstract interface for GUI Geopsy plugins. More...

#include <GeopsyGuiInterface.h>

Inheritance diagram for GeopsyGui::GeopsyGuiInterface:
GeopsyCore::GeopsyCoreInterface ArrayPlugin DampingPlugin HVPlugin NRPlugin PtMotionPlugin RefraPlugin StructureRatiosPlugin TFAPlugin ToolSeparator

List of all members.

Public Member Functions

QAction * action (int slot) const
void addActions (QWidget *w) const
virtual void addPreferenceTab (QTabWidget *parent)
virtual QList< QAction * > createImportActions (QObject *) const
virtual ToolBasecreateTool (int id, QWidget *wsParent) const =0
virtual void createToolActions (QObject *toolFactory)=0
virtual int exec (SubSignalPool *subPool, int slot, int argc, char **argv)
virtual void setHelp (ApplicationHelp *h)
virtual void setPreferences ()
int slotCount () const
int slotOf (QAction *a)
QString slotText (int id)

Protected Member Functions

void addAction (QAction *a)

Detailed Description

Abstract interface for GUI Geopsy plugins.


Member Function Documentation

QAction* GeopsyGui::GeopsyGuiInterface::action ( int  slot) const [inline]
{return _actions[slot];}
void GeopsyGui::GeopsyGuiInterface::addAction ( QAction *  a) [inline, protected]
void GeopsyGui::GeopsyGuiInterface::addActions ( QWidget *  w) const

Add the actions stored for this plugin to widget w. Original pointers are added

References TRACE.

  {
    TRACE;
    int n=_actions.count();
    for(int i=0;i<n;i++) {
      w->addAction(_actions[i]);
    }
  }
void GeopsyGui::GeopsyGuiInterface::addPreferenceTab ( QTabWidget *  parent) [virtual]

Reimplemented in HVPlugin, and StructureRatiosPlugin.

References TRACE.

  {
    TRACE;

  }
virtual QList<QAction *> GeopsyGui::GeopsyGuiInterface::createImportActions ( QObject *  ) const [inline, virtual]

Reimplemented in ToolSeparator.

{return QList<QAction *>();}
virtual ToolBase* GeopsyGui::GeopsyGuiInterface::createTool ( int  id,
QWidget *  wsParent 
) const [pure virtual]
virtual void GeopsyGui::GeopsyGuiInterface::createToolActions ( QObject *  toolFactory) [pure virtual]
int GeopsyGui::GeopsyGuiInterface::exec ( SubSignalPool subPool,
int  slot,
int  argc,
char **  argv 
) [virtual]

References TRACE.

  {
    TRACE;
    return 0;
  }

Reimplemented in StructureRatiosPlugin, HVPlugin, ArrayPlugin, and DampingPlugin.

References TRACE.

  {
    TRACE;

  }

Reimplemented in HVPlugin, and StructureRatiosPlugin.

References TRACE.

  {
    TRACE;

  }

Referenced by ToolFactory::infoTools().

{return _actions.count();}
int GeopsyGui::GeopsyGuiInterface::slotOf ( QAction *  a) [inline]

Referenced by ToolFactory::showTool().

{return _actions.indexOf(a);}
QString GeopsyGui::GeopsyGuiInterface::slotText ( int  id) [inline]

Referenced by ToolFactory::infoTools().

{return _actions[id]->text();}

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