KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
QuickPainterPathGeometryItem Class Reference

#include <quickpainterpath_p.h>

Inheritance diagram for QuickPainterPathGeometryItem:
Inheritance graph
[legend]
Collaboration diagram for QuickPainterPathGeometryItem:
Collaboration graph
[legend]

Signals

void pathChanged (const QPainterPath &path)
 
- Signals inherited from QuickGeometryItem
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)
 
- Public Member Functions inherited from QuickGeometryItem
 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
 
- Properties inherited from QuickGeometryItem
QList< qreal > data
 
DrawingMode drawingMode
 
float lineWidth
 
QuickGeometryItem::VertexDataType type
 

Additional Inherited Members

- Public Types inherited from QuickGeometryItem
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 }
 

Detailed Description

Definition at line 92 of file quickpainterpath_p.h.

Constructor & Destructor Documentation

◆ QuickPainterPathGeometryItem()

QuickPainterPathGeometryItem::QuickPainterPathGeometryItem ( QQuickItem *  parent = nullptr)
explicit

Member Function Documentation

◆ path()

QPainterPath QuickPainterPathGeometryItem::path ( ) const

Definition at line 132 of file quickpainterpath.cpp.

◆ pathChanged

void QuickPainterPathGeometryItem::pathChanged ( const QPainterPath &  path)
signal

Referenced by setPath().

◆ setPath()

void QuickPainterPathGeometryItem::setPath ( const QPainterPath &  path)

Definition at line 137 of file quickpainterpath.cpp.

References QuickGeometryItem::changed(), path, and pathChanged().

Property Documentation

◆ path

QPainterPath QuickPainterPathGeometryItem::path
readwrite

Definition at line 96 of file quickpainterpath_p.h.

Referenced by setPath().


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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8