Poster of Linux kernelThe best gift for a Linux geek
tlp::View

tlp::View

Section: Tulip QT Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

tlp::View -

Tulip view interface class.

 

SYNOPSIS


#include <View.h>

Inherited by tlp::AbstractView.  

Public Slots


virtual void setGraph (Graph *graph)=0

virtual void draw ()=0

virtual void refresh ()=0

virtual void init ()=0
 

Signals


void elementSelected (unsigned int eltId, bool isNode)

void requestChangeGraph (View *, Graph *)
 

Public Member Functions


virtual ~View ()

virtual QWidget * construct (QWidget *parent)=0

virtual void setData (Graph *graph, DataSet dataSet)=0

virtual void getData (Graph **graph, DataSet *dataSet)=0

virtual Graph * getGraph ()=0

virtual std::list< QAction * > * getInteractorsActionList ()=0

virtual void installInteractor (QAction *)=0
 

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.

 

Author

Generated automatically by Doxygen for Tulip QT Library from the source code.


 

Index

NAME
SYNOPSIS
Public Slots
Signals
Public Member Functions
Detailed Description
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
virtual void tlp::View::draw () [pure virtual, slot]Draw the view
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
virtual Graph* tlp::View::getGraph () [pure virtual]get Graph attached to this view
virtual std::list<QAction *>* tlp::View::getInteractorsActionList () [pure virtual]Get Interactors action (in MainController actions will be add to graphToolBar)
virtual void tlp::View::init () [pure virtual, slot]Reinit the view and draw
virtual void tlp::View::installInteractor (QAction *) [pure virtual]Install a specific interactor to the view
virtual void tlp::View::refresh () [pure virtual, slot]Refresh the view (data don't be modified)
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
virtual void tlp::View::setGraph (Graph * graph) [pure virtual, slot]Change the graph
Author

This document was created by man2html, using the manual pages.
Time: 22:28:27 GMT, April 16, 2011