Public Member Functions
ToolSeparator Class Reference

#include <ToolFactory.h>

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

List of all members.

Public Member Functions

QList< QAction * > createImportActions (QObject *parent) const
virtual ToolBasecreateTool (int, QWidget *) const
virtual void createToolActions (QObject *toolFactory)
virtual const char * interfaceVersion () const
virtual QString tag () const
virtual QString title () const

Member Function Documentation

QList< QAction * > ToolSeparator::createImportActions ( QObject *  parent) const [virtual]

Reimplemented from GeopsyGui::GeopsyGuiInterface.

References TRACE.

{
  TRACE;
  QList<QAction *> actions;
  QAction * a=new QAction(parent);
  a->setSeparator(true);
  actions << a;
  return actions;
}
virtual ToolBase* ToolSeparator::createTool ( int  ,
QWidget *   
) const [inline, virtual]

Implements GeopsyGui::GeopsyGuiInterface.

{return 0;}
void ToolSeparator::createToolActions ( QObject *  toolFactory) [virtual]

Implements GeopsyGui::GeopsyGuiInterface.

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

{
  TRACE;
  QAction * a=new QAction(toolFactory);
  a->setSeparator(true);
  addAction(a);
}
virtual const char* ToolSeparator::interfaceVersion ( ) const [inline, virtual]

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

Implements GeopsyCore::GeopsyCoreInterface.

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

Implements GeopsyCore::GeopsyCoreInterface.

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

Implements GeopsyCore::GeopsyCoreInterface.

References QGpCoreTools::tr().

Referenced by Preferences::on_addSep_clicked().

{return tr("--- Separator ---");}

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