42 #ifndef QDECLARATIVEPATH_H 43 #define QDECLARATIVEPATH_H 49 #include <QtCore/QObject> 50 #include <QtGui/QPainterPath> 77 void setName(
const QString &name);
80 void setValue(
qreal value);
135 qreal controlX()
const;
136 void setControlX(
qreal x);
138 qreal controlY()
const;
139 void setControlY(
qreal y);
144 void controlXChanged();
145 void controlYChanged();
163 qreal control1X()
const;
164 void setControl1X(
qreal x);
166 qreal control1Y()
const;
167 void setControl1Y(
qreal y);
169 qreal control2X()
const;
170 void setControl2X(
qreal x);
172 qreal control2Y()
const;
173 void setControl2Y(
qreal y);
178 void control1XChanged();
179 void control1YChanged();
180 void control2XChanged();
181 void control2YChanged();
198 void setValue(
qreal value);
225 qreal startX() const;
226 void setStartX(
qreal x);
228 qreal startY() const;
229 void setStartY(
qreal y);
231 bool isClosed() const;
240 void startXChanged();
241 void startYChanged();
244 virtual
void componentComplete();
245 virtual
void classBegin();
254 : percent(other.percent), scale(other.scale), origpercent(other.origpercent),
values(other.
values) {}
255 AttributePoint &
operator=(
const AttributePoint &other) {
266 void createPointCache()
const;
286 #endif // QDECLARATIVEPATH_H
QDeclarativeCurve(QObject *parent=0)
AttributePoint & operator=(const AttributePoint &other)
#define Q_CLASSINFO(name, value)
This macro associates extra information to the class, which is available using QObject::metaObject()...
#define QT_END_NAMESPACE
This macro expands to.
#define QML_DECLARE_TYPE(TYPE)
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
The QPointF class defines a point in the plane using floating point precision.
QDeclarativePathLine(QObject *parent=0)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
qreal value
the new value of the attribute.
static qreal interpolate(const QPair< QGraphicsAnchorLayoutPrivate::Interval, qreal > &factor, qreal min, qreal minPref, qreal pref, qreal maxPref, qreal max)
virtual void addToPath(QPainterPath &)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QDeclarativePathPercent(QObject *parent=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeParserStatus class provides updates on the QML parser state.
The QStringList class provides a list of strings.
QDeclarativePathAttribute(QObject *parent=0)
QDeclarativePathElement(QObject *parent=0)
QString name
the name of the attribute to change.
QHash< QString, qreal > values
#define Q_INTERFACES(x)
This macro tells Qt which interfaces the class implements.
#define Q_AUTOTEST_EXPORT
qreal controlX
the x position of the control point.
#define Q_DECLARE_PRIVATE(Class)
QDeclarativePathCubic(QObject *parent=0)
qreal controlY
the y position of the control point.
The QDeclarativeListProperty class allows applications to expose list-like properties to QML...
QDeclarativePathQuad(QObject *parent=0)
AttributePoint(const AttributePoint &other)