gegl-qt
0.0.7
Integration library for using GEGL in Qt based applications
|
QDeclarativeItem showing the output of a GeglNode. More...
#include <nodeviewdeclarativeitem.h>
Signals | |
void | inputNodeChanged () |
void | optionsChanged () |
Public Member Functions | |
NodeViewDeclarativeItem (QDeclarativeItem *parent=0) | |
~NodeViewDeclarativeItem () | |
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 | setOptions (GeglQt::NodeViewOptions *newOptions) |
void | setInputNodeVariant (QVariant node) |
QVariant | inputNodeVariant () |
void | geometryChanged (const QRectF &newGeometry, const QRectF &oldGeometry) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Properties | |
GeglQt::NodeViewOptions | options |
QVariant | inputNode |
QDeclarativeItem showing the output of a GeglNode.
Typically used from QML, but can also be instantiated by C++.
NodeViewDeclarativeItem::NodeViewDeclarativeItem | ( | QDeclarativeItem * | parent = 0 | ) | [explicit] |
NodeViewDeclarativeItem::~NodeViewDeclarativeItem | ( | ) |
void NodeViewDeclarativeItem::geometryChanged | ( | const QRectF & | newGeometry, |
const QRectF & | oldGeometry | ||
) |
GeglNodePtr GeglQt::NodeViewDeclarativeItem::inputNode | ( | ) |
The node this widget displays.
void GeglQt::NodeViewDeclarativeItem::inputNodeChanged | ( | ) | [signal] |
QVariant NodeViewDeclarativeItem::inputNodeVariant | ( | ) |
GeglQt::NodeViewOptions* GeglQt::NodeViewDeclarativeItem::options | ( | ) | const |
The options used on this widget.
void GeglQt::NodeViewDeclarativeItem::optionsChanged | ( | ) | [signal] |
void NodeViewDeclarativeItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
void NodeViewDeclarativeItem::setInputNode | ( | GeglNodePtr | node | ) |
Set the node to display.
node | The GeglNode to display, or 0 to unset |
Will reference the GeglNode.
void NodeViewDeclarativeItem::setInputNodeVariant | ( | QVariant | node | ) |
void NodeViewDeclarativeItem::setOptions | ( | GeglQt::NodeViewOptions * | newOptions | ) |
GeglNode * NodeViewDeclarativeItem::inputNode [read, write] |
NodeViewOptions * NodeViewDeclarativeItem::options [read, write] |