Tulip 6.1.0
Large graphs analysis and drawing
Loading...
Searching...
No Matches
tlp::NodeLinkDiagramComponentInteractor Class Reference

#include <NodeLinkDiagramComponentInteractor.h>

Inheritance diagram for tlp::NodeLinkDiagramComponentInteractor:
Collaboration diagram for tlp::NodeLinkDiagramComponentInteractor:

Public Member Functions

 NodeLinkDiagramComponentInteractor (const QString &iconPath, const QString &text, unsigned int priority=0)
QLabel * configurationDocWidget () const override
unsigned int priority () const override
void setConfigurationWidgetText (const QString &text)
Public Member Functions inherited from tlp::GLInteractorComposite
 GLInteractorComposite (const QIcon &icon, const QString &text="")
Public Member Functions inherited from tlp::InteractorComposite
 InteractorComposite (const QIcon &icon, const QString &text="")
QAction * action () const override
iterator begin ()
const_iterator begin () const
QCursor cursor () const override
iterator end ()
const_iterator end () const
void push_back (InteractorComponent *component)
void push_front (InteractorComponent *component)
bool showContextMenu (const QPoint &, const QPointF &) override
tlp::View * view () const override
Public Member Functions inherited from tlp::Interactor
std::string category () const override
virtual QWidget * configurationOptionsWidget () const
virtual void construct ()=0
std::string icon () const override
virtual bool isCompatible (const std::string &viewName) const =0
Public Member Functions inherited from tlp::Plugin
virtual std::string author () const =0
virtual std::string date () const =0
void declareDeprecatedName (const std::string &oldName)
std::string deprecatedName ()
virtual std::string group () const =0
virtual int id () const
virtual std::string info () const =0
virtual std::string major () const
virtual std::string minor () const
virtual std::string name () const =0
virtual std::string programmingLanguage () const
virtual std::string release () const =0
virtual std::string tulipMajor () const
virtual std::string tulipMinor () const
virtual std::string tulipRelease () const =0

Additional Inherited Members

Public Types inherited from tlp::InteractorComposite
typedef QList< InteractorComponent * >::const_iterator const_iterator
typedef QList< InteractorComponent * >::iterator iterator
Public Slots inherited from tlp::GLInteractorComposite
virtual void compute (tlp::GlMainWidget *)
virtual void draw (tlp::GlMainWidget *)
Public Slots inherited from tlp::InteractorComposite
void install (QObject *target) override
void setView (tlp::View *view) override
void undoIsDone () override
void uninstall () override
Public Slots inherited from tlp::Interactor
virtual void install (QObject *target)=0
virtual void setView (tlp::View *)=0
virtual void undoIsDone ()=0
virtual void uninstall ()=0
Static Public Member Functions inherited from tlp::Interactor
static void setupConfigWidget (QWidget *)
Protected Slots inherited from tlp::InteractorComposite
void lastTargetDestroyed ()
Protected Member Functions inherited from tlp::InteractorComposite
QObject * lastTarget () const
void setLastTarget (QObject *)
Protected Member Functions inherited from tlp::Interactor
bool eventFilter (QObject *obj, QEvent *ev) override
Protected Attributes inherited from tlp::InteractorComposite
QList< tlp::InteractorComponent * > _components
Protected Attributes inherited from tlp::Plugin
std::string oldName
Properties inherited from tlp::Interactor
QAction * action
QCursor cursor
unsigned int priority

Detailed Description

Tulip interactor abstract class for NodeLinkDiagramComponent.

Definition at line 31 of file NodeLinkDiagramComponentInteractor.h.

Member Function Documentation

◆ configurationDocWidget()

QLabel * tlp::NodeLinkDiagramComponentInteractor::configurationDocWidget ( ) const
overridevirtual
Returns
The interactor documentation.
Warning
This method MUST ALWAYS return the same pointer. Doing otherwise may lead to memory leaks.
Note
The interactor document has to be instantiated from the construct method.
It is up to the interactor developer to delete the returned pointer.

Reimplemented from tlp::Interactor.

◆ priority()

unsigned int tlp::NodeLinkDiagramComponentInteractor::priority ( ) const
overridevirtual
Returns
the interactor's priority. Priority defines how interactors gets ordered when displayed in the View's toolbar. Interactors with the top-most priority value will be displayed at the beginning of the list while lowest priority will be position at the end.

Implements tlp::Interactor.