KDStateMachineEditor API Documentation 2.3
Loading...
Searching...
No Matches
QuickPainterPath Class Reference

#include <quickpainterpath_p.h>

Inheritance diagram for QuickPainterPath:
Collaboration diagram for QuickPainterPath:

Signals

void endPointChanged (const QPointF &endPoint)
void isEmptyChanged (bool isEmpty)
void pathChanged (const QPainterPath &path)
void startPointChanged (const QPointF &startPoint)

Public Member Functions

 QuickPainterPath (QObject *parent=nullptr)
Q_INVOKABLE qreal angleAtPercent (qreal t) const
Q_INVOKABLE void clear ()
Q_INVOKABLE bool contains (QPointF point) const
QPointF endPoint () const
bool isEmpty () const
Q_INVOKABLE void lineTo (QPointF endPoint)
Q_INVOKABLE void moveTo (QPointF point)
QPainterPath path () const
void setPath (const QPainterPath &path)
QPointF startPoint () const

Properties

QPointF endPoint
bool isEmpty
QPainterPath path
QPointF startPoint

Detailed Description

Definition at line 49 of file quickpainterpath_p.h.

Constructor & Destructor Documentation

◆ QuickPainterPath()

QuickPainterPath::QuickPainterPath ( QObject * parent = nullptr)
explicit

Definition at line 42 of file quickpainterpath.cpp.

Member Function Documentation

◆ angleAtPercent()

qreal QuickPainterPath::angleAtPercent ( qreal t) const

Definition at line 101 of file quickpainterpath.cpp.

◆ clear()

void QuickPainterPath::clear ( )

Definition at line 91 of file quickpainterpath.cpp.

References setPath().

◆ contains()

bool QuickPainterPath::contains ( QPointF point) const

Definition at line 96 of file quickpainterpath.cpp.

◆ endPoint()

QPointF QuickPainterPath::endPoint ( ) const

Definition at line 69 of file quickpainterpath.cpp.

◆ endPointChanged

void QuickPainterPath::endPointChanged ( const QPointF & endPoint)
signal

References endPoint, and endPointChanged().

Referenced by endPointChanged().

◆ isEmpty()

bool QuickPainterPath::isEmpty ( ) const

Definition at line 74 of file quickpainterpath.cpp.

◆ isEmptyChanged

void QuickPainterPath::isEmptyChanged ( bool isEmpty)
signal

References isEmpty, isEmptyChanged(), and path.

Referenced by isEmptyChanged().

◆ lineTo()

void QuickPainterPath::lineTo ( QPointF endPoint)

Definition at line 85 of file quickpainterpath.cpp.

References endPoint.

◆ moveTo()

void QuickPainterPath::moveTo ( QPointF point)

Definition at line 79 of file quickpainterpath.cpp.

Referenced by QuickKDSMEGlobal::createPath().

◆ path()

QPainterPath QuickPainterPath::path ( ) const

Definition at line 48 of file quickpainterpath.cpp.

◆ pathChanged

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

References path, and pathChanged().

Referenced by pathChanged(), and setPath().

◆ setPath()

void QuickPainterPath::setPath ( const QPainterPath & path)

Definition at line 53 of file quickpainterpath.cpp.

References path, and pathChanged().

Referenced by clear().

◆ startPoint()

QPointF QuickPainterPath::startPoint ( ) const

Definition at line 64 of file quickpainterpath.cpp.

◆ startPointChanged

void QuickPainterPath::startPointChanged ( const QPointF & startPoint)
signal

References startPoint, and startPointChanged().

Referenced by startPointChanged().

Property Documentation

◆ endPoint

QPointF QuickPainterPath::endPoint
read

Definition at line 54 of file quickpainterpath_p.h.

Referenced by endPointChanged(), and lineTo().

◆ isEmpty

bool QuickPainterPath::isEmpty
read

Definition at line 55 of file quickpainterpath_p.h.

Referenced by isEmptyChanged().

◆ path

QPainterPath QuickPainterPath::path
readwrite

Definition at line 52 of file quickpainterpath_p.h.

Referenced by isEmptyChanged(), pathChanged(), and setPath().

◆ startPoint

QPointF QuickPainterPath::startPoint
read

Definition at line 53 of file quickpainterpath_p.h.

Referenced by startPointChanged().


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 for KDStateMachineEditor API Documentation by doxygen 1.15.0