API reference - Class QFontNotation used in Ruby API documentation Description: Binding of QFont Sub-classes: Capitalization, SpacingType, Style, StyleHint, StyleStrategy
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[const] bool !=(const QFont arg1)Description: Method bool QFont::operator!=(const QFont &) [const] bool <(const QFont arg1)Description: Method bool QFont::operator<(const QFont &) [const] bool ==(const QFont arg1)Description: Method bool QFont::operator==(const QFont &) [static,const] new QFont_SpacingType ptr AbsoluteSpacingDescription: Enum constant QFont::AbsoluteSpacing [static,const] new QFont_Capitalization ptr AllLowercaseDescription: Enum constant QFont::AllLowercase [static,const] new QFont_Capitalization ptr AllUppercaseDescription: Enum constant QFont::AllUppercase [static,const] new QFont_StyleHint ptr AnyStyleDescription: Enum constant QFont::AnyStyle [static] unsigned int BlackDescription: Font weight constant 'QFont::Black'. [static] unsigned int BoldDescription: Font weight constant 'QFont::Bold'. [static,const] new QFont_Capitalization ptr CapitalizeDescription: Enum constant QFont::Capitalize [static,const] new QFont_StyleHint ptr CourierDescription: Enum constant QFont::Courier [static,const] new QFont_StyleHint ptr DecorativeDescription: Enum constant QFont::Decorative [static] unsigned int DemiBoldDescription: Font weight constant 'QFont::DemiBold'. [static,const] new QFont_StyleStrategy ptr ForceOutlineDescription: Enum constant QFont::ForceOutline [static,const] new QFont_StyleHint ptr HelveticaDescription: Enum constant QFont::Helvetica [static] unsigned int LightDescription: Font weight constant 'QFont::Light'. [static,const] new QFont_Capitalization ptr MixedCaseDescription: Enum constant QFont::MixedCase [static,const] new QFont_StyleStrategy ptr NoAntialiasDescription: Enum constant QFont::NoAntialias [static,const] new QFont_StyleStrategy ptr NoFontMergingDescription: Enum constant QFont::NoFontMerging [static] unsigned int NormalDescription: Font weight constant 'QFont::Normal'. [static,const] new QFont_StyleHint ptr OldEnglishDescription: Enum constant QFont::OldEnglish [static,const] new QFont_StyleStrategy ptr OpenGLCompatibleDescription: Enum constant QFont::OpenGLCompatible [static,const] new QFont_SpacingType ptr PercentageSpacingDescription: Enum constant QFont::PercentageSpacing [static,const] new QFont_StyleStrategy ptr PreferAntialiasDescription: Enum constant QFont::PreferAntialias [static,const] new QFont_StyleStrategy ptr PreferBitmapDescription: Enum constant QFont::PreferBitmap [static,const] new QFont_StyleStrategy ptr PreferDefaultDescription: Enum constant QFont::PreferDefault [static,const] new QFont_StyleStrategy ptr PreferDeviceDescription: Enum constant QFont::PreferDevice [static,const] new QFont_StyleStrategy ptr PreferMatchDescription: Enum constant QFont::PreferMatch [static,const] new QFont_StyleStrategy ptr PreferOutlineDescription: Enum constant QFont::PreferOutline [static,const] new QFont_StyleStrategy ptr PreferQualityDescription: Enum constant QFont::PreferQuality [static,const] new QFont_StyleHint ptr SansSerifDescription: Enum constant QFont::SansSerif [static,const] new QFont_StyleHint ptr SerifDescription: Enum constant QFont::Serif [static,const] new QFont_Capitalization ptr SmallCapsDescription: Enum constant QFont::SmallCaps [static,const] new QFont_Style ptr StyleItalicDescription: Enum constant QFont::StyleItalic [static,const] new QFont_Style ptr StyleNormalDescription: Enum constant QFont::StyleNormal [static,const] new QFont_Style ptr StyleObliqueDescription: Enum constant QFont::StyleOblique [static,const] new QFont_StyleHint ptr SystemDescription: Enum constant QFont::System [static,const] new QFont_StyleHint ptr TimesDescription: Enum constant QFont::Times [static,const] new QFont_StyleHint ptr TypeWriterDescription: Enum constant QFont::TypeWriter void _assign(const QFont other)Description: Assigns another object to self void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. QFont assign(const QFont arg1)Description: Method QFont &QFont::operator=(const QFont &) [const] bool boldDescription: Method bool QFont::bold() Python specific notes:The object exposes a readable attribute 'bold'. This is the getter. void bold=(bool arg1)Description: Method void QFont::setBold(bool) Python specific notes:The object exposes a writable attribute 'bold'. This is the setter. [static] void cacheStatisticsDescription: Static method void QFont::cacheStatistics() This method is static and can be called without an instance. [const] QFont_Capitalization capitalizationDescription: Method QFont::Capitalization QFont::capitalization() Python specific notes:The object exposes a readable attribute 'capitalization'. This is the getter. void capitalization=(const QFont_Capitalization arg1)Description: Method void QFont::setCapitalization(QFont::Capitalization) Python specific notes:The object exposes a writable attribute 'capitalization'. This is the setter. [static] void cleanupDescription: Static method void QFont::cleanup() This method is static and can be called without an instance. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [const] string defaultFamilyDescription: Method QString QFont::defaultFamily() void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] new QFont ptr dupDescription: Creates a copy of self [const] bool exactMatchDescription: Method bool QFont::exactMatch() [const] string familyDescription: Method QString QFont::family() Python specific notes:The object exposes a readable attribute 'family'. This is the getter. void family=(string arg1)Description: Method void QFont::setFamily(const QString &) Python specific notes:The object exposes a writable attribute 'family'. This is the setter. [const] bool fixedPitchDescription: Method bool QFont::fixedPitch() Python specific notes:The object exposes a readable attribute 'fixedPitch'. This is the getter. void fixedPitch=(bool arg1)Description: Method void QFont::setFixedPitch(bool) Python specific notes:The object exposes a writable attribute 'fixedPitch'. This is the setter. bool fromString(string arg1)Description: Method bool QFont::fromString(const QString &) [const] unsigned long handleDescription: Method Qt::HANDLE QFont::handle() [static] void insertSubstitution(string arg1,string arg2)Description: Static method void QFont::insertSubstitution(const QString &, const QString &) This method is static and can be called without an instance. [static] void insertSubstitutions(string arg1,string[] arg2)Description: Static method void QFont::insertSubstitutions(const QString &, const QStringList &) This method is static and can be called without an instance. [const] bool isCopyOf?(const QFont arg1)Description: Method bool QFont::isCopyOf(const QFont &) [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] bool italicDescription: Method bool QFont::italic() Python specific notes:The object exposes a readable attribute 'italic'. This is the getter. void italic=(bool b)Description: Method void QFont::setItalic(bool b) Python specific notes:The object exposes a writable attribute 'italic'. This is the setter. [const] bool kerningDescription: Method bool QFont::kerning() Python specific notes:The object exposes a readable attribute 'kerning'. This is the getter. void kerning=(bool arg1)Description: Method void QFont::setKerning(bool) Python specific notes:The object exposes a writable attribute 'kerning'. This is the setter. [const] string keyDescription: Method QString QFont::key() [const] string lastResortFamilyDescription: Method QString QFont::lastResortFamily() [const] string lastResortFontDescription: Method QString QFont::lastResortFont() [const] double letterSpacingDescription: Method double QFont::letterSpacing() [const] QFont_SpacingType letterSpacingTypeDescription: Method QFont::SpacingType QFont::letterSpacingType() [static] new QFont newDescription: Constructor QFont::QFont() This method creates an object of class QFont. Python specific notes:This method is the default initializer of the object [static] new QFont new(string family,int pointSize = -1,int weight = -1,bool italic = false)Description: Constructor QFont::QFont(const QString &family, int pointSize, int weight, bool italic) This method creates an object of class QFont. Python specific notes:This method is the default initializer of the object [static] new QFont new(const QFont arg1,QPaintDevice ptr pd)Description: Constructor QFont::QFont(const QFont &, QPaintDevice *pd) This method creates an object of class QFont. Python specific notes:This method is the default initializer of the object [static] new QFont new(const QFont arg1)Description: Constructor QFont::QFont(const QFont &) This method creates an object of class QFont. Python specific notes:This method is the default initializer of the object [const] bool overlineDescription: Method bool QFont::overline() Python specific notes:The object exposes a readable attribute 'overline'. This is the getter. void overline=(bool arg1)Description: Method void QFont::setOverline(bool) Python specific notes:The object exposes a writable attribute 'overline'. This is the setter. [const] int pixelSizeDescription: Method int QFont::pixelSize() Python specific notes:The object exposes a readable attribute 'pixelSize'. This is the getter. void pixelSize=(int arg1)Description: Method void QFont::setPixelSize(int) Python specific notes:The object exposes a writable attribute 'pixelSize'. This is the setter. [const] int pointSizeDescription: Method int QFont::pointSize() Python specific notes:The object exposes a readable attribute 'pointSize'. This is the getter. void pointSize=(int arg1)Description: Method void QFont::setPointSize(int) Python specific notes:The object exposes a writable attribute 'pointSize'. This is the setter. [const] double pointSizeFDescription: Method double QFont::pointSizeF() Python specific notes:The object exposes a readable attribute 'pointSizeF'. This is the getter. void pointSizeF=(double arg1)Description: Method void QFont::setPointSizeF(double) Python specific notes:The object exposes a writable attribute 'pointSizeF'. This is the setter. [const] bool rawModeDescription: Method bool QFont::rawMode() Python specific notes:The object exposes a readable attribute 'rawMode'. This is the getter. void rawMode=(bool arg1)Description: Method void QFont::setRawMode(bool) Python specific notes:The object exposes a writable attribute 'rawMode'. This is the setter. [const] string rawNameDescription: Method QString QFont::rawName() Python specific notes:The object exposes a readable attribute 'rawName'. This is the getter. void rawName=(string arg1)Description: Method void QFont::setRawName(const QString &) Python specific notes:The object exposes a writable attribute 'rawName'. This is the setter. [static] void removeSubstitution(string arg1)Description: Static method void QFont::removeSubstitution(const QString &) This method is static and can be called without an instance. [const] QFont resolve(const QFont arg1)Description: Method QFont QFont::resolve(const QFont &) void setBold(bool arg1)Description: Method void QFont::setBold(bool) Python specific notes:The object exposes a writable attribute 'bold'. This is the setter. void setCapitalization(const QFont_Capitalization arg1)Description: Method void QFont::setCapitalization(QFont::Capitalization) Python specific notes:The object exposes a writable attribute 'capitalization'. This is the setter. void setFamily(string arg1)Description: Method void QFont::setFamily(const QString &) Python specific notes:The object exposes a writable attribute 'family'. This is the setter. void setFixedPitch(bool arg1)Description: Method void QFont::setFixedPitch(bool) Python specific notes:The object exposes a writable attribute 'fixedPitch'. This is the setter. void setItalic(bool b)Description: Method void QFont::setItalic(bool b) Python specific notes:The object exposes a writable attribute 'italic'. This is the setter. void setKerning(bool arg1)Description: Method void QFont::setKerning(bool) Python specific notes:The object exposes a writable attribute 'kerning'. This is the setter. void setLetterSpacing(const QFont_SpacingType type,double spacing)Description: Method void QFont::setLetterSpacing(QFont::SpacingType type, double spacing) void setOverline(bool arg1)Description: Method void QFont::setOverline(bool) Python specific notes:The object exposes a writable attribute 'overline'. This is the setter. void setPixelSize(int arg1)Description: Method void QFont::setPixelSize(int) Python specific notes:The object exposes a writable attribute 'pixelSize'. This is the setter. void setPointSize(int arg1)Description: Method void QFont::setPointSize(int) Python specific notes:The object exposes a writable attribute 'pointSize'. This is the setter. void setPointSizeF(double arg1)Description: Method void QFont::setPointSizeF(double) Python specific notes:The object exposes a writable attribute 'pointSizeF'. This is the setter. void setRawMode(bool arg1)Description: Method void QFont::setRawMode(bool) Python specific notes:The object exposes a writable attribute 'rawMode'. This is the setter. void setRawName(string arg1)Description: Method void QFont::setRawName(const QString &) Python specific notes:The object exposes a writable attribute 'rawName'. This is the setter. void setStretch(int arg1)Description: Method void QFont::setStretch(int) Python specific notes:The object exposes a writable attribute 'stretch'. This is the setter. void setStrikeOut(bool arg1)Description: Method void QFont::setStrikeOut(bool) Python specific notes:The object exposes a writable attribute 'strikeOut'. This is the setter. void setStyle(const QFont_Style style)Description: Method void QFont::setStyle(QFont::Style style) Python specific notes:The object exposes a writable attribute 'style'. This is the setter. void setStyleHint(const QFont_StyleHint arg1,const QFont_StyleStrategy arg2 = QFont::PreferDefault)Description: Method void QFont::setStyleHint(QFont::StyleHint, QFont::StyleStrategy) void setStyleStrategy(const QFont_StyleStrategy s)Description: Method void QFont::setStyleStrategy(QFont::StyleStrategy s) Python specific notes:The object exposes a writable attribute 'styleStrategy'. This is the setter. void setUnderline(bool arg1)Description: Method void QFont::setUnderline(bool) Python specific notes:The object exposes a writable attribute 'underline'. This is the setter. void setWeight(int arg1)Description: Method void QFont::setWeight(int) Python specific notes:The object exposes a writable attribute 'weight'. This is the setter. void setWordSpacing(double spacing)Description: Method void QFont::setWordSpacing(double spacing) Python specific notes:The object exposes a writable attribute 'wordSpacing'. This is the setter. [const] int stretchDescription: Method int QFont::stretch() Python specific notes:The object exposes a readable attribute 'stretch'. This is the getter. void stretch=(int arg1)Description: Method void QFont::setStretch(int) Python specific notes:The object exposes a writable attribute 'stretch'. This is the setter. [const] bool strikeOutDescription: Method bool QFont::strikeOut() Python specific notes:The object exposes a readable attribute 'strikeOut'. This is the getter. void strikeOut=(bool arg1)Description: Method void QFont::setStrikeOut(bool) Python specific notes:The object exposes a writable attribute 'strikeOut'. This is the setter. [const] QFont_Style styleDescription: Method QFont::Style QFont::style() Python specific notes:The object exposes a readable attribute 'style'. This is the getter. void style=(const QFont_Style style)Description: Method void QFont::setStyle(QFont::Style style) Python specific notes:The object exposes a writable attribute 'style'. This is the setter. [const] QFont_StyleHint styleHintDescription: Method QFont::StyleHint QFont::styleHint() Python specific notes:The object exposes a readable attribute 'styleHint'. This is the getter. [const] QFont_StyleStrategy styleStrategyDescription: Method QFont::StyleStrategy QFont::styleStrategy() Python specific notes:The object exposes a readable attribute 'styleStrategy'. This is the getter. void styleStrategy=(const QFont_StyleStrategy s)Description: Method void QFont::setStyleStrategy(QFont::StyleStrategy s) Python specific notes:The object exposes a writable attribute 'styleStrategy'. This is the setter. [static] string substitute(string arg1)Description: Static method QString QFont::substitute(const QString &) This method is static and can be called without an instance. [static] string[] substitutes(string arg1)Description: Static method QStringList QFont::substitutes(const QString &) This method is static and can be called without an instance. [static] string[] substitutionsDescription: Static method QStringList QFont::substitutions() This method is static and can be called without an instance. [const] string toStringDescription: Method QString QFont::toString() Python specific notes:This method is also available as 'str(object)' [const] string to_sDescription: Method QString QFont::toString() Python specific notes:This method is also available as 'str(object)' [const] bool underlineDescription: Method bool QFont::underline() Python specific notes:The object exposes a readable attribute 'underline'. This is the getter. void underline=(bool arg1)Description: Method void QFont::setUnderline(bool) Python specific notes:The object exposes a writable attribute 'underline'. This is the setter. [const] int weightDescription: Method int QFont::weight() Python specific notes:The object exposes a readable attribute 'weight'. This is the getter. void weight=(int arg1)Description: Method void QFont::setWeight(int) Python specific notes:The object exposes a writable attribute 'weight'. This is the setter. [const] double wordSpacingDescription: Method double QFont::wordSpacing() Python specific notes:The object exposes a readable attribute 'wordSpacing'. This is the getter. void wordSpacing=(double spacing)Description: Method void QFont::setWordSpacing(double spacing) Python specific notes:The object exposes a writable attribute 'wordSpacing'. This is the setter. |