##// 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_QCommonStyle.h
41 lines | 2.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QCOMMONSTYLE_H
#define PYTHONQTWRAPPER_QCOMMONSTYLE_H
#include <qcommonstyle.h>
#include <QObject>
#include <QVariant>
#include <qapplication.h>
#include <qbytearray.h>
#include <qcommonstyle.h>
#include <qcoreevent.h>
#include <qicon.h>
#include <qlist.h>
#include <qobject.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
#include <qstyleoption.h>
#include <qwidget.h>
class PythonQtWrapper_QCommonStyle : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QCommonStyle(QCommonStyle* obj) { delete obj; }
void drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const;
void drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const;
void drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const;
QPixmap generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const;
QStyle::SubControl hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const;
int pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const;
QSize sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const;
int styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const;
QRect subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const;
QRect subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const;
};
#endif // PYTHONQTWRAPPER_QCOMMONSTYLE_H