tlp::NodeLinkDiagramComponent Class Reference
Main view of old Tulip.
More...
#include <NodeLinkDiagramComponent.h>
List of all members.
Public Slots
Public Member Functions
Protected Slots
Protected Member Functions
Protected Attributes
Detailed Description
Main view of old Tulip.
This class provide a graph view based to nodes and links Rendering is do with OpenGl
Constructor & Destructor Documentation
tlp::NodeLinkDiagramComponent::NodeLinkDiagramComponent |
( |
|
) |
|
virtual tlp::NodeLinkDiagramComponent::~NodeLinkDiagramComponent |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void tlp::NodeLinkDiagramComponent::buildContextMenu |
( |
QObject * |
object, |
|
|
QContextMenuEvent * |
event, |
|
|
QMenu * |
contextMenu | |
|
) |
| | [virtual] |
void tlp::NodeLinkDiagramComponent::centerView |
( |
|
) |
[slot] |
void tlp::NodeLinkDiagramComponent::checkAlgorithmResult |
( |
|
) |
[protected] |
virtual void tlp::NodeLinkDiagramComponent::computeContextMenuAction |
( |
QAction * |
|
) |
[virtual] |
virtual QWidget* tlp::NodeLinkDiagramComponent::construct |
( |
QWidget * |
parent |
) |
[virtual] |
virtual void tlp::NodeLinkDiagramComponent::draw |
( |
|
) |
[virtual, slot] |
void tlp::NodeLinkDiagramComponent::drawAfterRenderingParametersChange |
( |
|
) |
[slot] |
void tlp::NodeLinkDiagramComponent::elementSelectedSlot |
( |
unsigned int |
id, |
|
|
bool |
isNode | |
|
) |
| | [inline, slot] |
void tlp::NodeLinkDiagramComponent::emitRequestChangeGraph |
( |
Graph * |
graph |
) |
[inline] |
virtual std::list<std::pair<QWidget *,std::string> > tlp::NodeLinkDiagramComponent::getConfigurationWidget |
( |
|
) |
[virtual] |
Returns the configuration widgets this view should use. These widgets will be displayed in the left dock of the MainController, in the View Editor tab. Each widget will be in a tab whose text is the string of the pair.
- Returns:
- :list< std::pair<QWidget* , std::string > > Each element of this list is a pair of configuration widget and widget title.
Reimplemented from tlp::View.
virtual void tlp::NodeLinkDiagramComponent::getData |
( |
Graph ** |
graph, |
|
|
DataSet * |
dataSet | |
|
) |
| | [virtual] |
Gets the Graph and DataSet of the view.
- Parameters:
-
| graph | A pointer whose value will be modified to point to the Graph* of the view. |
| dataSet | A pointer whose value will be modified to point to the DataSet of the view. |
- Returns:
- void
Implements tlp::View.
void tlp::NodeLinkDiagramComponent::gridOptions |
( |
|
) |
[protected, slot] |
virtual void tlp::NodeLinkDiagramComponent::init |
( |
|
) |
[virtual, slot] |
Centers and draws the view. Calls centerview() [where applicable], then draw(). This might be removed in a future version (3.6 or later) as all this does is calling centerview on the GlMainWidget if this is a GlMainView. Adding a centerView function in View would allow to remove this function.
- Returns:
- void
Implements tlp::View.
virtual void tlp::NodeLinkDiagramComponent::refresh |
( |
|
) |
[virtual, slot] |
virtual void tlp::NodeLinkDiagramComponent::setData |
( |
Graph * |
graph, |
|
|
DataSet |
dataSet | |
|
) |
| | [virtual] |
Set the View's Graph and DataSet.
- Parameters:
-
| graph | The view's new Graph. |
| dataSet | The view's new DataSet. |
- Returns:
- void
Implements tlp::View.
void tlp::NodeLinkDiagramComponent::setGraph |
( |
Graph * |
graph, |
|
|
bool |
initView | |
|
) |
| | [slot] |
void tlp::NodeLinkDiagramComponent::setGraph |
( |
Graph * |
graph |
) |
[virtual, slot] |
Sets the Graph on this View.
- Parameters:
-
| graph | the new Graph to be displayed by this View. |
- Returns:
- void
Implements tlp::View.
void tlp::NodeLinkDiagramComponent::showDialog |
( |
QAction * |
action |
) |
[protected, virtual, slot] |
This slot is call when a QAction in dialog sub menu of context menu is toggle
Reimplemented from tlp::GlMainView.
virtual void tlp::NodeLinkDiagramComponent::specificEventFilter |
( |
QObject * |
, |
|
|
QEvent * |
| |
|
) |
| | [virtual] |
empty function : implement this function if you want a specific event filter in your view
Reimplemented from tlp::AbstractView.
Member Data Documentation