QtPdWidgets  2.3.1
Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Pd::Svg Class Reference

Svg widget. More...

#include <Svg.h>

Inheritance diagram for Pd::Svg:
Inheritance graph
[legend]
Collaboration diagram for Pd::Svg:
Collaboration graph
[legend]

Public Member Functions

 Svg (QWidget *=0)
 Constructor. More...
 
 ~Svg ()
 Destructor. More...
 
QString getSvgPath () const
 
void setSvgPath (const QString &)
 
void resetSvgPath ()
 Resets the svgPath. More...
 
qreal getAngle () const
 
void setAngle (qreal)
 Sets the angle to use. More...
 
void resetAngle ()
 Resets the angle. More...
 
void setIdList (const QStringList &)
 
QStringList getIdList () const
 
bool existId (QString) const
 

Properties

QString svgPath
 
qreal angle
 

Private Member Functions

void paintEvent (QPaintEvent *)
 

Private Attributes

QScopedPointer< SvgPrivate > const d_ptr
 

Detailed Description

Svg widget.

Constructor & Destructor Documentation

◆ Svg()

Svg::Svg ( QWidget *  parent = 0)

Constructor.

Parameters
parentParent widget.

◆ ~Svg()

Svg::~Svg ( )

Destructor.

Member Function Documentation

◆ existId()

bool Svg::existId ( QString  id) const

◆ getAngle()

qreal Svg::getAngle ( ) const

◆ getIdList()

QStringList Svg::getIdList ( ) const

◆ getSvgPath()

QString Svg::getSvgPath ( ) const

◆ paintEvent()

void Svg::paintEvent ( QPaintEvent *  event)
private

◆ resetAngle()

void Svg::resetAngle ( )

Resets the angle.

References setAngle().

◆ resetSvgPath()

void Svg::resetSvgPath ( )

Resets the svgPath.

References setSvgPath().

◆ setAngle()

void Svg::setAngle ( qreal  a)

Sets the angle to use.

Referenced by resetAngle().

◆ setIdList()

void Svg::setIdList ( const QStringList &  list)

◆ setSvgPath()

void Svg::setSvgPath ( const QString &  path)

Referenced by resetSvgPath().

Member Data Documentation

◆ d_ptr

QScopedPointer<SvgPrivate> const Pd::Svg::d_ptr
private

Property Documentation

◆ angle

qreal Pd::Svg::angle
readwrite

◆ svgPath

QString Pd::Svg::svgPath
readwrite

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