##// END OF EJS Templates
Added generator to install targets and removed examples from build.
Added generator to install targets and removed examples from build.

File last commit:

r11:b89840e63daa default
r12:17486c75e366 tip default
Show More
com_trolltech_qt_gui_builtin0.h
1167 lines | 72.6 KiB | text/x-c | CLexer
#include <PythonQt.h>
#include <QBrush>
#include <QMatrix>
#include <QObject>
#include <QPainterPath>
#include <QPixmap>
#include <QStringList>
#include <QVariant>
#include <qbitmap.h>
#include <qbrush.h>
#include <qbytearray.h>
#include <qcolor.h>
#include <qcursor.h>
#include <qdatastream.h>
#include <qfont.h>
#include <qicon.h>
#include <qiconengine.h>
#include <qimage.h>
#include <qimagereader.h>
#include <qimagewriter.h>
#include <qiodevice.h>
#include <qkeysequence.h>
#include <qline.h>
#include <qlist.h>
#include <qmatrix.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpainterpath.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qscreen.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstringlist.h>
#include <qtextformat.h>
#include <qtransform.h>
#include <qvector.h>
#include <qwindow.h>
class PythonQtShell_QBitmap : public QBitmap
{
public:
PythonQtShell_QBitmap():QBitmap(),_wrapper(NULL) {};
PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(NULL) {};
PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(NULL) {};
PythonQtShell_QBitmap(const QString& fileName, const char* format = 0):QBitmap(fileName, format),_wrapper(NULL) {};
PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(NULL) {};
~PythonQtShell_QBitmap();
virtual int devType() const;
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QPaintEngine* paintEngine() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QBitmap : public QObject
{ Q_OBJECT
public:
public slots:
QBitmap* new_QBitmap();
QBitmap* new_QBitmap(const QPixmap& arg__1);
QBitmap* new_QBitmap(const QSize& arg__1);
QBitmap* new_QBitmap(const QString& fileName, const char* format = 0);
QBitmap* new_QBitmap(int w, int h);
QBitmap* new_QBitmap(const QBitmap& other) {
PythonQtShell_QBitmap* a = new PythonQtShell_QBitmap();
*((QBitmap*)a) = other;
return a; }
void delete_QBitmap(QBitmap* obj) { delete obj; }
void clear(QBitmap* theWrappedObject);
QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor);
void swap(QBitmap* theWrappedObject, QBitmap& other);
QBitmap transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const;
QBitmap transformed(QBitmap* theWrappedObject, const QTransform& matrix) const;
bool __nonzero__(QBitmap* obj) { return !obj->isNull(); }
};
class PythonQtWrapper_QBrush : public QObject
{ Q_OBJECT
public:
public slots:
QBrush* new_QBrush();
QBrush* new_QBrush(Qt::BrushStyle bs);
QBrush* new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap);
QBrush* new_QBrush(const QBrush& brush);
QBrush* new_QBrush(const QColor& color, Qt::BrushStyle bs = Qt::SolidPattern);
QBrush* new_QBrush(const QColor& color, const QPixmap& pixmap);
QBrush* new_QBrush(const QGradient& gradient);
QBrush* new_QBrush(const QImage& image);
QBrush* new_QBrush(const QPixmap& pixmap);
void delete_QBrush(QBrush* obj) { delete obj; }
const QColor* color(QBrush* theWrappedObject) const;
const QGradient* gradient(QBrush* theWrappedObject) const;
bool isOpaque(QBrush* theWrappedObject) const;
const QMatrix* matrix(QBrush* theWrappedObject) const;
bool __ne__(QBrush* theWrappedObject, const QBrush& b) const;
void writeTo(QBrush* theWrappedObject, QDataStream& arg__1);
bool __eq__(QBrush* theWrappedObject, const QBrush& b) const;
void readFrom(QBrush* theWrappedObject, QDataStream& arg__1);
void setColor(QBrush* theWrappedObject, Qt::GlobalColor color);
void setColor(QBrush* theWrappedObject, const QColor& color);
void setMatrix(QBrush* theWrappedObject, const QMatrix& mat);
void setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1);
void setTexture(QBrush* theWrappedObject, const QPixmap& pixmap);
void setTextureImage(QBrush* theWrappedObject, const QImage& image);
void setTransform(QBrush* theWrappedObject, const QTransform& arg__1);
Qt::BrushStyle style(QBrush* theWrappedObject) const;
void swap(QBrush* theWrappedObject, QBrush& other);
QPixmap texture(QBrush* theWrappedObject) const;
QImage textureImage(QBrush* theWrappedObject) const;
QTransform transform(QBrush* theWrappedObject) const;
QString py_toString(QBrush*);
};
class PythonQtWrapper_QColor : public QObject
{ Q_OBJECT
public:
Q_ENUMS(NameFormat Spec )
enum NameFormat{
HexRgb = QColor::HexRgb, HexArgb = QColor::HexArgb};
enum Spec{
Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk, Hsl = QColor::Hsl};
public slots:
QColor* new_QColor();
QColor* new_QColor(Qt::GlobalColor color);
QColor* new_QColor(const QColor& color);
QColor* new_QColor(const QString& name);
QColor* new_QColor(int r, int g, int b, int a = 255);
QColor* new_QColor(unsigned int rgb);
void delete_QColor(QColor* obj) { delete obj; }
int alpha(QColor* theWrappedObject) const;
qreal alphaF(QColor* theWrappedObject) const;
int black(QColor* theWrappedObject) const;
qreal blackF(QColor* theWrappedObject) const;
int blue(QColor* theWrappedObject) const;
qreal blueF(QColor* theWrappedObject) const;
QStringList static_QColor_colorNames();
QColor convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const;
int cyan(QColor* theWrappedObject) const;
qreal cyanF(QColor* theWrappedObject) const;
QColor darker(QColor* theWrappedObject, int f = 200) const;
QColor static_QColor_fromCmyk(int c, int m, int y, int k, int a = 255);
QColor static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0);
QColor static_QColor_fromHsl(int h, int s, int l, int a = 255);
QColor static_QColor_fromHslF(qreal h, qreal s, qreal l, qreal a = 1.0);
QColor static_QColor_fromHsv(int h, int s, int v, int a = 255);
QColor static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0);
QColor static_QColor_fromRgb(int r, int g, int b, int a = 255);
QColor static_QColor_fromRgb(unsigned int rgb);
QColor static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0);
QColor static_QColor_fromRgba(unsigned int rgba);
void getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a = 0);
void getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a = 0) const;
void getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a = 0) const;
void getHsvF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* v, qreal* a = 0) const;
void getRgbF(QColor* theWrappedObject, qreal* r, qreal* g, qreal* b, qreal* a = 0) const;
int green(QColor* theWrappedObject) const;
qreal greenF(QColor* theWrappedObject) const;
int hslHue(QColor* theWrappedObject) const;
qreal hslHueF(QColor* theWrappedObject) const;
int hslSaturation(QColor* theWrappedObject) const;
qreal hslSaturationF(QColor* theWrappedObject) const;
int hsvHue(QColor* theWrappedObject) const;
qreal hsvHueF(QColor* theWrappedObject) const;
int hsvSaturation(QColor* theWrappedObject) const;
qreal hsvSaturationF(QColor* theWrappedObject) const;
int hue(QColor* theWrappedObject) const;
qreal hueF(QColor* theWrappedObject) const;
bool isValid(QColor* theWrappedObject) const;
bool static_QColor_isValidColor(const QString& name);
QColor lighter(QColor* theWrappedObject, int f = 150) const;
int lightness(QColor* theWrappedObject) const;
qreal lightnessF(QColor* theWrappedObject) const;
int magenta(QColor* theWrappedObject) const;
qreal magentaF(QColor* theWrappedObject) const;
QString name(QColor* theWrappedObject) const;
QString name(QColor* theWrappedObject, QColor::NameFormat format) const;
bool __ne__(QColor* theWrappedObject, const QColor& c) const;
void writeTo(QColor* theWrappedObject, QDataStream& arg__1);
bool __eq__(QColor* theWrappedObject, const QColor& c) const;
void readFrom(QColor* theWrappedObject, QDataStream& arg__1);
int red(QColor* theWrappedObject) const;
qreal redF(QColor* theWrappedObject) const;
unsigned int rgb(QColor* theWrappedObject) const;
unsigned int rgba(QColor* theWrappedObject) const;
int saturation(QColor* theWrappedObject) const;
qreal saturationF(QColor* theWrappedObject) const;
void setAlpha(QColor* theWrappedObject, int alpha);
void setAlphaF(QColor* theWrappedObject, qreal alpha);
void setBlue(QColor* theWrappedObject, int blue);
void setBlueF(QColor* theWrappedObject, qreal blue);
void setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a = 255);
void setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a = 1.0);
void setGreen(QColor* theWrappedObject, int green);
void setGreenF(QColor* theWrappedObject, qreal green);
void setHsl(QColor* theWrappedObject, int h, int s, int l, int a = 255);
void setHslF(QColor* theWrappedObject, qreal h, qreal s, qreal l, qreal a = 1.0);
void setHsv(QColor* theWrappedObject, int h, int s, int v, int a = 255);
void setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a = 1.0);
void setNamedColor(QColor* theWrappedObject, const QString& name);
void setRed(QColor* theWrappedObject, int red);
void setRedF(QColor* theWrappedObject, qreal red);
void setRgb(QColor* theWrappedObject, int r, int g, int b, int a = 255);
void setRgb(QColor* theWrappedObject, unsigned int rgb);
void setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a = 1.0);
void setRgba(QColor* theWrappedObject, unsigned int rgba);
QColor::Spec spec(QColor* theWrappedObject) const;
QColor toCmyk(QColor* theWrappedObject) const;
QColor toHsl(QColor* theWrappedObject) const;
QColor toHsv(QColor* theWrappedObject) const;
QColor toRgb(QColor* theWrappedObject) const;
int value(QColor* theWrappedObject) const;
qreal valueF(QColor* theWrappedObject) const;
int yellow(QColor* theWrappedObject) const;
qreal yellowF(QColor* theWrappedObject) const;
QString py_toString(QColor*);
};
class PythonQtWrapper_QCursor : public QObject
{ Q_OBJECT
public:
public slots:
QCursor* new_QCursor();
QCursor* new_QCursor(Qt::CursorShape shape);
QCursor* new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX = -1, int hotY = -1);
QCursor* new_QCursor(const QCursor& cursor);
QCursor* new_QCursor(const QPixmap& pixmap, int hotX = -1, int hotY = -1);
void delete_QCursor(QCursor* obj) { delete obj; }
const QBitmap* bitmap(QCursor* theWrappedObject) const;
QPoint hotSpot(QCursor* theWrappedObject) const;
const QBitmap* mask(QCursor* theWrappedObject) const;
void writeTo(QCursor* theWrappedObject, QDataStream& outS);
void readFrom(QCursor* theWrappedObject, QDataStream& inS);
QPixmap pixmap(QCursor* theWrappedObject) const;
QPoint static_QCursor_pos();
QPoint static_QCursor_pos(const QScreen* screen);
void static_QCursor_setPos(QScreen* screen, const QPoint& p);
void static_QCursor_setPos(QScreen* screen, int x, int y);
void static_QCursor_setPos(const QPoint& p);
void static_QCursor_setPos(int x, int y);
void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape);
Qt::CursorShape shape(QCursor* theWrappedObject) const;
QString py_toString(QCursor*);
};
class PythonQtWrapper_QFont : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Capitalization HintingPreference SpacingType Stretch Style StyleHint StyleStrategy Weight )
enum Capitalization{
MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize};
enum HintingPreference{
PreferDefaultHinting = QFont::PreferDefaultHinting, PreferNoHinting = QFont::PreferNoHinting, PreferVerticalHinting = QFont::PreferVerticalHinting, PreferFullHinting = QFont::PreferFullHinting};
enum SpacingType{
PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing};
enum Stretch{
UltraCondensed = QFont::UltraCondensed, ExtraCondensed = QFont::ExtraCondensed, Condensed = QFont::Condensed, SemiCondensed = QFont::SemiCondensed, Unstretched = QFont::Unstretched, SemiExpanded = QFont::SemiExpanded, Expanded = QFont::Expanded, ExtraExpanded = QFont::ExtraExpanded, UltraExpanded = QFont::UltraExpanded};
enum Style{
StyleNormal = QFont::StyleNormal, StyleItalic = QFont::StyleItalic, StyleOblique = QFont::StyleOblique};
enum StyleHint{
Helvetica = QFont::Helvetica, SansSerif = QFont::SansSerif, Times = QFont::Times, Serif = QFont::Serif, Courier = QFont::Courier, TypeWriter = QFont::TypeWriter, OldEnglish = QFont::OldEnglish, Decorative = QFont::Decorative, System = QFont::System, AnyStyle = QFont::AnyStyle, Cursive = QFont::Cursive, Monospace = QFont::Monospace, Fantasy = QFont::Fantasy};
enum StyleStrategy{
PreferDefault = QFont::PreferDefault, PreferBitmap = QFont::PreferBitmap, PreferDevice = QFont::PreferDevice, PreferOutline = QFont::PreferOutline, ForceOutline = QFont::ForceOutline, PreferMatch = QFont::PreferMatch, PreferQuality = QFont::PreferQuality, PreferAntialias = QFont::PreferAntialias, NoAntialias = QFont::NoAntialias, OpenGLCompatible = QFont::OpenGLCompatible, ForceIntegerMetrics = QFont::ForceIntegerMetrics, NoFontMerging = QFont::NoFontMerging};
enum Weight{
Light = QFont::Light, Normal = QFont::Normal, DemiBold = QFont::DemiBold, Bold = QFont::Bold, Black = QFont::Black};
public slots:
QFont* new_QFont();
QFont* new_QFont(const QFont& arg__1);
QFont* new_QFont(const QFont& arg__1, QPaintDevice* pd);
QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false);
void delete_QFont(QFont* obj) { delete obj; }
bool bold(QFont* theWrappedObject) const;
void static_QFont_cacheStatistics();
QFont::Capitalization capitalization(QFont* theWrappedObject) const;
void static_QFont_cleanup();
QString defaultFamily(QFont* theWrappedObject) const;
bool exactMatch(QFont* theWrappedObject) const;
QString family(QFont* theWrappedObject) const;
bool fixedPitch(QFont* theWrappedObject) const;
bool fromString(QFont* theWrappedObject, const QString& arg__1);
QFont::HintingPreference hintingPreference(QFont* theWrappedObject) const;
void static_QFont_initialize();
void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2);
void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2);
bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const;
bool italic(QFont* theWrappedObject) const;
bool kerning(QFont* theWrappedObject) const;
QString key(QFont* theWrappedObject) const;
QString lastResortFamily(QFont* theWrappedObject) const;
QString lastResortFont(QFont* theWrappedObject) const;
qreal letterSpacing(QFont* theWrappedObject) const;
QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const;
bool __ne__(QFont* theWrappedObject, const QFont& arg__1) const;
bool __lt__(QFont* theWrappedObject, const QFont& arg__1) const;
void writeTo(QFont* theWrappedObject, QDataStream& arg__1);
bool __eq__(QFont* theWrappedObject, const QFont& arg__1) const;
void readFrom(QFont* theWrappedObject, QDataStream& arg__1);
bool overline(QFont* theWrappedObject) const;
int pixelSize(QFont* theWrappedObject) const;
int pointSize(QFont* theWrappedObject) const;
qreal pointSizeF(QFont* theWrappedObject) const;
bool rawMode(QFont* theWrappedObject) const;
QString rawName(QFont* theWrappedObject) const;
void static_QFont_removeSubstitutions(const QString& arg__1);
uint resolve(QFont* theWrappedObject) const;
QFont resolve(QFont* theWrappedObject, const QFont& arg__1) const;
void resolve(QFont* theWrappedObject, uint mask);
void setBold(QFont* theWrappedObject, bool arg__1);
void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1);
void setFamily(QFont* theWrappedObject, const QString& arg__1);
void setFixedPitch(QFont* theWrappedObject, bool arg__1);
void setHintingPreference(QFont* theWrappedObject, QFont::HintingPreference hintingPreference);
void setItalic(QFont* theWrappedObject, bool b);
void setKerning(QFont* theWrappedObject, bool arg__1);
void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing);
void setOverline(QFont* theWrappedObject, bool arg__1);
void setPixelSize(QFont* theWrappedObject, int arg__1);
void setPointSize(QFont* theWrappedObject, int arg__1);
void setPointSizeF(QFont* theWrappedObject, qreal arg__1);
void setRawMode(QFont* theWrappedObject, bool arg__1);
void setRawName(QFont* theWrappedObject, const QString& arg__1);
void setStretch(QFont* theWrappedObject, int arg__1);
void setStrikeOut(QFont* theWrappedObject, bool arg__1);
void setStyle(QFont* theWrappedObject, QFont::Style style);
void setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault);
void setStyleName(QFont* theWrappedObject, const QString& arg__1);
void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s);
void setUnderline(QFont* theWrappedObject, bool arg__1);
void setWeight(QFont* theWrappedObject, int arg__1);
void setWordSpacing(QFont* theWrappedObject, qreal spacing);
int stretch(QFont* theWrappedObject) const;
bool strikeOut(QFont* theWrappedObject) const;
QFont::Style style(QFont* theWrappedObject) const;
QFont::StyleHint styleHint(QFont* theWrappedObject) const;
QString styleName(QFont* theWrappedObject) const;
QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const;
QString static_QFont_substitute(const QString& arg__1);
QStringList static_QFont_substitutes(const QString& arg__1);
QStringList static_QFont_substitutions();
void swap(QFont* theWrappedObject, QFont& other);
QString toString(QFont* theWrappedObject) const;
bool underline(QFont* theWrappedObject) const;
int weight(QFont* theWrappedObject) const;
qreal wordSpacing(QFont* theWrappedObject) const;
QString py_toString(QFont*);
};
class PythonQtWrapper_QIcon : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Mode State )
enum Mode{
Normal = QIcon::Normal, Disabled = QIcon::Disabled, Active = QIcon::Active, Selected = QIcon::Selected};
enum State{
On = QIcon::On, Off = QIcon::Off};
public slots:
QIcon* new_QIcon();
QIcon* new_QIcon(QIconEngine* engine);
QIcon* new_QIcon(const QIcon& other);
QIcon* new_QIcon(const QPixmap& pixmap);
QIcon* new_QIcon(const QString& fileName);
void delete_QIcon(QIcon* obj) { delete obj; }
QSize actualSize(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
QSize actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
void addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size = QSize(), QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off);
void addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off);
QList<QSize > availableSizes(QIcon* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
qint64 cacheKey(QIcon* theWrappedObject) const;
QIcon static_QIcon_fromTheme(const QString& name, const QIcon& fallback = QIcon());
bool static_QIcon_hasThemeIcon(const QString& name);
bool isNull(QIcon* theWrappedObject) const;
QString name(QIcon* theWrappedObject) const;
void writeTo(QIcon* theWrappedObject, QDataStream& arg__1);
void readFrom(QIcon* theWrappedObject, QDataStream& arg__1);
void paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
void paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
QPixmap pixmap(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
QPixmap pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
QPixmap pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
QPixmap pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const;
void static_QIcon_setThemeName(const QString& path);
void static_QIcon_setThemeSearchPaths(const QStringList& searchpath);
void swap(QIcon* theWrappedObject, QIcon& other);
QString static_QIcon_themeName();
QStringList static_QIcon_themeSearchPaths();
QString py_toString(QIcon*);
bool __nonzero__(QIcon* obj) { return !obj->isNull(); }
};
class PythonQtShell_QImage : public QImage
{
public:
PythonQtShell_QImage():QImage(),_wrapper(NULL) {};
PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(NULL) {};
PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(NULL) {};
PythonQtShell_QImage(const QString& fileName, const char* format = 0):QImage(fileName, format),_wrapper(NULL) {};
PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {};
~PythonQtShell_QImage();
virtual int devType() const;
virtual void initPainter(QPainter* painter) const;
virtual int metric(QPaintDevice::PaintDeviceMetric metric) const;
virtual QPaintEngine* paintEngine() const;
virtual QPaintDevice* redirected(QPoint* offset) const;
virtual QPainter* sharedPainter() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QImage : public QImage
{ public:
inline QImage promoted_convertToFormat_helper(QImage::Format format, Qt::ImageConversionFlags flags) const { return QImage::convertToFormat_helper(format, flags); }
inline bool promoted_convertToFormat_inplace(QImage::Format format, Qt::ImageConversionFlags flags) { return QImage::convertToFormat_inplace(format, flags); }
inline int promoted_devType() const { return QImage::devType(); }
inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QImage::metric(metric); }
inline QImage promoted_mirrored_helper(bool horizontal, bool vertical) const { return QImage::mirrored_helper(horizontal, vertical); }
inline void promoted_mirrored_inplace(bool horizontal, bool vertical) { QImage::mirrored_inplace(horizontal, vertical); }
inline QPaintEngine* promoted_paintEngine() const { return QImage::paintEngine(); }
inline QImage promoted_rgbSwapped_helper() const { return QImage::rgbSwapped_helper(); }
inline void promoted_rgbSwapped_inplace() { QImage::rgbSwapped_inplace(); }
};
class PythonQtWrapper_QImage : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Format InvertMode )
enum Format{
Format_Invalid = QImage::Format_Invalid, Format_Mono = QImage::Format_Mono, Format_MonoLSB = QImage::Format_MonoLSB, Format_Indexed8 = QImage::Format_Indexed8, Format_RGB32 = QImage::Format_RGB32, Format_ARGB32 = QImage::Format_ARGB32, Format_ARGB32_Premultiplied = QImage::Format_ARGB32_Premultiplied, Format_RGB16 = QImage::Format_RGB16, Format_ARGB8565_Premultiplied = QImage::Format_ARGB8565_Premultiplied, Format_RGB666 = QImage::Format_RGB666, Format_ARGB6666_Premultiplied = QImage::Format_ARGB6666_Premultiplied, Format_RGB555 = QImage::Format_RGB555, Format_ARGB8555_Premultiplied = QImage::Format_ARGB8555_Premultiplied, Format_RGB888 = QImage::Format_RGB888, Format_RGB444 = QImage::Format_RGB444, Format_ARGB4444_Premultiplied = QImage::Format_ARGB4444_Premultiplied, Format_RGBX8888 = QImage::Format_RGBX8888, Format_RGBA8888 = QImage::Format_RGBA8888, Format_RGBA8888_Premultiplied = QImage::Format_RGBA8888_Premultiplied, NImageFormats = QImage::NImageFormats};
enum InvertMode{
InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba};
public slots:
QImage* new_QImage();
QImage* new_QImage(const QImage& arg__1);
QImage* new_QImage(const QSize& size, QImage::Format format);
QImage* new_QImage(const QString& fileName, const char* format = 0);
QImage* new_QImage(int width, int height, QImage::Format format);
void delete_QImage(QImage* obj) { delete obj; }
bool allGray(QImage* theWrappedObject) const;
QImage alphaChannel(QImage* theWrappedObject) const;
int bitPlaneCount(QImage* theWrappedObject) const;
int byteCount(QImage* theWrappedObject) const;
int bytesPerLine(QImage* theWrappedObject) const;
qint64 cacheKey(QImage* theWrappedObject) const;
unsigned int color(QImage* theWrappedObject, int i) const;
int colorCount(QImage* theWrappedObject) const;
QVector<unsigned int > colorTable(QImage* theWrappedObject) const;
QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const;
QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector<unsigned int >& colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const;
QImage convertToFormat_helper(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) const;
bool convertToFormat_inplace(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags);
QImage copy(QImage* theWrappedObject, const QRect& rect = QRect()) const;
QImage copy(QImage* theWrappedObject, int x, int y, int w, int h) const;
QImage createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags = Qt::AutoColor) const;
QImage createHeuristicMask(QImage* theWrappedObject, bool clipTight = true) const;
QImage createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode = Qt::MaskInColor) const;
int depth(QImage* theWrappedObject) const;
int devType(QImage* theWrappedObject) const;
qreal devicePixelRatio(QImage* theWrappedObject) const;
int dotsPerMeterX(QImage* theWrappedObject) const;
int dotsPerMeterY(QImage* theWrappedObject) const;
void fill(QImage* theWrappedObject, Qt::GlobalColor color);
void fill(QImage* theWrappedObject, const QColor& color);
void fill(QImage* theWrappedObject, uint pixel);
QImage::Format format(QImage* theWrappedObject) const;
QImage static_QImage_fromData(const QByteArray& data, const char* format = 0);
bool hasAlphaChannel(QImage* theWrappedObject) const;
int height(QImage* theWrappedObject) const;
void invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1 = QImage::InvertRgb);
bool isGrayscale(QImage* theWrappedObject) const;
bool isNull(QImage* theWrappedObject) const;
bool load(QImage* theWrappedObject, QIODevice* device, const char* format);
bool load(QImage* theWrappedObject, const QString& fileName, const char* format = 0);
bool loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat = 0);
int metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const;
QImage mirrored(QImage* theWrappedObject, bool horizontally = false, bool vertically = true) const;
QImage mirrored_helper(QImage* theWrappedObject, bool horizontal, bool vertical) const;
void mirrored_inplace(QImage* theWrappedObject, bool horizontal, bool vertical);
QPoint offset(QImage* theWrappedObject) const;
bool __ne__(QImage* theWrappedObject, const QImage& arg__1) const;
void writeTo(QImage* theWrappedObject, QDataStream& arg__1);
bool __eq__(QImage* theWrappedObject, const QImage& arg__1) const;
void readFrom(QImage* theWrappedObject, QDataStream& arg__1);
QPaintEngine* paintEngine(QImage* theWrappedObject) const;
unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const;
unsigned int pixel(QImage* theWrappedObject, int x, int y) const;
int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const;
int pixelIndex(QImage* theWrappedObject, int x, int y) const;
QRect rect(QImage* theWrappedObject) const;
QImage rgbSwapped(QImage* theWrappedObject) const;
QImage rgbSwapped_helper(QImage* theWrappedObject) const;
void rgbSwapped_inplace(QImage* theWrappedObject);
bool save(QImage* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const;
bool save(QImage* theWrappedObject, const QString& fileName, const char* format = 0, int quality = -1) const;
QImage scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const;
QImage scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const;
QImage scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const;
QImage scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const;
void setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel);
void setColor(QImage* theWrappedObject, int i, unsigned int c);
void setColorCount(QImage* theWrappedObject, int arg__1);
void setDevicePixelRatio(QImage* theWrappedObject, qreal scaleFactor);
void setDotsPerMeterX(QImage* theWrappedObject, int arg__1);
void setDotsPerMeterY(QImage* theWrappedObject, int arg__1);
void setOffset(QImage* theWrappedObject, const QPoint& arg__1);
void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb);
void setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb);
void setText(QImage* theWrappedObject, const QString& key, const QString& value);
QSize size(QImage* theWrappedObject) const;
void swap(QImage* theWrappedObject, QImage& other);
QString text(QImage* theWrappedObject, const QString& key = QString()) const;
QStringList textKeys(QImage* theWrappedObject) const;
QImage transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const;
QImage transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const;
QMatrix static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h);
QTransform static_QImage_trueMatrix(const QTransform& arg__1, int w, int h);
bool valid(QImage* theWrappedObject, const QPoint& pt) const;
bool valid(QImage* theWrappedObject, int x, int y) const;
int width(QImage* theWrappedObject) const;
QString py_toString(QImage*);
bool __nonzero__(QImage* obj) { return !obj->isNull(); }
QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format )
{
QImage* image = new QImage(width, height, format);
memcpy(image->bits(), data, image->byteCount());
return image;
}
PyObject* bits(QImage* image) {
return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height());
}
#if QT_VERSION >= QT_VERSION_CHECK(4,7,0)
PyObject* constBits(QImage* image) {
return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->byteCount());
}
#endif
PyObject* scanLine(QImage* image, int line) {
return PythonQtPrivate::wrapMemoryAsBuffer(image->scanLine(line), image->bytesPerLine());
}
#if QT_VERSION >= QT_VERSION_CHECK(4,7,0)
PyObject* constScanLine(QImage* image, int line) {
return PythonQtPrivate::wrapMemoryAsBuffer(image->constScanLine(line), image->bytesPerLine());
}
#endif
};
class PythonQtWrapper_QKeySequence : public QObject
{ Q_OBJECT
public:
Q_ENUMS(SequenceFormat SequenceMatch StandardKey )
enum SequenceFormat{
NativeText = QKeySequence::NativeText, PortableText = QKeySequence::PortableText};
enum SequenceMatch{
NoMatch = QKeySequence::NoMatch, PartialMatch = QKeySequence::PartialMatch, ExactMatch = QKeySequence::ExactMatch};
enum StandardKey{
UnknownKey = QKeySequence::UnknownKey, HelpContents = QKeySequence::HelpContents, WhatsThis = QKeySequence::WhatsThis, Open = QKeySequence::Open, Close = QKeySequence::Close, Save = QKeySequence::Save, New = QKeySequence::New, Delete = QKeySequence::Delete, Cut = QKeySequence::Cut, Copy = QKeySequence::Copy, Paste = QKeySequence::Paste, Undo = QKeySequence::Undo, Redo = QKeySequence::Redo, Back = QKeySequence::Back, Forward = QKeySequence::Forward, Refresh = QKeySequence::Refresh, ZoomIn = QKeySequence::ZoomIn, ZoomOut = QKeySequence::ZoomOut, Print = QKeySequence::Print, AddTab = QKeySequence::AddTab, NextChild = QKeySequence::NextChild, PreviousChild = QKeySequence::PreviousChild, Find = QKeySequence::Find, FindNext = QKeySequence::FindNext, FindPrevious = QKeySequence::FindPrevious, Replace = QKeySequence::Replace, SelectAll = QKeySequence::SelectAll, Bold = QKeySequence::Bold, Italic = QKeySequence::Italic, Underline = QKeySequence::Underline, MoveToNextChar = QKeySequence::MoveToNextChar, MoveToPreviousChar = QKeySequence::MoveToPreviousChar, MoveToNextWord = QKeySequence::MoveToNextWord, MoveToPreviousWord = QKeySequence::MoveToPreviousWord, MoveToNextLine = QKeySequence::MoveToNextLine, MoveToPreviousLine = QKeySequence::MoveToPreviousLine, MoveToNextPage = QKeySequence::MoveToNextPage, MoveToPreviousPage = QKeySequence::MoveToPreviousPage, MoveToStartOfLine = QKeySequence::MoveToStartOfLine, MoveToEndOfLine = QKeySequence::MoveToEndOfLine, MoveToStartOfBlock = QKeySequence::MoveToStartOfBlock, MoveToEndOfBlock = QKeySequence::MoveToEndOfBlock, MoveToStartOfDocument = QKeySequence::MoveToStartOfDocument, MoveToEndOfDocument = QKeySequence::MoveToEndOfDocument, SelectNextChar = QKeySequence::SelectNextChar, SelectPreviousChar = QKeySequence::SelectPreviousChar, SelectNextWord = QKeySequence::SelectNextWord, SelectPreviousWord = QKeySequence::SelectPreviousWord, SelectNextLine = QKeySequence::SelectNextLine, SelectPreviousLine = QKeySequence::SelectPreviousLine, SelectNextPage = QKeySequence::SelectNextPage, SelectPreviousPage = QKeySequence::SelectPreviousPage, SelectStartOfLine = QKeySequence::SelectStartOfLine, SelectEndOfLine = QKeySequence::SelectEndOfLine, SelectStartOfBlock = QKeySequence::SelectStartOfBlock, SelectEndOfBlock = QKeySequence::SelectEndOfBlock, SelectStartOfDocument = QKeySequence::SelectStartOfDocument, SelectEndOfDocument = QKeySequence::SelectEndOfDocument, DeleteStartOfWord = QKeySequence::DeleteStartOfWord, DeleteEndOfWord = QKeySequence::DeleteEndOfWord, DeleteEndOfLine = QKeySequence::DeleteEndOfLine, InsertParagraphSeparator = QKeySequence::InsertParagraphSeparator, InsertLineSeparator = QKeySequence::InsertLineSeparator, SaveAs = QKeySequence::SaveAs, Preferences = QKeySequence::Preferences, Quit = QKeySequence::Quit, FullScreen = QKeySequence::FullScreen, Deselect = QKeySequence::Deselect, DeleteCompleteLine = QKeySequence::DeleteCompleteLine};
public slots:
QKeySequence* new_QKeySequence();
QKeySequence* new_QKeySequence(QKeySequence::StandardKey key);
QKeySequence* new_QKeySequence(const QKeySequence& ks);
QKeySequence* new_QKeySequence(const QString& key, QKeySequence::SequenceFormat format = QKeySequence::NativeText);
QKeySequence* new_QKeySequence(int k1, int k2 = 0, int k3 = 0, int k4 = 0);
void delete_QKeySequence(QKeySequence* obj) { delete obj; }
int count(QKeySequence* theWrappedObject) const;
QKeySequence static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText);
bool isEmpty(QKeySequence* theWrappedObject) const;
QList<QKeySequence > static_QKeySequence_keyBindings(QKeySequence::StandardKey key);
QList<QKeySequence > static_QKeySequence_listFromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText);
QString static_QKeySequence_listToString(const QList<QKeySequence >& list, QKeySequence::SequenceFormat format = QKeySequence::PortableText);
QKeySequence::SequenceMatch matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const;
QKeySequence static_QKeySequence_mnemonic(const QString& text);
bool __ne__(QKeySequence* theWrappedObject, const QKeySequence& other) const;
bool __lt__(QKeySequence* theWrappedObject, const QKeySequence& ks) const;
void writeTo(QKeySequence* theWrappedObject, QDataStream& in);
bool __le__(QKeySequence* theWrappedObject, const QKeySequence& other) const;
bool __eq__(QKeySequence* theWrappedObject, const QKeySequence& other) const;
bool __gt__(QKeySequence* theWrappedObject, const QKeySequence& other) const;
bool __ge__(QKeySequence* theWrappedObject, const QKeySequence& other) const;
void readFrom(QKeySequence* theWrappedObject, QDataStream& out);
int operator_subscript(QKeySequence* theWrappedObject, uint i) const;
void swap(QKeySequence* theWrappedObject, QKeySequence& other);
QString toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format = QKeySequence::PortableText) const;
QString py_toString(QKeySequence*);
};
class PythonQtWrapper_QMatrix : public QObject
{ Q_OBJECT
public:
public slots:
QMatrix* new_QMatrix();
QMatrix* new_QMatrix(const QMatrix& matrix);
QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy);
void delete_QMatrix(QMatrix* obj) { delete obj; }
qreal determinant(QMatrix* theWrappedObject) const;
qreal dx(QMatrix* theWrappedObject) const;
qreal dy(QMatrix* theWrappedObject) const;
QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = 0) const;
bool isIdentity(QMatrix* theWrappedObject) const;
bool isInvertible(QMatrix* theWrappedObject) const;
qreal m11(QMatrix* theWrappedObject) const;
qreal m12(QMatrix* theWrappedObject) const;
qreal m21(QMatrix* theWrappedObject) const;
qreal m22(QMatrix* theWrappedObject) const;
QLine map(QMatrix* theWrappedObject, const QLine& l) const;
QLineF map(QMatrix* theWrappedObject, const QLineF& l) const;
QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const;
QPoint map(QMatrix* theWrappedObject, const QPoint& p) const;
QPointF map(QMatrix* theWrappedObject, const QPointF& p) const;
QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const;
QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const;
QRegion map(QMatrix* theWrappedObject, const QRegion& r) const;
void map(QMatrix* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) const;
QRect mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const;
QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const;
QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const;
bool __ne__(QMatrix* theWrappedObject, const QMatrix& arg__1) const;
QMatrix __mul__(QMatrix* theWrappedObject, const QMatrix& o) const;
QMatrix* __imul__(QMatrix* theWrappedObject, const QMatrix& arg__1);
void writeTo(QMatrix* theWrappedObject, QDataStream& arg__1);
bool __eq__(QMatrix* theWrappedObject, const QMatrix& arg__1) const;
void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1);
void reset(QMatrix* theWrappedObject);
QMatrix* rotate(QMatrix* theWrappedObject, qreal a);
QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy);
void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy);
QMatrix* shear(QMatrix* theWrappedObject, qreal sh, qreal sv);
QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy);
QString py_toString(QMatrix*);
};
class PythonQtWrapper_QPalette : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ColorGroup ColorRole )
enum ColorGroup{
Active = QPalette::Active, Disabled = QPalette::Disabled, Inactive = QPalette::Inactive, NColorGroups = QPalette::NColorGroups, Current = QPalette::Current, All = QPalette::All, Normal = QPalette::Normal};
enum ColorRole{
WindowText = QPalette::WindowText, Button = QPalette::Button, Light = QPalette::Light, Midlight = QPalette::Midlight, Dark = QPalette::Dark, Mid = QPalette::Mid, Text = QPalette::Text, BrightText = QPalette::BrightText, ButtonText = QPalette::ButtonText, Base = QPalette::Base, Window = QPalette::Window, Shadow = QPalette::Shadow, Highlight = QPalette::Highlight, HighlightedText = QPalette::HighlightedText, Link = QPalette::Link, LinkVisited = QPalette::LinkVisited, AlternateBase = QPalette::AlternateBase, NoRole = QPalette::NoRole, ToolTipBase = QPalette::ToolTipBase, ToolTipText = QPalette::ToolTipText, NColorRoles = QPalette::NColorRoles, Foreground = QPalette::Foreground, Background = QPalette::Background};
public slots:
QPalette* new_QPalette();
QPalette* new_QPalette(Qt::GlobalColor button);
QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window);
QPalette* new_QPalette(const QColor& button);
QPalette* new_QPalette(const QColor& button, const QColor& window);
QPalette* new_QPalette(const QPalette& palette);
void delete_QPalette(QPalette* obj) { delete obj; }
const QBrush* alternateBase(QPalette* theWrappedObject) const;
const QBrush* base(QPalette* theWrappedObject) const;
const QBrush* brightText(QPalette* theWrappedObject) const;
const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const;
const QBrush* button(QPalette* theWrappedObject) const;
const QBrush* buttonText(QPalette* theWrappedObject) const;
qint64 cacheKey(QPalette* theWrappedObject) const;
const QColor* color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
const QColor* color(QPalette* theWrappedObject, QPalette::ColorRole cr) const;
QPalette::ColorGroup currentColorGroup(QPalette* theWrappedObject) const;
const QBrush* dark(QPalette* theWrappedObject) const;
const QBrush* highlight(QPalette* theWrappedObject) const;
const QBrush* highlightedText(QPalette* theWrappedObject) const;
bool isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
bool isCopyOf(QPalette* theWrappedObject, const QPalette& p) const;
bool isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const;
const QBrush* light(QPalette* theWrappedObject) const;
const QBrush* link(QPalette* theWrappedObject) const;
const QBrush* linkVisited(QPalette* theWrappedObject) const;
const QBrush* mid(QPalette* theWrappedObject) const;
const QBrush* midlight(QPalette* theWrappedObject) const;
bool __ne__(QPalette* theWrappedObject, const QPalette& p) const;
void writeTo(QPalette* theWrappedObject, QDataStream& ds);
bool __eq__(QPalette* theWrappedObject, const QPalette& p) const;
void readFrom(QPalette* theWrappedObject, QDataStream& ds);
uint resolve(QPalette* theWrappedObject) const;
QPalette resolve(QPalette* theWrappedObject, const QPalette& arg__1) const;
void resolve(QPalette* theWrappedObject, uint mask);
void setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush);
void setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush);
void setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color);
void setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color);
void setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window);
void setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg);
const QBrush* shadow(QPalette* theWrappedObject) const;
void swap(QPalette* theWrappedObject, QPalette& other);
const QBrush* text(QPalette* theWrappedObject) const;
const QBrush* toolTipBase(QPalette* theWrappedObject) const;
const QBrush* toolTipText(QPalette* theWrappedObject) const;
const QBrush* window(QPalette* theWrappedObject) const;
const QBrush* windowText(QPalette* theWrappedObject) const;
QString py_toString(QPalette*);
};
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; }
QBrush brush(QPen* theWrappedObject) const;
Qt::PenCapStyle capStyle(QPen* theWrappedObject) const;
QColor color(QPen* theWrappedObject) const;
qreal dashOffset(QPen* theWrappedObject) const;
QVector<qreal > dashPattern(QPen* theWrappedObject) const;
bool isCosmetic(QPen* theWrappedObject) const;
bool isSolid(QPen* theWrappedObject) const;
Qt::PenJoinStyle joinStyle(QPen* theWrappedObject) const;
qreal miterLimit(QPen* theWrappedObject) const;
bool __ne__(QPen* theWrappedObject, const QPen& p) const;
void writeTo(QPen* theWrappedObject, QDataStream& arg__1);
bool __eq__(QPen* theWrappedObject, const QPen& p) const;
void readFrom(QPen* theWrappedObject, QDataStream& arg__1);
void setBrush(QPen* theWrappedObject, const QBrush& brush);
void setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs);
void setColor(QPen* theWrappedObject, const QColor& color);
void setCosmetic(QPen* theWrappedObject, bool cosmetic);
void setDashOffset(QPen* theWrappedObject, qreal doffset);
void setDashPattern(QPen* theWrappedObject, const QVector<qreal >& pattern);
void setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs);
void setMiterLimit(QPen* theWrappedObject, qreal limit);
void setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1);
void setWidth(QPen* theWrappedObject, int width);
void setWidthF(QPen* theWrappedObject, qreal width);
Qt::PenStyle style(QPen* theWrappedObject) const;
void swap(QPen* theWrappedObject, QPen& other);
int width(QPen* theWrappedObject) const;
qreal widthF(QPen* theWrappedObject) const;
QString py_toString(QPen*);
};
class PythonQtShell_QPixmap : public QPixmap
{
public:
PythonQtShell_QPixmap():QPixmap(),_wrapper(NULL) {};
PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(NULL) {};
PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(NULL) {};
PythonQtShell_QPixmap(const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(NULL) {};
PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(NULL) {};
~PythonQtShell_QPixmap();
virtual int devType() const;
virtual void initPainter(QPainter* painter) const;
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QPaintEngine* paintEngine() const;
virtual QPaintDevice* redirected(QPoint* offset) const;
virtual QPainter* sharedPainter() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QPixmap : public QPixmap
{ public:
inline int promoted_devType() const { return QPixmap::devType(); }
static inline QPixmap promoted_fromImageInPlace(QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor) { return QPixmap::fromImageInPlace(image, flags); }
inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPixmap::metric(arg__1); }
inline QPaintEngine* promoted_paintEngine() const { return QPixmap::paintEngine(); }
};
class PythonQtWrapper_QPixmap : public QObject
{ Q_OBJECT
public:
public slots:
QPixmap* new_QPixmap();
QPixmap* new_QPixmap(const QPixmap& arg__1);
QPixmap* new_QPixmap(const QSize& arg__1);
QPixmap* new_QPixmap(const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor);
QPixmap* new_QPixmap(int w, int h);
void delete_QPixmap(QPixmap* obj) { delete obj; }
qint64 cacheKey(QPixmap* theWrappedObject) const;
bool convertFromImage(QPixmap* theWrappedObject, const QImage& img, Qt::ImageConversionFlags flags = Qt::AutoColor);
QPixmap copy(QPixmap* theWrappedObject, const QRect& rect = QRect()) const;
QPixmap copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const;
QBitmap createHeuristicMask(QPixmap* theWrappedObject, bool clipTight = true) const;
QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode = Qt::MaskInColor) const;
int static_QPixmap_defaultDepth();
int depth(QPixmap* theWrappedObject) const;
int devType(QPixmap* theWrappedObject) const;
qreal devicePixelRatio(QPixmap* theWrappedObject) const;
void fill(QPixmap* theWrappedObject, const QColor& fillColor = Qt::white);
void fill(QPixmap* theWrappedObject, const QPaintDevice* device, const QPoint& ofs);
void fill(QPixmap* theWrappedObject, const QPaintDevice* device, int xofs, int yofs);
QPixmap static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor);
QPixmap static_QPixmap_fromImageInPlace(QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor);
QPixmap static_QPixmap_fromImageReader(QImageReader* imageReader, Qt::ImageConversionFlags flags = Qt::AutoColor);
QPixmap static_QPixmap_grabWidget(QObject* widget, const QRect& rect);
QPixmap static_QPixmap_grabWidget(QObject* widget, int x = 0, int y = 0, int w = -1, int h = -1);
QPixmap static_QPixmap_grabWindow(WId arg__1, int x = 0, int y = 0, int w = -1, int h = -1);
bool hasAlpha(QPixmap* theWrappedObject) const;
bool hasAlphaChannel(QPixmap* theWrappedObject) const;
int height(QPixmap* theWrappedObject) const;
bool isNull(QPixmap* theWrappedObject) const;
bool isQBitmap(QPixmap* theWrappedObject) const;
bool load(QPixmap* theWrappedObject, const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor);
bool loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor);
QBitmap mask(QPixmap* theWrappedObject) const;
int metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const;
void writeTo(QPixmap* theWrappedObject, QDataStream& arg__1);
void readFrom(QPixmap* theWrappedObject, QDataStream& arg__1);
QPaintEngine* paintEngine(QPixmap* theWrappedObject) const;
QRect rect(QPixmap* theWrappedObject) const;
bool save(QPixmap* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const;
bool save(QPixmap* theWrappedObject, const QString& fileName, const char* format = 0, int quality = -1) const;
QPixmap scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const;
QPixmap scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const;
QPixmap scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const;
QPixmap scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const;
void scroll(QPixmap* theWrappedObject, int dx, int dy, const QRect& rect, QRegion* exposed = 0);
void scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed = 0);
void setDevicePixelRatio(QPixmap* theWrappedObject, qreal scaleFactor);
void setMask(QPixmap* theWrappedObject, const QBitmap& arg__1);
QSize size(QPixmap* theWrappedObject) const;
void swap(QPixmap* theWrappedObject, QPixmap& other);
QImage toImage(QPixmap* theWrappedObject) const;
QPixmap transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode) const;
QPixmap transformed(QPixmap* theWrappedObject, const QTransform& arg__1, Qt::TransformationMode mode) const;
QMatrix static_QPixmap_trueMatrix(const QMatrix& m, int w, int h);
QTransform static_QPixmap_trueMatrix(const QTransform& m, int w, int h);
int width(QPixmap* theWrappedObject) const;
QString py_toString(QPixmap*);
bool __nonzero__(QPixmap* obj) { return !obj->isNull(); }
};
class PythonQtWrapper_QPolygon : public QObject
{ Q_OBJECT
public:
public slots:
QPolygon* new_QPolygon();
QPolygon* new_QPolygon(const QPolygon& a);
QPolygon* new_QPolygon(const QRect& r, bool closed = false);
QPolygon* new_QPolygon(const QVector<QPoint >& v);
QPolygon* new_QPolygon(int size);
void delete_QPolygon(QPolygon* obj) { delete obj; }
void append(QPolygon* theWrappedObject, const QPoint& t);
const QPoint* at(QPolygon* theWrappedObject, int i) const;
QRect boundingRect(QPolygon* theWrappedObject) const;
int capacity(QPolygon* theWrappedObject) const;
void clear(QPolygon* theWrappedObject);
bool contains(QPolygon* theWrappedObject, const QPoint& t) const;
bool containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const;
int count(QPolygon* theWrappedObject) const;
int count(QPolygon* theWrappedObject, const QPoint& t) const;
bool empty(QPolygon* theWrappedObject) const;
bool endsWith(QPolygon* theWrappedObject, const QPoint& t) const;
QVector<QPoint >* fill(QPolygon* theWrappedObject, const QPoint& t, int size = -1);
const QPoint* first(QPolygon* theWrappedObject) const;
QVector<QPoint > static_QPolygon_fromList(const QList<QPoint >& list);
int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from = 0) const;
QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const;
bool isEmpty(QPolygon* theWrappedObject) const;
bool isSharedWith(QPolygon* theWrappedObject, const QVector<QPoint >& other) const;
const QPoint* last(QPolygon* theWrappedObject) const;
int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from = -1) const;
int length(QPolygon* theWrappedObject) const;
QVector<QPoint > mid(QPolygon* theWrappedObject, int pos, int len = -1) const;
bool __ne__(QPolygon* theWrappedObject, const QVector<QPoint >& v) const;
QPolygon __mul__(QPolygon* theWrappedObject, const QMatrix& m);
QPolygon __mul__(QPolygon* theWrappedObject, const QTransform& m);
void writeTo(QPolygon* theWrappedObject, QDataStream& stream);
bool __eq__(QPolygon* theWrappedObject, const QVector<QPoint >& v) const;
void readFrom(QPolygon* theWrappedObject, QDataStream& stream);
void pop_back(QPolygon* theWrappedObject);
void pop_front(QPolygon* theWrappedObject);
void prepend(QPolygon* theWrappedObject, const QPoint& t);
void push_back(QPolygon* theWrappedObject, const QPoint& t);
void push_front(QPolygon* theWrappedObject, const QPoint& t);
void remove(QPolygon* theWrappedObject, int i);
void remove(QPolygon* theWrappedObject, int i, int n);
void removeAt(QPolygon* theWrappedObject, int i);
void removeFirst(QPolygon* theWrappedObject);
void removeLast(QPolygon* theWrappedObject);
void replace(QPolygon* theWrappedObject, int i, const QPoint& t);
void reserve(QPolygon* theWrappedObject, int size);
void resize(QPolygon* theWrappedObject, int size);
void setSharable(QPolygon* theWrappedObject, bool sharable);
int size(QPolygon* theWrappedObject) const;
void squeeze(QPolygon* theWrappedObject);
bool startsWith(QPolygon* theWrappedObject, const QPoint& t) const;
QPolygon subtracted(QPolygon* theWrappedObject, const QPolygon& r) const;
void swap(QPolygon* theWrappedObject, QPolygon& other);
QPoint takeAt(QPolygon* theWrappedObject, int i);
QPoint takeFirst(QPolygon* theWrappedObject);
QPoint takeLast(QPolygon* theWrappedObject);
QList<QPoint > toList(QPolygon* theWrappedObject) const;
void translate(QPolygon* theWrappedObject, const QPoint& offset);
void translate(QPolygon* theWrappedObject, int dx, int dy);
QPolygon translated(QPolygon* theWrappedObject, const QPoint& offset) const;
QPolygon translated(QPolygon* theWrappedObject, int dx, int dy) const;
QPolygon united(QPolygon* theWrappedObject, const QPolygon& r) const;
QPoint value(QPolygon* theWrappedObject, int i) const;
QPoint value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const;
QString py_toString(QPolygon*);
};
class PythonQtWrapper_QRegion : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RegionType )
enum RegionType{
Rectangle = QRegion::Rectangle, Ellipse = QRegion::Ellipse};
public slots:
QRegion* new_QRegion();
QRegion* new_QRegion(const QBitmap& bitmap);
QRegion* new_QRegion(const QPolygon& pa, Qt::FillRule fillRule = Qt::OddEvenFill);
QRegion* new_QRegion(const QRect& r, QRegion::RegionType t = QRegion::Rectangle);
QRegion* new_QRegion(const QRegion& region);
QRegion* new_QRegion(int x, int y, int w, int h, QRegion::RegionType t = QRegion::Rectangle);
void delete_QRegion(QRegion* obj) { delete obj; }
QRect boundingRect(QRegion* theWrappedObject) const;
bool contains(QRegion* theWrappedObject, const QPoint& p) const;
bool contains(QRegion* theWrappedObject, const QRect& r) const;
QRegion intersected(QRegion* theWrappedObject, const QRect& r) const;
QRegion intersected(QRegion* theWrappedObject, const QRegion& r) const;
bool intersects(QRegion* theWrappedObject, const QRect& r) const;
bool intersects(QRegion* theWrappedObject, const QRegion& r) const;
bool isEmpty(QRegion* theWrappedObject) const;
bool isNull(QRegion* theWrappedObject) const;
bool __ne__(QRegion* theWrappedObject, const QRegion& r) const;
const QRegion __and__(QRegion* theWrappedObject, const QRect& r) const;
QRegion __mul__(QRegion* theWrappedObject, const QMatrix& m);
QRegion __mul__(QRegion* theWrappedObject, const QTransform& m);
const QRegion __add__(QRegion* theWrappedObject, const QRect& r) const;
void writeTo(QRegion* theWrappedObject, QDataStream& arg__1);
bool __eq__(QRegion* theWrappedObject, const QRegion& r) const;
void readFrom(QRegion* theWrappedObject, QDataStream& arg__1);
int rectCount(QRegion* theWrappedObject) const;
QVector<QRect > rects(QRegion* theWrappedObject) const;
void setRects(QRegion* theWrappedObject, const QRect* rect, int num);
QRegion subtracted(QRegion* theWrappedObject, const QRegion& r) const;
void swap(QRegion* theWrappedObject, QRegion& other);
void translate(QRegion* theWrappedObject, const QPoint& p);
void translate(QRegion* theWrappedObject, int dx, int dy);
QRegion translated(QRegion* theWrappedObject, const QPoint& p) const;
QRegion translated(QRegion* theWrappedObject, int dx, int dy) const;
QRegion united(QRegion* theWrappedObject, const QRect& r) const;
QRegion united(QRegion* theWrappedObject, const QRegion& r) const;
QRegion xored(QRegion* theWrappedObject, const QRegion& r) const;
QString py_toString(QRegion*);
bool __nonzero__(QRegion* obj) { return !obj->isNull(); }
};
class PythonQtWrapper_QSizePolicy : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ControlType Policy PolicyFlag )
Q_FLAGS(ControlTypes )
enum ControlType{
DefaultType = QSizePolicy::DefaultType, ButtonBox = QSizePolicy::ButtonBox, CheckBox = QSizePolicy::CheckBox, ComboBox = QSizePolicy::ComboBox, Frame = QSizePolicy::Frame, GroupBox = QSizePolicy::GroupBox, Label = QSizePolicy::Label, Line = QSizePolicy::Line, LineEdit = QSizePolicy::LineEdit, PushButton = QSizePolicy::PushButton, RadioButton = QSizePolicy::RadioButton, Slider = QSizePolicy::Slider, SpinBox = QSizePolicy::SpinBox, TabWidget = QSizePolicy::TabWidget, ToolButton = QSizePolicy::ToolButton};
enum Policy{
Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored};
enum PolicyFlag{
GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag};
Q_DECLARE_FLAGS(ControlTypes, ControlType)
public slots:
QSizePolicy* new_QSizePolicy();
QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type = QSizePolicy::DefaultType);
QSizePolicy* new_QSizePolicy(const QSizePolicy& other) {
QSizePolicy* a = new QSizePolicy();
*((QSizePolicy*)a) = other;
return a; }
void delete_QSizePolicy(QSizePolicy* obj) { delete obj; }
QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const;
Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const;
bool hasHeightForWidth(QSizePolicy* theWrappedObject) const;
bool hasWidthForHeight(QSizePolicy* theWrappedObject) const;
QSizePolicy::Policy horizontalPolicy(QSizePolicy* theWrappedObject) const;
int horizontalStretch(QSizePolicy* theWrappedObject) const;
bool __ne__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const;
void writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1);
bool __eq__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const;
void readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1);
bool retainSizeWhenHidden(QSizePolicy* theWrappedObject) const;
void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type);
void setHeightForWidth(QSizePolicy* theWrappedObject, bool b);
void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d);
void setHorizontalStretch(QSizePolicy* theWrappedObject, int stretchFactor);
void setRetainSizeWhenHidden(QSizePolicy* theWrappedObject, bool retainSize);
void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d);
void setVerticalStretch(QSizePolicy* theWrappedObject, int stretchFactor);
void setWidthForHeight(QSizePolicy* theWrappedObject, bool b);
void transpose(QSizePolicy* theWrappedObject);
QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const;
int verticalStretch(QSizePolicy* theWrappedObject) const;
QString py_toString(QSizePolicy*);
};
class PythonQtWrapper_QTextFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(FormatType ObjectTypes PageBreakFlag Property )
Q_FLAGS(PageBreakFlags )
enum FormatType{
InvalidFormat = QTextFormat::InvalidFormat, BlockFormat = QTextFormat::BlockFormat, CharFormat = QTextFormat::CharFormat, ListFormat = QTextFormat::ListFormat, TableFormat = QTextFormat::TableFormat, FrameFormat = QTextFormat::FrameFormat, UserFormat = QTextFormat::UserFormat};
enum ObjectTypes{
NoObject = QTextFormat::NoObject, ImageObject = QTextFormat::ImageObject, TableObject = QTextFormat::TableObject, TableCellObject = QTextFormat::TableCellObject, UserObject = QTextFormat::UserObject};
enum PageBreakFlag{
PageBreak_Auto = QTextFormat::PageBreak_Auto, PageBreak_AlwaysBefore = QTextFormat::PageBreak_AlwaysBefore, PageBreak_AlwaysAfter = QTextFormat::PageBreak_AlwaysAfter};
enum Property{
ObjectIndex = QTextFormat::ObjectIndex, CssFloat = QTextFormat::CssFloat, LayoutDirection = QTextFormat::LayoutDirection, OutlinePen = QTextFormat::OutlinePen, BackgroundBrush = QTextFormat::BackgroundBrush, ForegroundBrush = QTextFormat::ForegroundBrush, BackgroundImageUrl = QTextFormat::BackgroundImageUrl, BlockAlignment = QTextFormat::BlockAlignment, BlockTopMargin = QTextFormat::BlockTopMargin, BlockBottomMargin = QTextFormat::BlockBottomMargin, BlockLeftMargin = QTextFormat::BlockLeftMargin, BlockRightMargin = QTextFormat::BlockRightMargin, TextIndent = QTextFormat::TextIndent, TabPositions = QTextFormat::TabPositions, BlockIndent = QTextFormat::BlockIndent, LineHeight = QTextFormat::LineHeight, LineHeightType = QTextFormat::LineHeightType, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacingType = QTextFormat::FontLetterSpacingType, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontStretch = QTextFormat::FontStretch, FontStyleHint = QTextFormat::FontStyleHint, FontStyleStrategy = QTextFormat::FontStyleStrategy, FontKerning = QTextFormat::FontKerning, FontHintingPreference = QTextFormat::FontHintingPreference, FontFamily = QTextFormat::FontFamily, FontPointSize = QTextFormat::FontPointSize, FontSizeAdjustment = QTextFormat::FontSizeAdjustment, FontSizeIncrement = QTextFormat::FontSizeIncrement, FontWeight = QTextFormat::FontWeight, FontItalic = QTextFormat::FontItalic, FontUnderline = QTextFormat::FontUnderline, FontOverline = QTextFormat::FontOverline, FontStrikeOut = QTextFormat::FontStrikeOut, FontFixedPitch = QTextFormat::FontFixedPitch, FontPixelSize = QTextFormat::FontPixelSize, LastFontProperty = QTextFormat::LastFontProperty, TextUnderlineColor = QTextFormat::TextUnderlineColor, TextVerticalAlignment = QTextFormat::TextVerticalAlignment, TextOutline = QTextFormat::TextOutline, TextUnderlineStyle = QTextFormat::TextUnderlineStyle, TextToolTip = QTextFormat::TextToolTip, IsAnchor = QTextFormat::IsAnchor, AnchorHref = QTextFormat::AnchorHref, AnchorName = QTextFormat::AnchorName, ObjectType = QTextFormat::ObjectType, ListStyle = QTextFormat::ListStyle, ListIndent = QTextFormat::ListIndent, ListNumberPrefix = QTextFormat::ListNumberPrefix, ListNumberSuffix = QTextFormat::ListNumberSuffix, FrameBorder = QTextFormat::FrameBorder, FrameMargin = QTextFormat::FrameMargin, FramePadding = QTextFormat::FramePadding, FrameWidth = QTextFormat::FrameWidth, FrameHeight = QTextFormat::FrameHeight, FrameTopMargin = QTextFormat::FrameTopMargin, FrameBottomMargin = QTextFormat::FrameBottomMargin, FrameLeftMargin = QTextFormat::FrameLeftMargin, FrameRightMargin = QTextFormat::FrameRightMargin, FrameBorderBrush = QTextFormat::FrameBorderBrush, FrameBorderStyle = QTextFormat::FrameBorderStyle, TableColumns = QTextFormat::TableColumns, TableColumnWidthConstraints = QTextFormat::TableColumnWidthConstraints, TableCellSpacing = QTextFormat::TableCellSpacing, TableCellPadding = QTextFormat::TableCellPadding, TableHeaderRowCount = QTextFormat::TableHeaderRowCount, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, ImageName = QTextFormat::ImageName, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty};
Q_DECLARE_FLAGS(PageBreakFlags, PageBreakFlag)
public slots:
QTextFormat* new_QTextFormat();
QTextFormat* new_QTextFormat(const QTextFormat& rhs);
QTextFormat* new_QTextFormat(int type);
void delete_QTextFormat(QTextFormat* obj) { delete obj; }
QBrush background(QTextFormat* theWrappedObject) const;
bool boolProperty(QTextFormat* theWrappedObject, int propertyId) const;
QBrush brushProperty(QTextFormat* theWrappedObject, int propertyId) const;
void clearBackground(QTextFormat* theWrappedObject);
void clearForeground(QTextFormat* theWrappedObject);
void clearProperty(QTextFormat* theWrappedObject, int propertyId);
QColor colorProperty(QTextFormat* theWrappedObject, int propertyId) const;
qreal doubleProperty(QTextFormat* theWrappedObject, int propertyId) const;
QBrush foreground(QTextFormat* theWrappedObject) const;
bool hasProperty(QTextFormat* theWrappedObject, int propertyId) const;
int intProperty(QTextFormat* theWrappedObject, int propertyId) const;
bool isBlockFormat(QTextFormat* theWrappedObject) const;
bool isCharFormat(QTextFormat* theWrappedObject) const;
bool isEmpty(QTextFormat* theWrappedObject) const;
bool isFrameFormat(QTextFormat* theWrappedObject) const;
bool isImageFormat(QTextFormat* theWrappedObject) const;
bool isListFormat(QTextFormat* theWrappedObject) const;
bool isTableCellFormat(QTextFormat* theWrappedObject) const;
bool isTableFormat(QTextFormat* theWrappedObject) const;
bool isValid(QTextFormat* theWrappedObject) const;
Qt::LayoutDirection layoutDirection(QTextFormat* theWrappedObject) const;
QTextLength lengthProperty(QTextFormat* theWrappedObject, int propertyId) const;
QVector<QTextLength > lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const;
void merge(QTextFormat* theWrappedObject, const QTextFormat& other);
int objectIndex(QTextFormat* theWrappedObject) const;
int objectType(QTextFormat* theWrappedObject) const;
bool __ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const;
void writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1);
bool __eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const;
void readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1);
QPen penProperty(QTextFormat* theWrappedObject, int propertyId) const;
QMap<int , QVariant > properties(QTextFormat* theWrappedObject) const;
QVariant property(QTextFormat* theWrappedObject, int propertyId) const;
int propertyCount(QTextFormat* theWrappedObject) const;
void setBackground(QTextFormat* theWrappedObject, const QBrush& brush);
void setForeground(QTextFormat* theWrappedObject, const QBrush& brush);
void setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction);
void setObjectIndex(QTextFormat* theWrappedObject, int object);
void setObjectType(QTextFormat* theWrappedObject, int type);
void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value);
void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector<QTextLength >& lengths);
QString stringProperty(QTextFormat* theWrappedObject, int propertyId) const;
void swap(QTextFormat* theWrappedObject, QTextFormat& other);
QTextBlockFormat toBlockFormat(QTextFormat* theWrappedObject) const;
QTextCharFormat toCharFormat(QTextFormat* theWrappedObject) const;
QTextFrameFormat toFrameFormat(QTextFormat* theWrappedObject) const;
QTextImageFormat toImageFormat(QTextFormat* theWrappedObject) const;
QTextListFormat toListFormat(QTextFormat* theWrappedObject) const;
QTextTableCellFormat toTableCellFormat(QTextFormat* theWrappedObject) const;
QTextTableFormat toTableFormat(QTextFormat* theWrappedObject) const;
int type(QTextFormat* theWrappedObject) const;
QString py_toString(QTextFormat*);
};
class PythonQtWrapper_QTextLength : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Type )
enum Type{
VariableLength = QTextLength::VariableLength, FixedLength = QTextLength::FixedLength, PercentageLength = QTextLength::PercentageLength};
public slots:
QTextLength* new_QTextLength();
QTextLength* new_QTextLength(QTextLength::Type type, qreal value);
QTextLength* new_QTextLength(const QTextLength& other) {
QTextLength* a = new QTextLength();
*((QTextLength*)a) = other;
return a; }
void delete_QTextLength(QTextLength* obj) { delete obj; }
bool __ne__(QTextLength* theWrappedObject, const QTextLength& other) const;
void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1);
bool __eq__(QTextLength* theWrappedObject, const QTextLength& other) const;
void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1);
qreal rawValue(QTextLength* theWrappedObject) const;
QTextLength::Type type(QTextLength* theWrappedObject) const;
qreal value(QTextLength* theWrappedObject, qreal maximumLength) const;
QString py_toString(QTextLength*);
};