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

#include <quickpainterpath_p.h>

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

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

◆ isEmpty()

bool QuickPainterPath::isEmpty ( ) const

Definition at line 74 of file quickpainterpath.cpp.

◆ isEmptyChanged

void QuickPainterPath::isEmptyChanged ( bool  isEmpty)
signal

◆ 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

Referenced by 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

Property Documentation

◆ endPoint

QPointF QuickPainterPath::endPoint
read

Definition at line 54 of file quickpainterpath_p.h.

Referenced by lineTo().

◆ isEmpty

bool QuickPainterPath::isEmpty
read

Definition at line 55 of file quickpainterpath_p.h.

◆ path

QPainterPath QuickPainterPath::path
readwrite

Definition at line 52 of file quickpainterpath_p.h.

Referenced by setPath().

◆ startPoint

QPointF QuickPainterPath::startPoint
read

Definition at line 53 of file quickpainterpath_p.h.


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