gegl-qt
0.0.7
Integration library for using GEGL in Qt based applications
|
QGraphicsWidget showing the output of a GeglNode. More...
#include <nodeviewgraphicswidget.h>
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::NodeViewOptions * | options () const |
The options used on this widget. | |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
QGraphicsWidget showing the output of a GeglNode.
NodeViewGraphicsWidget::NodeViewGraphicsWidget | ( | QGraphicsItem * | parent = 0 | ) | [explicit] |
NodeViewGraphicsWidget::~NodeViewGraphicsWidget | ( | ) |
GeglNode * NodeViewGraphicsWidget::inputNode | ( | ) |
The node this widget displays.
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.
node | The GeglNode to display, or 0 to unset |
Will reference the GeglNode.