#include <ToolFactory.h>
Public Member Functions | |
| QList< QAction * > | createImportActions (QObject *parent) const |
| virtual ToolBase * | createTool (int, QWidget *) const |
| virtual void | createToolActions (QObject *toolFactory) |
| virtual const char * | interfaceVersion () const |
| virtual QString | tag () const |
| virtual QString | title () const |
| 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.
| 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 ---");}