gegl-qt  0.0.7
Integration library for using GEGL in Qt based applications
GeglQt::NodeViewGraphicsWidget Class Reference

QGraphicsWidget showing the output of a GeglNode. More...

#include <nodeviewgraphicswidget.h>

List of all members.

Public Member Functions

 NodeViewGraphicsWidget (QGraphicsItem *parent=0)
 ~NodeViewGraphicsWidget ()
GeglNodePtr inputNode ()
 The node this widget displays.
void setInputNode (GeglNodePtr node)
 Set the node to display.
GeglQt::NodeViewOptionsoptions () const
 The options used on this widget.
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)

Detailed Description

QGraphicsWidget showing the output of a GeglNode.


Constructor & Destructor Documentation

NodeViewGraphicsWidget::NodeViewGraphicsWidget ( QGraphicsItem *  parent = 0) [explicit]
NodeViewGraphicsWidget::~NodeViewGraphicsWidget ( )

Member Function Documentation

GeglNode * NodeViewGraphicsWidget::inputNode ( )

The node this widget displays.

Returns:
The GeglNode
NodeViewOptions * NodeViewGraphicsWidget::options ( ) const

The options used on this widget.

void NodeViewGraphicsWidget::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
void NodeViewGraphicsWidget::setInputNode ( GeglNodePtr  node)

Set the node to display.

Parameters:
nodeThe GeglNode to display, or 0 to unset

Will reference the GeglNode.


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