KDStateMachineEditor API Documentation 2.1
|
#include <quickpainterpath_p.h>
Signals | |
void | pathChanged (const QPainterPath &path) |
![]() | |
void | changed () |
Emitted in case any of this object properties changes. | |
void | drawingModeChanged (QuickGeometryItem::DrawingMode drawingMode) |
void | lineWidthChanged (float lineWidth) |
void | vertexDataChanged (const QList< qreal > &vertexData) |
void | vertexDataTypeChanged (QuickGeometryItem::VertexDataType type) |
Public Member Functions | |
QuickPainterPathGeometryItem (QQuickItem *parent=nullptr) | |
QPainterPath | path () const |
void | setPath (const QPainterPath &path) |
![]() | |
QuickGeometryItem (QObject *parent=nullptr) | |
QSGGeometry * | createGeometry () const |
DrawingMode | drawingMode () const |
float | lineWidth () const |
void | setDrawingMode (DrawingMode drawingMode) |
void | setLineWidth (float lineWidth) |
void | setVertexData (const QList< qreal > &vertexData) |
void | setVertexDataType (VertexDataType type) |
QList< qreal > | vertexData () const |
VertexDataType | vertexDataType () const |
Properties | |
QPainterPath | path |
![]() | |
QList< qreal > | data |
DrawingMode | drawingMode |
float | lineWidth |
QuickGeometryItem::VertexDataType | type |
Additional Inherited Members | |
![]() | |
enum | DrawingMode { Points = QSGGeometry::DrawPoints , Lines = QSGGeometry::DrawLines , LineLoop = QSGGeometry::DrawLineLoop , LineStrip = QSGGeometry::DrawLineStrip , Triangles = QSGGeometry::DrawTriangles , TriangleStrip = QSGGeometry::DrawTriangleStrip , TriangleFan = QSGGeometry::DrawTriangleFan } |
enum | VertexDataType { Point2DType , ColoredPoint2DType , TexturedPoint2DType } |
Definition at line 92 of file quickpainterpath_p.h.
|
explicit |
Definition at line 125 of file quickpainterpath.cpp.
References QuickGeometryItem::LineStrip, and QuickGeometryItem::setDrawingMode().
QPainterPath QuickPainterPathGeometryItem::path | ( | ) | const |
Definition at line 132 of file quickpainterpath.cpp.
|
signal |
Referenced by setPath().
void QuickPainterPathGeometryItem::setPath | ( | const QPainterPath & | path | ) |
Definition at line 137 of file quickpainterpath.cpp.
References QuickGeometryItem::changed(), path, and pathChanged().
|
readwrite |
Definition at line 96 of file quickpainterpath_p.h.
Referenced by setPath().