List of all members | Public Member Functions
QFontProto Class Reference

#include <qfontproto.h>

Inheritance diagram for QFontProto:
QObject QScriptable

Public Member Functions

 QFontProto (QObject *parent)
 
Q_INVOKABLE bool bold () const
 
Q_INVOKABLE int capitalization () const
 
Q_INVOKABLE QString defaultFamily () const
 
Q_INVOKABLE bool exactMatch () const
 
Q_INVOKABLE QString family () const
 
Q_INVOKABLE bool fixedPitch () const
 
Q_INVOKABLE bool fromString (const QString &descrip)
 
Q_INVOKABLE bool isCopyOf (const QFont &f) const
 
Q_INVOKABLE bool italic () const
 
Q_INVOKABLE bool kerning () const
 
Q_INVOKABLE QString key () const
 
Q_INVOKABLE QString lastResortFamily () const
 
Q_INVOKABLE QString lastResortFont () const
 
Q_INVOKABLE qreal letterSpacing () const
 
Q_INVOKABLE int letterSpacingType () const
 
Q_INVOKABLE bool overline () const
 
Q_INVOKABLE int pixelSize () const
 
Q_INVOKABLE int pointSize () const
 
Q_INVOKABLE qreal pointSizeF () const
 
Q_INVOKABLE bool rawMode () const
 
Q_INVOKABLE QString rawName () const
 
Q_INVOKABLE QFont resolve (const QFont &other) const
 
Q_INVOKABLE void setBold (bool enable)
 
Q_INVOKABLE void setCapitalization (int caps)
 
Q_INVOKABLE void setFamily (const QString &family)
 
Q_INVOKABLE void setFixedPitch (bool enable)
 
Q_INVOKABLE void setItalic (bool enable)
 
Q_INVOKABLE void setKerning (bool enable)
 
Q_INVOKABLE void setLetterSpacing (int type, qreal spacing)
 
Q_INVOKABLE void setOverline (bool enable)
 
Q_INVOKABLE void setPixelSize (int pixelSize)
 
Q_INVOKABLE void setPointSize (int pointSize)
 
Q_INVOKABLE void setPointSizeF (qreal pointSize)
 
Q_INVOKABLE void setRawMode (bool enable)
 
Q_INVOKABLE void setRawName (const QString &name)
 
Q_INVOKABLE void setStretch (int factor)
 
Q_INVOKABLE void setStrikeOut (bool enable)
 
Q_INVOKABLE void setStyle (int style)
 
Q_INVOKABLE void setStyleHint (int hint, int strategy=0)
 
Q_INVOKABLE void setStyleStrategy (int s)
 
Q_INVOKABLE void setUnderline (bool enable)
 
Q_INVOKABLE void setWeight (int weight)
 
Q_INVOKABLE void setWordSpacing (qreal spacing)
 
Q_INVOKABLE int stretch () const
 
Q_INVOKABLE bool strikeOut () const
 
Q_INVOKABLE int style () const
 
Q_INVOKABLE int styleHint () const
 
Q_INVOKABLE int styleStrategy () const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE bool underline () const
 
Q_INVOKABLE int weight () const
 
Q_INVOKABLE qreal wordSpacing () const
 

Constructor & Destructor Documentation

◆ QFontProto()

QFontProto::QFontProto ( QObject parent)

Member Function Documentation

◆ bold()

bool QFontProto::bold ( ) const

◆ capitalization()

int QFontProto::capitalization ( ) const

◆ defaultFamily()

QString QFontProto::defaultFamily ( ) const

◆ exactMatch()

bool QFontProto::exactMatch ( ) const

◆ family()

QString QFontProto::family ( ) const

◆ fixedPitch()

bool QFontProto::fixedPitch ( ) const

◆ fromString()

bool QFontProto::fromString ( const QString &  descrip)

◆ isCopyOf()

bool QFontProto::isCopyOf ( const QFont &  f) const

◆ italic()

bool QFontProto::italic ( ) const

◆ kerning()

bool QFontProto::kerning ( ) const

◆ key()

QString QFontProto::key ( ) const

◆ lastResortFamily()

QString QFontProto::lastResortFamily ( ) const

◆ lastResortFont()

QString QFontProto::lastResortFont ( ) const

◆ letterSpacing()

qreal QFontProto::letterSpacing ( ) const

◆ letterSpacingType()

int QFontProto::letterSpacingType ( ) const

◆ overline()

bool QFontProto::overline ( ) const

◆ pixelSize()

int QFontProto::pixelSize ( ) const

◆ pointSize()

int QFontProto::pointSize ( ) const

◆ pointSizeF()

qreal QFontProto::pointSizeF ( ) const

◆ rawMode()

bool QFontProto::rawMode ( ) const

◆ rawName()

QString QFontProto::rawName ( ) const

◆ resolve()

QFont QFontProto::resolve ( const QFont &  other) const

◆ setBold()

void QFontProto::setBold ( bool  enable)

◆ setCapitalization()

void QFontProto::setCapitalization ( int  caps)

◆ setFamily()

void QFontProto::setFamily ( const QString &  family)

◆ setFixedPitch()

void QFontProto::setFixedPitch ( bool  enable)

◆ setItalic()

void QFontProto::setItalic ( bool  enable)

◆ setKerning()

void QFontProto::setKerning ( bool  enable)

◆ setLetterSpacing()

void QFontProto::setLetterSpacing ( int  type,
qreal  spacing 
)

◆ setOverline()

void QFontProto::setOverline ( bool  enable)

◆ setPixelSize()

void QFontProto::setPixelSize ( int  pixelSize)

◆ setPointSize()

void QFontProto::setPointSize ( int  pointSize)

◆ setPointSizeF()

void QFontProto::setPointSizeF ( qreal  pointSize)

◆ setRawMode()

void QFontProto::setRawMode ( bool  enable)

◆ setRawName()

void QFontProto::setRawName ( const QString &  name)

◆ setStretch()

void QFontProto::setStretch ( int  factor)

◆ setStrikeOut()

void QFontProto::setStrikeOut ( bool  enable)

◆ setStyle()

void QFontProto::setStyle ( int  style)

◆ setStyleHint()

void QFontProto::setStyleHint ( int  hint,
int  strategy = 0 
)

◆ setStyleStrategy()

void QFontProto::setStyleStrategy ( int  s)

◆ setUnderline()

void QFontProto::setUnderline ( bool  enable)

◆ setWeight()

void QFontProto::setWeight ( int  weight)

◆ setWordSpacing()

void QFontProto::setWordSpacing ( qreal  spacing)

◆ stretch()

int QFontProto::stretch ( ) const

◆ strikeOut()

bool QFontProto::strikeOut ( ) const

◆ style()

int QFontProto::style ( ) const

◆ styleHint()

int QFontProto::styleHint ( ) const

◆ styleStrategy()

int QFontProto::styleStrategy ( ) const

◆ toString()

QString QFontProto::toString ( ) const

◆ underline()

bool QFontProto::underline ( ) const

◆ weight()

int QFontProto::weight ( ) const

◆ wordSpacing()

qreal QFontProto::wordSpacing ( ) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17