libyui-qt-graph  2.44.6
QY2Graph Class Reference

The QY2Graph widget shows a graph layouted by graphviz in a QGraphicsView/QGraphicsScene. More...

#include <QY2Graph.h>

Inheritance diagram for QY2Graph:
Collaboration diagram for QY2Graph:

Signals

void backgroundContextMenuEvent (QContextMenuEvent *event)
 
void nodeContextMenuEvent (QContextMenuEvent *event, const QString &name)
 
void nodeDoubleClickEvent (QMouseEvent *event, const QString &name)
 

Public Member Functions

 QY2Graph (const std::string &filename, const std::string &layoutAlgorithm, QWidget *parent=0)
 
 QY2Graph (graph_t *graph, QWidget *parent=0)
 
virtual void renderGraph (const std::string &filename, const std::string &layoutAlgorithm)
 
virtual void renderGraph (graph_t *graph)
 
void clearGraph ()
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 
void wheelEvent (QWheelEvent *event)
 
void contextMenuEvent (QContextMenuEvent *event)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 

Detailed Description

The QY2Graph widget shows a graph layouted by graphviz in a QGraphicsView/QGraphicsScene.

Definition at line 40 of file QY2Graph.h.


The documentation for this class was generated from the following files: