Tulip  4.2.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
tlp::NodeLinkDiagramComponentInteractor Class Reference

#include <NodeLinkDiagramComponentInteractor.h>

Inherits tlp::GLInteractorComposite.

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)
 
- 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="")
 
virtual QAction * action () const
 
iterator begin ()
 
const_iterator begin () const
 
virtual QCursor cursor () const
 
iterator end ()
 
const_iterator end () const
 
void push_back (InteractorComponent *component)
 
void push_front (InteractorComponent *component)
 
virtual tlp::Viewview () const
 
- Public Member Functions inherited from tlp::Interactor
virtual std::string category () const
 
virtual void construct ()=0
 
std::string icon () const
 
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
 
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
 
- Public Member Functions inherited from tlp::WithParameter
template<typename T >
void addInOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
template<typename T >
void addInParameter (const std::string &name, const std::string &help, const std::string &defaultValue, bool isMandatory=true)
 
template<typename T >
void addOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
template<typename T >
void addParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
const
tlp::ParameterDescriptionList
getParameters () const
 
bool inputRequired () const
 
- Public Member Functions inherited from tlp::WithDependency
void addDependency (const char *name, const char *release)
 
const std::list< Dependency > & dependencies () const
 

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 *)
 
- Protected Slots inherited from tlp::InteractorComposite
void lastTargetDestroyed ()
 
- Protected Member Functions inherited from tlp::InteractorComposite
QObject * lastTarget () const
 
void setLastTarget (QObject *)
 
- Protected Attributes inherited from tlp::InteractorComposite
QList< tlp::InteractorComponent * > _components
 
- Properties inherited from tlp::Interactor
QAction action
 
QCursor cursor
 
unsigned int
 
tlp::View view
 

Detailed Description

Tulip interactor abstract class for NodeLinkDiagramComponent.

Definition at line 50 of file NodeLinkDiagramComponentInteractor.h.

Member Function Documentation

virtual QWidget* tlp::NodeLinkDiagramComponentInteractor::configurationWidget ( ) const
virtual
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.