##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
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
recreated wrappers to match current python qt version...
r73 void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing);
void setStrikeOut(QFont* theWrappedObject, bool arg__1);
florianlink
upgraded wrappers to current generator version...
r28 int weight(QFont* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setRawMode(QFont* theWrappedObject, bool arg__1);
void setFixedPitch(QFont* theWrappedObject, bool arg__1);
bool operator_less(QFont* theWrappedObject, const QFont& arg__1) const;
florianlink
upgraded wrappers to current generator version...
r28 void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s);
florianlink
recreated wrappers to match current python qt version...
r73 qreal wordSpacing(QFont* theWrappedObject) const;
void setOverline(QFont* theWrappedObject, bool arg__1);
qreal letterSpacing(QFont* theWrappedObject) const;
bool fixedPitch(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString key(QFont* theWrappedObject) const;
int pointSize(QFont* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 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 void static_QFont_removeSubstitution(const QString& arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 bool overline(QFont* theWrappedObject) const;
bool fromString(QFont* theWrappedObject, const QString& arg__1);
qreal pointSizeF(QFont* theWrappedObject) const;
QString rawName(QFont* theWrappedObject) const;
void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2);
bool strikeOut(QFont* theWrappedObject) const;
void writeTo(QFont* theWrappedObject, QDataStream& arg__1);
void static_QFont_cacheStatistics();
uint resolve(QFont* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int stretch(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const;
QStringList static_QFont_substitutes(const QString& arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 QFont::Capitalization capitalization(QFont* theWrappedObject) const;
QString defaultFamily(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setWordSpacing(QFont* theWrappedObject, qreal spacing);
florianlink
recreated wrappers to match current python qt version...
r73 void setKerning(QFont* theWrappedObject, bool arg__1);
QString toString(QFont* theWrappedObject) const;
void setStretch(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 setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault);
florianlink
recreated wrappers to match current python qt version...
r73 bool operator_equal(QFont* theWrappedObject, const QFont& arg__1) const;
QString static_QFont_substitute(const QString& arg__1);
Qt::HANDLE handle(QFont* theWrappedObject) const;
void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2);
void static_QFont_initialize();
bool underline(QFont* theWrappedObject) const;
void setUnderline(QFont* theWrappedObject, bool arg__1);
bool kerning(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int pixelSize(QFont* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool rawMode(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 void setItalic(QFont* theWrappedObject, bool b);
bool italic(QFont* theWrappedObject) const;
void setPointSizeF(QFont* theWrappedObject, qreal arg__1);
void setStyle(QFont* theWrappedObject, QFont::Style style);
QFont::Style style(QFont* theWrappedObject) const;
QString family(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void readFrom(QFont* theWrappedObject, QDataStream& arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 void setRawName(QFont* theWrappedObject, const QString& arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setBold(QFont* theWrappedObject, bool arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 bool bold(QFont* theWrappedObject) const;
QStringList static_QFont_substitutions();
void static_QFont_cleanup();
florianlink
upgraded wrappers to current generator version...
r28 QFont::StyleHint styleHint(QFont* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setFamily(QFont* theWrappedObject, const QString& arg__1);
QString lastResortFamily(QFont* theWrappedObject) const;
void resolve(QFont* theWrappedObject, uint mask);
void setPixelSize(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 setWeight(QFont* theWrappedObject, int arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setPointSize(QFont* theWrappedObject, int arg__1);
bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const;
florianlink
recreated wrappers to match current python qt version...
r73 QString lastResortFont(QFont* theWrappedObject) const;
bool exactMatch(QFont* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFONT_H