##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QPen.h
55 lines | 2.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPEN_H
#define PYTHONQTWRAPPER_QPEN_H
#include <qpen.h>
#include <QObject>
#include <PythonQt.h>
#include <QBrush>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qdatastream.h>
#include <qpen.h>
#include <qvector.h>
class PythonQtWrapper_QPen : public QObject
{ Q_OBJECT
public:
public slots:
QPen* new_QPen();
QPen* new_QPen(Qt::PenStyle arg__1);
QPen* new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s = Qt::SolidLine, Qt::PenCapStyle c = Qt::SquareCap, Qt::PenJoinStyle j = Qt::BevelJoin);
QPen* new_QPen(const QColor& color);
QPen* new_QPen(const QPen& pen);
void delete_QPen(QPen* obj) { delete obj; }
void setColor(QPen* theWrappedObject, const QColor& color);
void setDashPattern(QPen* theWrappedObject, const QVector<qreal >& pattern);
void setMiterLimit(QPen* theWrappedObject, qreal limit);
QVector<qreal > dashPattern(QPen* theWrappedObject) const;
void setBrush(QPen* theWrappedObject, const QBrush& brush);
void setWidthF(QPen* theWrappedObject, qreal width);
bool isCosmetic(QPen* theWrappedObject) const;
Qt::PenJoinStyle joinStyle(QPen* theWrappedObject) const;
bool isSolid(QPen* theWrappedObject) const;
qreal miterLimit(QPen* theWrappedObject) const;
void setWidth(QPen* theWrappedObject, int width);
qreal widthF(QPen* theWrappedObject) const;
QBrush brush(QPen* theWrappedObject) const;
void setDashOffset(QPen* theWrappedObject, qreal doffset);
QColor color(QPen* theWrappedObject) const;
void setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs);
void readFrom(QPen* theWrappedObject, QDataStream& arg__1);
void setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs);
Qt::PenCapStyle capStyle(QPen* theWrappedObject) const;
bool operator_equal(QPen* theWrappedObject, const QPen& p) const;
void setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1);
void setCosmetic(QPen* theWrappedObject, bool cosmetic);
void writeTo(QPen* theWrappedObject, QDataStream& arg__1);
Qt::PenStyle style(QPen* theWrappedObject) const;
int width(QPen* theWrappedObject) const;
qreal dashOffset(QPen* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QPEN_H