##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QStylePainter.cpp
79 lines | 2.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QStylePainter.h"
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qfont.h>
#include <qimage.h>
#include <qline.h>
#include <qmatrix.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainterpath.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpicture.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qstylepainter.h>
#include <qtransform.h>
#include <qvector.h>
#include <qwidget.h>
QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter()
{
return new QStylePainter(); }
QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w)
{
return new QStylePainter(pd, w); }
QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w)
{
return new QStylePainter(w); }
bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w)
{
return theWrappedObject->begin(pd, w);
}
bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w)
{
return theWrappedObject->begin(w);
}
void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt)
{
theWrappedObject->drawComplexControl(cc, opt);
}
void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt)
{
theWrappedObject->drawControl(ce, opt);
}
void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap)
{
theWrappedObject->drawItemPixmap(r, flags, pixmap);
}
void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole)
{
theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole);
}
void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt)
{
theWrappedObject->drawPrimitive(pe, opt);
}
QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const
{
return theWrappedObject->style();
}