Overview     Modules     Class Hierarchy     Classes     Members  

tlp::View Class Reference

Tulip view interface class. More...

#include <View.h>

Inherited by tlp::AbstractView.

List of all members.

Public Slots

Signals

Public Member Functions


Detailed Description

Tulip view interface class.

View class provide the skeleton of a view


Constructor & Destructor Documentation

virtual tlp::View::~View (  )  [inline, virtual]

empty destructor : for inheritance


Member Function Documentation

virtual QWidget* tlp::View::construct ( QWidget *  parent  )  [pure virtual]

Construct GUI of the view

Returns:
QWidget is the main widget of the view (in MainController this widget will be add to workspace)

Implemented in tlp::AbstractView, tlp::GlMainView, and tlp::NodeLinkDiagramComponent.

virtual void tlp::View::draw (  )  [pure virtual, slot]

Draw the view

Implemented in tlp::GlMainView, and tlp::NodeLinkDiagramComponent.

void tlp::View::elementSelected ( unsigned int  eltId,
bool  isNode 
) [signal]

This signal is emit when a specific element is selected in the view

virtual void tlp::View::getData ( Graph **  graph,
DataSet *  dataSet 
) [pure virtual]

Get the graph and data of the view

Implemented in tlp::NodeLinkDiagramComponent.

virtual Graph* tlp::View::getGraph (  )  [pure virtual]

get Graph attached to this view

Implemented in tlp::GlMainView.

virtual std::list<QAction *>* tlp::View::getInteractorsActionList (  )  [pure virtual]

Get Interactors action (in MainController actions will be add to graphToolBar)

Warning:
: QAction* must be the same at each call

Implemented in tlp::AbstractView.

virtual void tlp::View::init (  )  [pure virtual, slot]

Reinit the view and draw

Implemented in tlp::NodeLinkDiagramComponent.

virtual void tlp::View::installInteractor ( QAction *   )  [pure virtual]

Install a specific interactor to the view

Parameters:
QAction must be an element of list<QAction *> of getInteractorsActionList(...)

Implemented in tlp::NodeLinkDiagramComponent.

virtual void tlp::View::refresh (  )  [pure virtual, slot]

Refresh the view (data don't be modified)

Implemented in tlp::GlMainView, and tlp::NodeLinkDiagramComponent.

void tlp::View::requestChangeGraph ( View ,
Graph *   
) [signal]

This signal is emit when the view want to change its graph

virtual void tlp::View::setData ( Graph *  graph,
DataSet  dataSet 
) [pure virtual]

Set the graph and data to the view

Implemented in tlp::NodeLinkDiagramComponent.

virtual void tlp::View::setGraph ( Graph *  graph  )  [pure virtual, slot]

Change the graph

Implemented in tlp::NodeLinkDiagramComponent.



Tulip Software by LaBRI Visualization Team    2001 - 2010