PythonQtWrapper_QCleanlooksStyle.h
50 lines
| 3.2 KiB
| text/x-c
|
CLexer
|
r13 | #ifndef PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H | ||
#define PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H | ||||
#include <qcleanlooksstyle.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qapplication.h> | ||||
#include <qbytearray.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> | ||||
#include <qwindowsstyle.h> | ||||
class PythonQtWrapper_QCleanlooksStyle : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
void delete_QCleanlooksStyle(QCleanlooksStyle* obj) { delete obj; } | ||||
void drawComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; | ||||
void drawControl(QCleanlooksStyle* theWrappedObject, QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; | ||||
void drawItemPixmap(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; | ||||
void drawItemText(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; | ||||
void drawPrimitive(QCleanlooksStyle* theWrappedObject, QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; | ||||
QPixmap generatedIconPixmap(QCleanlooksStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; | ||||
QStyle::SubControl hitTestComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; | ||||
QRect itemPixmapRect(QCleanlooksStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; | ||||
int pixelMetric(QCleanlooksStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; | ||||
void polish(QCleanlooksStyle* theWrappedObject, QApplication* app); | ||||
void polish(QCleanlooksStyle* theWrappedObject, QPalette& pal); | ||||
void polish(QCleanlooksStyle* theWrappedObject, QWidget* widget); | ||||
QSize sizeFromContents(QCleanlooksStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; | ||||
QPalette standardPalette(QCleanlooksStyle* theWrappedObject) const; | ||||
int styleHint(QCleanlooksStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; | ||||
QRect subControlRect(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; | ||||
QRect subElementRect(QCleanlooksStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; | ||||
void unpolish(QCleanlooksStyle* theWrappedObject, QApplication* app); | ||||
void unpolish(QCleanlooksStyle* theWrappedObject, QWidget* widget); | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H | ||||