##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QStylePainter.cpp
82 lines | 2.4 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QStylePainter.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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);
}
void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt)
{
theWrappedObject->drawComplexControl(cc, opt);
}
bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w)
{
return theWrappedObject->begin(w);
}
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);
}
QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const
{
return theWrappedObject->style();
}
void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt)
{
theWrappedObject->drawControl(ce, opt);
}
void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt)
{
theWrappedObject->drawPrimitive(pe, opt);
}
void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap)
{
theWrappedObject->drawItemPixmap(r, flags, pixmap);
}