Tulip  4.6.0
Better Visualization Through Research
tlp::NodeLinkDiagramComponentInteractor Class Reference

#include <NodeLinkDiagramComponentInteractor.h>

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

List of all members.

Public Member Functions

 NodeLinkDiagramComponentInteractor (const QString &iconPath, const QString &text, unsigned int priority=0)
virtual QWidget * configurationWidget () const
virtual unsigned int priority () const
void setConfigurationWidgetText (const QString &text)
void setPriority (const unsigned int p)

Detailed Description

Tulip interactor abstract class for NodeLinkDiagramComponent.

Definition at line 50 of file NodeLinkDiagramComponentInteractor.h.


Member Function Documentation

Returns:
the configuration widget used to set up the interactor.
Warning:
This method MUST ALWAYS return the same pointer. Doing otherwise may lead to memory leaks.
Note:
The configuration widget has to be instantiated from the construct method.
It is up to the interactor developper to delete the configuration widget

Implements tlp::Interactor.

virtual unsigned int tlp::NodeLinkDiagramComponentInteractor::priority ( ) const [virtual]
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.

 All Classes Files Functions Variables Enumerations Enumerator Properties