##// 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_QPalette.h
73 lines | 5.0 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPALETTE_H
#define PYTHONQTWRAPPER_QPALETTE_H
#include <qpalette.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qdatastream.h>
#include <qpalette.h>
class PythonQtWrapper_QPalette : public QObject
{ Q_OBJECT
public:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Q_ENUMS(ColorGroup ColorRole )
enum ColorGroup{
Active = QPalette::Active, Disabled = QPalette::Disabled, Inactive = QPalette::Inactive, NColorGroups = QPalette::NColorGroups, Current = QPalette::Current, All = QPalette::All, Normal = QPalette::Normal};
enum ColorRole{
WindowText = QPalette::WindowText, Button = QPalette::Button, Light = QPalette::Light, Midlight = QPalette::Midlight, Dark = QPalette::Dark, Mid = QPalette::Mid, Text = QPalette::Text, BrightText = QPalette::BrightText, ButtonText = QPalette::ButtonText, Base = QPalette::Base, Window = QPalette::Window, Shadow = QPalette::Shadow, Highlight = QPalette::Highlight, HighlightedText = QPalette::HighlightedText, Link = QPalette::Link, LinkVisited = QPalette::LinkVisited, AlternateBase = QPalette::AlternateBase, NoRole = QPalette::NoRole, ToolTipBase = QPalette::ToolTipBase, ToolTipText = QPalette::ToolTipText, NColorRoles = QPalette::NColorRoles, Foreground = QPalette::Foreground, Background = QPalette::Background};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QPalette* new_QPalette();
QPalette* new_QPalette(Qt::GlobalColor button);
QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window);
QPalette* new_QPalette(const QColor& button);
QPalette* new_QPalette(const QColor& button, const QColor& window);
QPalette* new_QPalette(const QPalette& palette);
void delete_QPalette(QPalette* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 uint resolve(QPalette* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg);
void setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color);
const QBrush& text(QPalette* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 const QBrush& linkVisited(QPalette* theWrappedObject) const;
const QBrush& button(QPalette* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qint64 cacheKey(QPalette* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush);
const QBrush& toolTipText(QPalette* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 const QBrush& buttonText(QPalette* theWrappedObject) const;
void readFrom(QPalette* theWrappedObject, QDataStream& ds);
bool isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
const QBrush& base(QPalette* theWrappedObject) const;
const QColor& color(QPalette* theWrappedObject, QPalette::ColorRole cr) const;
const QBrush& window(QPalette* theWrappedObject) const;
const QColor& color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
const QBrush& mid(QPalette* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 const QBrush& light(QPalette* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void writeTo(QPalette* theWrappedObject, QDataStream& ds);
florianlink
upgraded wrappers to current generator version...
r28 void setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window);
QPalette::ColorGroup currentColorGroup(QPalette* theWrappedObject) const;
bool isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const;
const QBrush& dark(QPalette* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void resolve(QPalette* theWrappedObject, uint mask);
florianlink
upgraded wrappers to current generator version...
r28 const QBrush& toolTipBase(QPalette* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPalette resolve(QPalette* theWrappedObject, const QPalette& arg__1) const;
void setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush);
const QBrush& highlight(QPalette* theWrappedObject) const;
const QBrush& highlightedText(QPalette* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 const QBrush& shadow(QPalette* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 const QBrush& midlight(QPalette* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool operator_equal(QPalette* theWrappedObject, const QPalette& p) const;
const QBrush& brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const;
const QBrush& alternateBase(QPalette* theWrappedObject) const;
bool isCopyOf(QPalette* theWrappedObject, const QPalette& p) const;
const QBrush& brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const;
const QBrush& link(QPalette* theWrappedObject) const;
const QBrush& windowText(QPalette* theWrappedObject) const;
const QBrush& brightText(QPalette* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPALETTE_H