##// 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_QFont.h
110 lines | 6.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QFONT_H
#define PYTHONQTWRAPPER_QFONT_H
#include <qfont.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 <QStringList>
#include <QVariant>
#include <qdatastream.h>
#include <qfont.h>
#include <qpaintdevice.h>
#include <qstringlist.h>
class PythonQtWrapper_QFont : 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(StyleStrategy SpacingType StyleHint Weight Capitalization Stretch Style )
enum StyleStrategy{
PreferDefault = QFont::PreferDefault, PreferBitmap = QFont::PreferBitmap, PreferDevice = QFont::PreferDevice, PreferOutline = QFont::PreferOutline, ForceOutline = QFont::ForceOutline, PreferMatch = QFont::PreferMatch, PreferQuality = QFont::PreferQuality, PreferAntialias = QFont::PreferAntialias, NoAntialias = QFont::NoAntialias, OpenGLCompatible = QFont::OpenGLCompatible, NoFontMerging = QFont::NoFontMerging};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum SpacingType{
PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing};
enum StyleHint{
Helvetica = QFont::Helvetica, SansSerif = QFont::SansSerif, Times = QFont::Times, Serif = QFont::Serif, Courier = QFont::Courier, TypeWriter = QFont::TypeWriter, OldEnglish = QFont::OldEnglish, Decorative = QFont::Decorative, System = QFont::System, AnyStyle = QFont::AnyStyle};
enum Weight{
Light = QFont::Light, Normal = QFont::Normal, DemiBold = QFont::DemiBold, Bold = QFont::Bold, Black = QFont::Black};
enum Capitalization{
MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize};
enum Stretch{
UltraCondensed = QFont::UltraCondensed, ExtraCondensed = QFont::ExtraCondensed, Condensed = QFont::Condensed, SemiCondensed = QFont::SemiCondensed, Unstretched = QFont::Unstretched, SemiExpanded = QFont::SemiExpanded, Expanded = QFont::Expanded, ExtraExpanded = QFont::ExtraExpanded, UltraExpanded = QFont::UltraExpanded};
enum Style{
StyleNormal = QFont::StyleNormal, StyleItalic = QFont::StyleItalic, StyleOblique = QFont::StyleOblique};
public slots:
QFont* new_QFont();
QFont* new_QFont(const QFont& arg__1);
QFont* new_QFont(const QFont& arg__1, QPaintDevice* pd);
QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false);
void delete_QFont(QFont* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setStretch(QFont* theWrappedObject, int arg__1);
bool kerning(QFont* theWrappedObject) const;
void setKerning(QFont* theWrappedObject, bool arg__1);
bool bold(QFont* theWrappedObject) const;
QString rawName(QFont* theWrappedObject) const;
int weight(QFont* theWrappedObject) const;
void setUnderline(QFont* theWrappedObject, bool arg__1);
bool rawMode(QFont* theWrappedObject) const;
QString lastResortFamily(QFont* theWrappedObject) const;
void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s);
void setPixelSize(QFont* theWrappedObject, int arg__1);
bool italic(QFont* theWrappedObject) const;
QString key(QFont* theWrappedObject) const;
bool operator_equal(QFont* theWrappedObject, const QFont& arg__1) const;
int pointSize(QFont* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void static_QFont_removeSubstitution(const QString& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 qreal wordSpacing(QFont* theWrappedObject) const;
void static_QFont_initialize();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString toString(QFont* theWrappedObject) const;
int stretch(QFont* theWrappedObject) const;
void setRawName(QFont* theWrappedObject, const QString& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const;
QString static_QFont_substitute(const QString& arg__1);
void setRawMode(QFont* theWrappedObject, bool arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString lastResortFont(QFont* theWrappedObject) const;
Qt::HANDLE handle(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QFont* theWrappedObject, QDataStream& arg__1);
QStringList static_QFont_substitutes(const QString& arg__1);
void setWordSpacing(QFont* theWrappedObject, qreal spacing);
void static_QFont_cleanup();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault);
florianlink
upgraded wrappers to current generator version...
r28 bool fixedPitch(QFont* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void resolve(QFont* theWrappedObject, uint mask);
qreal letterSpacing(QFont* theWrappedObject) const;
QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setStrikeOut(QFont* theWrappedObject, bool arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool overline(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool operator_less(QFont* theWrappedObject, const QFont& arg__1) const;
bool fromString(QFont* theWrappedObject, const QString& arg__1);
int pixelSize(QFont* theWrappedObject) const;
void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1);
void readFrom(QFont* theWrappedObject, QDataStream& arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing);
florianlink
upgraded wrappers to current generator version...
r28 QString defaultFamily(QFont* theWrappedObject) const;
void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool strikeOut(QFont* theWrappedObject) const;
void setBold(QFont* theWrappedObject, bool arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void setStyle(QFont* theWrappedObject, QFont::Style style);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setFixedPitch(QFont* theWrappedObject, bool arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void setOverline(QFont* theWrappedObject, bool arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool exactMatch(QFont* theWrappedObject) const;
void setFamily(QFont* theWrappedObject, const QString& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 QFont::StyleHint styleHint(QFont* theWrappedObject) const;
QString family(QFont* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setWeight(QFont* theWrappedObject, int arg__1);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QFont resolve(QFont* theWrappedObject, const QFont& arg__1) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QFont::Capitalization capitalization(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QStringList static_QFont_substitutions();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setPointSizeF(QFont* theWrappedObject, qreal arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setItalic(QFont* theWrappedObject, bool b);
florianlink
upgraded wrappers to current generator version...
r28 void setPointSize(QFont* theWrappedObject, int arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void static_QFont_cacheStatistics();
qreal pointSizeF(QFont* theWrappedObject) const;
void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2);
florianlink
upgraded wrappers to current generator version...
r28 QFont::Style style(QFont* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 uint resolve(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const;
bool underline(QFont* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFONT_H