##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QMotifStyle.h
48 lines | 2.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QMOTIFSTYLE_H
#define PYTHONQTWRAPPER_QMOTIFSTYLE_H
#include <qmotifstyle.h>
#include <QObject>
#include <QVariant>
#include <qapplication.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qicon.h>
#include <qlist.h>
#include <qmotifstyle.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_QMotifStyle : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QMotifStyle(QMotifStyle* obj) { delete obj; }
void drawComplexControl(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const;
void drawControl(QMotifStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const;
void drawPrimitive(QMotifStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const;
bool event(QMotifStyle* theWrappedObject, QEvent* arg__1);
int pixelMetric(QMotifStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const;
void polish(QMotifStyle* theWrappedObject, QApplication* arg__1);
void polish(QMotifStyle* theWrappedObject, QPalette& arg__1);
void polish(QMotifStyle* theWrappedObject, QWidget* arg__1);
void setUseHighlightColors(QMotifStyle* theWrappedObject, bool arg__1);
QSize sizeFromContents(QMotifStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const;
QPalette standardPalette(QMotifStyle* theWrappedObject) const;
int styleHint(QMotifStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const;
QRect subControlRect(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const;
QRect subElementRect(QMotifStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const;
void unpolish(QMotifStyle* theWrappedObject, QApplication* arg__1);
void unpolish(QMotifStyle* theWrappedObject, QWidget* arg__1);
bool useHighlightColors(QMotifStyle* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QMOTIFSTYLE_H