A tool that is specific to a node. More...
#include <Plugin.h>
Public Types | |
typedef QPair< QString, QDomDocument > | SavedContent |
Public Member Functions | |
virtual void | closeAsSoonAsPossible ()=0 |
virtual QWidget * | createMenuEntry ()=0 |
SavedContent | getSaved () const |
virtual void | loadFromDom (const QDomDocument &content, bool fromFile) |
virtual QDomDocument | saveToDom () const |
virtual bool | surviveTabDestruction () const |
wether this tool should survive tab destruction, useful for flashers for instance | |
virtual | ~NodeToolInterface () |
Public Attributes | |
QString | name |
name of the interface taken from the registrar |
typedef QPair<QString, QDomDocument> Aseba::NodeToolInterface::SavedContent |
virtual Aseba::NodeToolInterface::~NodeToolInterface | ( | ) | [inline, virtual] |
virtual void Aseba::NodeToolInterface::closeAsSoonAsPossible | ( | ) | [pure virtual] |
Implemented in Aseba::ThymioBootloaderDialog, Aseba::ThymioVisualProgramming, and Aseba::LinearCameraViewPlugin.
virtual QWidget* Aseba::NodeToolInterface::createMenuEntry | ( | ) | [pure virtual] |
Implemented in Aseba::ThymioBootloaderDialog, Aseba::ThymioVisualProgramming, and Aseba::LinearCameraViewPlugin.
SavedContent Aseba::NodeToolInterface::getSaved | ( | ) | const [inline] |
virtual void Aseba::NodeToolInterface::loadFromDom | ( | const QDomDocument & | content, |
bool | fromFile | ||
) | [inline, virtual] |
Reimplemented in Aseba::ThymioVisualProgramming.
virtual QDomDocument Aseba::NodeToolInterface::saveToDom | ( | ) | const [inline, virtual] |
Reimplemented in Aseba::ThymioVisualProgramming.
virtual bool Aseba::NodeToolInterface::surviveTabDestruction | ( | ) | const [inline, virtual] |
wether this tool should survive tab destruction, useful for flashers for instance
Reimplemented in Aseba::ThymioBootloaderDialog.
QString Aseba::NodeToolInterface::name |