gepetto-viewer 5.2.0
An user-friendly Graphical Interface
Loading...
Searching...
No Matches
PyQgv::QGVDecorator Class Reference

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-gepetto-viewer/work/gepetto-viewer-5.2.0/plugins/pyqgv/decorator.hh>

Inheritance diagram for PyQgv::QGVDecorator:
Collaboration diagram for PyQgv::QGVDecorator:

Public Slots

QGVScene * new_QGVScene (const QString &name, QObject *parent=NULL)
 
void delete_QGVScene (QGVScene *s)
 
void setGraphAttribute (QGVScene *s, const QString &name, const QString &value)
 
void setNodeAttribute (QGVScene *s, const QString &name, const QString &value)
 
void setEdgeAttribute (QGVScene *s, const QString &name, const QString &value)
 
QGVNode * addNode (QGVScene *s, const QString &label)
 
QGVEdge * addEdge (QGVScene *s, QGVNode *source, QGVNode *target, const QString label=QString())
 
QGVSubGraph * addSubGraph (QGVScene *s, const QString &name, bool cluster=true)
 
void setRootNode (QGVScene *s, QGVNode *node)
 
void setNodePositionAttribute (QGVScene *s)
 
void loadLayout (QGVScene *s, const QString &text)
 
void applyLayout (QGVScene *s, const QString &algorithm="dot")
 
void render (QGVScene *s, const QString &algorithm)
 
void render (QGVScene *s, const QString &algorithm, const QString file)
 
bool writeGraph (QGVScene *s, const QString &filename)
 
void freeLayout (QGVScene *s)
 
void clear (QGVScene *s)
 
void setAttribute (QGVSubGraph *n, const QString &name, const QString &value)
 
QString getAttribute (QGVSubGraph *n, const QString &name)
 
QGVNode * addNode (QGVSubGraph *s, const QString &label)
 
QGVSubGraph * addSubGraph (QGVSubGraph *s, const QString &name, bool cluster=true)
 
void setAttribute (QGVNode *n, const QString &name, const QString &value)
 
QString getAttribute (QGVNode *n, const QString &name)
 
void setAttribute (QGVEdge *e, const QString &name, const QString &value)
 
QString getAttribute (QGVEdge *e, const QString &name)
 

Member Function Documentation

◆ addEdge

QGVEdge * PyQgv::QGVDecorator::addEdge ( QGVScene * s,
QGVNode * source,
QGVNode * target,
const QString label = QString() )
slot

◆ addNode [1/2]

QGVNode * PyQgv::QGVDecorator::addNode ( QGVScene * s,
const QString & label )
slot

◆ addNode [2/2]

QGVNode * PyQgv::QGVDecorator::addNode ( QGVSubGraph * s,
const QString & label )
slot

◆ addSubGraph [1/2]

QGVSubGraph * PyQgv::QGVDecorator::addSubGraph ( QGVScene * s,
const QString & name,
bool cluster = true )
slot

◆ addSubGraph [2/2]

QGVSubGraph * PyQgv::QGVDecorator::addSubGraph ( QGVSubGraph * s,
const QString & name,
bool cluster = true )
slot

◆ applyLayout

void PyQgv::QGVDecorator::applyLayout ( QGVScene * s,
const QString & algorithm = "dot" )
slot

◆ clear

void PyQgv::QGVDecorator::clear ( QGVScene * s)
slot

◆ delete_QGVScene

void PyQgv::QGVDecorator::delete_QGVScene ( QGVScene * s)
slot

◆ freeLayout

void PyQgv::QGVDecorator::freeLayout ( QGVScene * s)
slot

◆ getAttribute [1/3]

QString PyQgv::QGVDecorator::getAttribute ( QGVEdge * e,
const QString & name )
slot

◆ getAttribute [2/3]

QString PyQgv::QGVDecorator::getAttribute ( QGVNode * n,
const QString & name )
slot

◆ getAttribute [3/3]

QString PyQgv::QGVDecorator::getAttribute ( QGVSubGraph * n,
const QString & name )
slot

◆ loadLayout

void PyQgv::QGVDecorator::loadLayout ( QGVScene * s,
const QString & text )
slot

◆ new_QGVScene

QGVScene * PyQgv::QGVDecorator::new_QGVScene ( const QString & name,
QObject * parent = NULL )
slot

◆ render [1/2]

void PyQgv::QGVDecorator::render ( QGVScene * s,
const QString & algorithm )
slot

◆ render [2/2]

void PyQgv::QGVDecorator::render ( QGVScene * s,
const QString & algorithm,
const QString file )
slot

◆ setAttribute [1/3]

void PyQgv::QGVDecorator::setAttribute ( QGVEdge * e,
const QString & name,
const QString & value )
slot

◆ setAttribute [2/3]

void PyQgv::QGVDecorator::setAttribute ( QGVNode * n,
const QString & name,
const QString & value )
slot

◆ setAttribute [3/3]

void PyQgv::QGVDecorator::setAttribute ( QGVSubGraph * n,
const QString & name,
const QString & value )
slot

◆ setEdgeAttribute

void PyQgv::QGVDecorator::setEdgeAttribute ( QGVScene * s,
const QString & name,
const QString & value )
slot

◆ setGraphAttribute

void PyQgv::QGVDecorator::setGraphAttribute ( QGVScene * s,
const QString & name,
const QString & value )
slot

◆ setNodeAttribute

void PyQgv::QGVDecorator::setNodeAttribute ( QGVScene * s,
const QString & name,
const QString & value )
slot

◆ setNodePositionAttribute

void PyQgv::QGVDecorator::setNodePositionAttribute ( QGVScene * s)
slot

◆ setRootNode

void PyQgv::QGVDecorator::setRootNode ( QGVScene * s,
QGVNode * node )
slot

◆ writeGraph

bool PyQgv::QGVDecorator::writeGraph ( QGVScene * s,
const QString & filename )
slot

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