QtPdWidgets
2.3.1
|
#include <Svg.h>
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 |
Svg widget.
Svg::Svg | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | Parent widget. |
Svg::~Svg | ( | ) |
Destructor.
bool Svg::existId | ( | QString | id | ) | const |
qreal Svg::getAngle | ( | ) | const |
QStringList Svg::getIdList | ( | ) | const |
QString Svg::getSvgPath | ( | ) | const |
|
private |
void Svg::resetAngle | ( | ) |
Resets the angle.
References setAngle().
void Svg::resetSvgPath | ( | ) |
Resets the svgPath.
References setSvgPath().
void Svg::setAngle | ( | qreal | a | ) |
Sets the angle to use.
Referenced by resetAngle().
void Svg::setIdList | ( | const QStringList & | list | ) |
void Svg::setSvgPath | ( | const QString & | path | ) |
Referenced by resetSvgPath().
|
private |
|
readwrite |
|
readwrite |