#include <QtGui/qbrush.h>
#ifndef QBRUSH_H
class QGradient{
public: static struct QMetaObject const staticMetaObject;
public: enum Type{
LinearGradient = 0,
RadialGradient = 1,
ConicalGradient = 2,
NoGradient = 3,
};
public: enum Spread{
PadSpread = 0,
ReflectSpread = 1,
RepeatSpread = 2,
};
public: enum CoordinateMode{
LogicalMode = 0,
StretchToDeviceMode = 1,
};
public: QGradient();
public: inline enum QGradient::Type type() const
public: inline enum QGradient::Spread spread() const
public: void setColorAt(qreal pos, class QColor const & color);
public: void setStops(QGradientStops const & stops);
public: QGradientStops stops() const
public: enum QGradient::CoordinateMode coordinateMode() const
public: void setCoordinateMode(enum QGradient::CoordinateMode mode);
public: bool operator ==(class QGradient const & gradient) const
public: inline bool operator !=(class QGradient const & other) const
public: bool operator ==(class QGradient const & gradient);
private: enum QGradient::Type m_type;
private: enum QGradient::Spread m_spread;
private: QGradientStops m_stops;
private: union /*anonymous*/{
#ifndef QBRUSH_H
struct /*anonymous*/{
#ifndef QBRUSH_H
public: qreal x1;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal y1;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal x2;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal y2;
#endif // QBRUSH_H
#ifndef QBRUSH_H
}
#endif // QBRUSH_H
linear;
#endif // QBRUSH_H
#ifndef QBRUSH_H
struct /*anonymous*/{
#ifndef QBRUSH_H
public: qreal cx;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal cy;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal fx;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal fy;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal radius;
#endif // QBRUSH_H
#ifndef QBRUSH_H
}
#endif // QBRUSH_H
radial;
#endif // QBRUSH_H
#ifndef QBRUSH_H
struct /*anonymous*/{
#ifndef QBRUSH_H
public: qreal cx;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal cy;
#endif // QBRUSH_H
#ifndef QBRUSH_H
public: qreal angle;
#endif // QBRUSH_H
#ifndef QBRUSH_H
}
#endif // QBRUSH_H
conical;
#endif // QBRUSH_H
#ifndef QBRUSH_H
}
#endif // QBRUSH_H
m_data;
private: void* dummy;
public: inline void setSpread(enum QGradient::Spread aspread);
friend class QLinearGradient;
friend class QRadialGradient;
friend class QConicalGradient;
};
#endif // QBRUSH_H