API reference - Class QFontInfo

Notation used in Ruby API documentation

Description: Binding of QFontInfo

Public constructors

new QFontInfonew(const QFont arg1)Constructor QFontInfo::QFontInfo(const QFont &)
new QFontInfonew(const QFontInfo arg1)Constructor QFontInfo::QFontInfo(const QFontInfo &)

Public methods

QFontInfoassign(const QFontInfo arg1)Method QFontInfo &QFontInfo::operator=(const QFontInfo &)
[const]voidassign(const QFontInfo other)Assign the contents of another object to self
[const]boolboldMethod bool QFontInfo::bold()
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QFontInfodupCreates a copy of self
[const]boolexactMatchMethod bool QFontInfo::exactMatch()
[const]stringfamilyMethod QString QFontInfo::family()
[const]boolfixedPitchMethod bool QFontInfo::fixedPitch()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]boolitalicMethod bool QFontInfo::italic()
[const]booloverlineMethod bool QFontInfo::overline()
[const]intpixelSizeMethod int QFontInfo::pixelSize()
[const]intpointSizeMethod int QFontInfo::pointSize()
[const]doublepointSizeFMethod double QFontInfo::pointSizeF()
[const]boolrawModeMethod bool QFontInfo::rawMode()
[const]boolstrikeOutMethod bool QFontInfo::strikeOut()
[const]QFont_StylestyleMethod QFont::Style QFontInfo::style()
[const]QFont_StyleHintstyleHintMethod QFont::StyleHint QFontInfo::styleHint()
[const]boolunderlineMethod bool QFontInfo::underline()
[const]intweightMethod int QFontInfo::weight()

Detailed description

QFontInfo assign(const QFontInfo arg1)

Description: Method QFontInfo &QFontInfo::operator=(const QFontInfo &)

[const] void assign(const QFontInfo other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[const] bool bold

Description: Method bool QFontInfo::bold()

void create

Description: 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 destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, 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] QFontInfo dup

Description: Creates a copy of self

[const] bool exactMatch

Description: Method bool QFontInfo::exactMatch()

[const] string family

Description: Method QString QFontInfo::family()

[const] bool fixedPitch

Description: Method bool QFontInfo::fixedPitch()

[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.

[const] bool italic

Description: Method bool QFontInfo::italic()

[static] new QFontInfo new(const QFont arg1)

Description: Constructor QFontInfo::QFontInfo(const QFont &)

This method creates an object of class QFontInfo.

[static] new QFontInfo new(const QFontInfo arg1)

Description: Constructor QFontInfo::QFontInfo(const QFontInfo &)

This method creates an object of class QFontInfo.

[const] bool overline

Description: Method bool QFontInfo::overline()

[const] int pixelSize

Description: Method int QFontInfo::pixelSize()

[const] int pointSize

Description: Method int QFontInfo::pointSize()

[const] double pointSizeF

Description: Method double QFontInfo::pointSizeF()

[const] bool rawMode

Description: Method bool QFontInfo::rawMode()

[const] bool strikeOut

Description: Method bool QFontInfo::strikeOut()

[const] QFont_Style style

Description: Method QFont::Style QFontInfo::style()

[const] QFont_StyleHint styleHint

Description: Method QFont::StyleHint QFontInfo::styleHint()

[const] bool underline

Description: Method bool QFontInfo::underline()

[const] int weight

Description: Method int QFontInfo::weight()