libyui-qt-graph  2.43.0
 All Classes Functions
YQGraph Class Reference
Inheritance diagram for YQGraph:
Collaboration diagram for YQGraph:

Public Member Functions

 YQGraph (YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
 
 YQGraph (YWidget *parent, void *graph)
 
virtual int preferredWidth ()
 
virtual int preferredHeight ()
 
virtual void setSize (int newWidth, int newHeight)
 
void renderGraph (const std::string &filename, const std::string &layoutAlgorithm)
 
void renderGraph (void *graph)
 
std::string activatedNode () const
 
- Public Member Functions inherited from QY2Graph
 QY2Graph (const std::string &filename, const std::string &layoutAlgorithm, QWidget *parent=0)
 
 QY2Graph (graph_t *graph, QWidget *parent=0)
 
virtual void renderGraph (graph_t *graph)
 
void clearGraph ()
 

Additional Inherited Members

- Signals inherited from QY2Graph
void backgroundContextMenuEvent (QContextMenuEvent *event)
 
void nodeContextMenuEvent (QContextMenuEvent *event, const QString &name)
 
void nodeDoubleClickEvent (QMouseEvent *event, const QString &name)
 
- Protected Member Functions inherited from QY2Graph
void keyPressEvent (QKeyEvent *event)
 
void wheelEvent (QWheelEvent *event)
 
void contextMenuEvent (QContextMenuEvent *event)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 

Detailed Description

Definition at line 36 of file YQGraph.h.

Member Function Documentation

int YQGraph::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 102 of file YQGraph.cc.

int YQGraph::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 95 of file YQGraph.cc.

void YQGraph::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 109 of file YQGraph.cc.


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