Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos | Métodos públicos estáticos | Métodos protegidos | Amigas
Referencia de la Clase QTextFormat

#include <qrichtext_p.h>

Lista de todos los miembros.

Tipos públicos

enum  Flags {
  NoFlags, Bold = 1, Italic = 2, Underline = 4,
  Family = 8, Size = 16, Color = 32, Misspelled = 64,
  VAlign = 128, StrikeOut = 256, Font = Bold | Italic | Underline | Family | Size | StrikeOut, Format = Font | Color | Misspelled | VAlign,
  NoFlags, Bold = 1, Italic = 2, Underline = 4,
  Family = 8, Size = 16, Color = 32, Misspelled = 64,
  VAlign = 128, StrikeOut = 256, Font = Bold | Italic | Underline | Family | Size | StrikeOut, Format = Font | Color | Misspelled | VAlign
}
enum  VerticalAlignment {
  AlignNormal, AlignSuperScript, AlignSubScript, AlignNormal,
  AlignSuperScript, AlignSubScript
}
enum  Flags {
  NoFlags, Bold = 1, Italic = 2, Underline = 4,
  Family = 8, Size = 16, Color = 32, Misspelled = 64,
  VAlign = 128, StrikeOut = 256, Font = Bold | Italic | Underline | Family | Size | StrikeOut, Format = Font | Color | Misspelled | VAlign,
  NoFlags, Bold = 1, Italic = 2, Underline = 4,
  Family = 8, Size = 16, Color = 32, Misspelled = 64,
  VAlign = 128, StrikeOut = 256, Font = Bold | Italic | Underline | Family | Size | StrikeOut, Format = Font | Color | Misspelled | VAlign
}
enum  VerticalAlignment {
  AlignNormal, AlignSuperScript, AlignSubScript, AlignNormal,
  AlignSuperScript, AlignSubScript
}

Métodos públicos

 QTextFormat ()
virtual ~QTextFormat ()
 QTextFormat (const QStyleSheetItem *s)
 QTextFormat (const QFont &f, const QColor &c, QTextFormatCollection *parent=0)
 QTextFormat (const QTextFormat &fm)
QTextFormat makeTextFormat (const QStyleSheetItem *style, const QMap< QString, QString > &attr, double scaleFontsFactor) const
QTextFormatoperator= (const QTextFormat &fm)
QColor color () const
QFont font () const
QFontMetrics fontMetrics () const
bool isMisspelled () const
VerticalAlignment vAlign () const
int minLeftBearing () const
int minRightBearing () const
int width (const QChar &c) const
int width (const QString &str, int pos) const
int height () const
int ascent () const
int descent () const
int leading () const
bool useLinkColor () const
void setBold (bool b)
void setItalic (bool b)
void setUnderline (bool b)
void setStrikeOut (bool b)
void setFamily (const QString &f)
void setPointSize (int s)
void setFont (const QFont &f)
void setColor (const QColor &c)
void setMisspelled (bool b)
void setVAlign (VerticalAlignment a)
bool operator== (const QTextFormat &f) const
QTextFormatCollectionparent () const
const QStringkey () const
void addRef ()
void removeRef ()
QString makeFormatChangeTags (QTextFormat *defaultFormat, QTextFormat *f, const QString &oldAnchorHref, const QString &anchorHref) const
QString makeFormatEndTags (QTextFormat *defaultFormat, const QString &anchorHref) const
bool fontSizesInPixels ()
 QTextFormat ()
virtual ~QTextFormat ()
 QTextFormat (const QStyleSheetItem *s)
 QTextFormat (const QFont &f, const QColor &c, QTextFormatCollection *parent=0)
 QTextFormat (const QTextFormat &fm)
QTextFormat makeTextFormat (const QStyleSheetItem *style, const QMap< QString, QString > &attr, double scaleFontsFactor) const
QTextFormatoperator= (const QTextFormat &fm)
QColor color () const
QFont font () const
QFontMetrics fontMetrics () const
bool isMisspelled () const
VerticalAlignment vAlign () const
int minLeftBearing () const
int minRightBearing () const
int width (const QChar &c) const
int width (const QString &str, int pos) const
int height () const
int ascent () const
int descent () const
int leading () const
bool useLinkColor () const
void setBold (bool b)
void setItalic (bool b)
void setUnderline (bool b)
void setStrikeOut (bool b)
void setFamily (const QString &f)
void setPointSize (int s)
void setFont (const QFont &f)
void setColor (const QColor &c)
void setMisspelled (bool b)
void setVAlign (VerticalAlignment a)
bool operator== (const QTextFormat &f) const
QTextFormatCollectionparent () const
const QStringkey () const
void addRef ()
void removeRef ()
QString makeFormatChangeTags (QTextFormat *defaultFormat, QTextFormat *f, const QString &oldAnchorHref, const QString &anchorHref) const
QString makeFormatEndTags (QTextFormat *defaultFormat, const QString &anchorHref) const
bool fontSizesInPixels ()

Métodos públicos estáticos

static QString getKey (const QFont &f, const QColor &c, bool misspelled, VerticalAlignment vAlign)
static void setPainter (QPainter *p)
static QPainterpainter ()
static QString getKey (const QFont &f, const QColor &c, bool misspelled, VerticalAlignment vAlign)
static void setPainter (QPainter *p)
static QPainterpainter ()

Métodos protegidos

virtual void generateKey ()
virtual void generateKey ()

Amigas

class QTextFormatCollection
class QTextDocument

Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
NoFlags 
Bold 
Italic 
Underline 
Family 
Size 
Color 
Misspelled 
VAlign 
StrikeOut 
Font 
Format 
NoFlags 
Bold 
Italic 
Underline 
Family 
Size 
Color 
Misspelled 
VAlign 
StrikeOut 
Font 
Format 
Valores de enumeraciones:
NoFlags 
Bold 
Italic 
Underline 
Family 
Size 
Color 
Misspelled 
VAlign 
StrikeOut 
Font 
Format 
NoFlags 
Bold 
Italic 
Underline 
Family 
Size 
Color 
Misspelled 
VAlign 
StrikeOut 
Font 
Format 
Valores de enumeraciones:
AlignNormal 
AlignSuperScript 
AlignSubScript 
AlignNormal 
AlignSuperScript 
AlignSubScript 
Valores de enumeraciones:
AlignNormal 
AlignSuperScript 
AlignSubScript 
AlignNormal 
AlignSuperScript 
AlignSubScript 

Documentación del constructor y destructor

QTextFormat::QTextFormat ( )
QTextFormat::~QTextFormat ( ) [virtual]
QTextFormat::QTextFormat ( const QStyleSheetItem s)
QTextFormat::QTextFormat ( const QFont f,
const QColor c,
QTextFormatCollection parent = 0 
)
QTextFormat::QTextFormat ( const QTextFormat fm)
QTextFormat::QTextFormat ( )
virtual QTextFormat::~QTextFormat ( ) [virtual]
QTextFormat::QTextFormat ( const QStyleSheetItem s)
QTextFormat::QTextFormat ( const QFont f,
const QColor c,
QTextFormatCollection parent = 0 
)
QTextFormat::QTextFormat ( const QTextFormat fm)

Documentación de las funciones miembro

void QTextFormat::addRef ( void  ) [inline]
void QTextFormat::addRef ( )
int QTextFormat::ascent ( ) const
int QTextFormat::ascent ( ) const
QColor QTextFormat::color ( ) const
QColor QTextFormat::color ( ) const [inline]
int QTextFormat::descent ( ) const
int QTextFormat::descent ( ) const
QFont QTextFormat::font ( ) const [inline]
QFont QTextFormat::font ( ) const
QFontMetrics QTextFormat::fontMetrics ( ) const [inline]
QFontMetrics QTextFormat::fontMetrics ( ) const [inline]
bool QTextFormat::fontSizesInPixels ( ) [inline]
bool QTextFormat::fontSizesInPixels ( ) [inline]
void QTextFormat::generateKey ( ) [protected, virtual]
virtual void QTextFormat::generateKey ( ) [protected, virtual]
static QString QTextFormat::getKey ( const QFont f,
const QColor c,
bool  misspelled,
VerticalAlignment  vAlign 
) [static]
QString QTextFormat::getKey ( const QFont f,
const QColor c,
bool  misspelled,
VerticalAlignment  vAlign 
) [static]
int QTextFormat::height ( ) const
int QTextFormat::height ( ) const
bool QTextFormat::isMisspelled ( ) const
bool QTextFormat::isMisspelled ( ) const [inline]
const QString& QTextFormat::key ( ) const
const QString & QTextFormat::key ( ) const [inline]
int QTextFormat::leading ( ) const
int QTextFormat::leading ( ) const
QString QTextFormat::makeFormatChangeTags ( QTextFormat defaultFormat,
QTextFormat f,
const QString oldAnchorHref,
const QString anchorHref 
) const
QString QTextFormat::makeFormatChangeTags ( QTextFormat defaultFormat,
QTextFormat f,
const QString oldAnchorHref,
const QString anchorHref 
) const
QString QTextFormat::makeFormatEndTags ( QTextFormat defaultFormat,
const QString anchorHref 
) const
QString QTextFormat::makeFormatEndTags ( QTextFormat defaultFormat,
const QString anchorHref 
) const
QTextFormat QTextFormat::makeTextFormat ( const QStyleSheetItem style,
const QMap< QString, QString > &  attr,
double  scaleFontsFactor 
) const
QTextFormat QTextFormat::makeTextFormat ( const QStyleSheetItem style,
const QMap< QString, QString > &  attr,
double  scaleFontsFactor 
) const
int QTextFormat::minLeftBearing ( ) const
int QTextFormat::minLeftBearing ( ) const
int QTextFormat::minRightBearing ( ) const
int QTextFormat::minRightBearing ( ) const
QTextFormat & QTextFormat::operator= ( const QTextFormat fm)
QTextFormat& QTextFormat::operator= ( const QTextFormat fm)
bool QTextFormat::operator== ( const QTextFormat f) const
bool QTextFormat::operator== ( const QTextFormat f) const [inline]
QPainter * QTextFormat::painter ( ) [static]
static QPainter* QTextFormat::painter ( ) [static]
QTextFormatCollection* QTextFormat::parent ( ) const
QTextFormatCollection * QTextFormat::parent ( ) const [inline]
void QTextFormat::removeRef ( ) [inline]
void QTextFormat::removeRef ( )
void QTextFormat::setBold ( bool  b)
void QTextFormat::setBold ( bool  b)
void QTextFormat::setColor ( const QColor c)
void QTextFormat::setColor ( const QColor c)
void QTextFormat::setFamily ( const QString f)
void QTextFormat::setFamily ( const QString f)
void QTextFormat::setFont ( const QFont f)
void QTextFormat::setFont ( const QFont f)
void QTextFormat::setItalic ( bool  b)
void QTextFormat::setItalic ( bool  b)
void QTextFormat::setMisspelled ( bool  b)
void QTextFormat::setMisspelled ( bool  b)
static void QTextFormat::setPainter ( QPainter p) [static]
void QTextFormat::setPainter ( QPainter p) [static]
void QTextFormat::setPointSize ( int  s)
void QTextFormat::setPointSize ( int  s)
void QTextFormat::setStrikeOut ( bool  b)
void QTextFormat::setStrikeOut ( bool  b)
void QTextFormat::setUnderline ( bool  b)
void QTextFormat::setUnderline ( bool  b)
void QTextFormat::setVAlign ( VerticalAlignment  a)
void QTextFormat::setVAlign ( VerticalAlignment  a)
bool QTextFormat::useLinkColor ( ) const [inline]
bool QTextFormat::useLinkColor ( ) const
QTextFormat::VerticalAlignment QTextFormat::vAlign ( ) const [inline]
VerticalAlignment QTextFormat::vAlign ( ) const
int QTextFormat::width ( const QChar c) const
int QTextFormat::width ( const QString str,
int  pos 
) const
int QTextFormat::width ( const QChar c) const
int QTextFormat::width ( const QString str,
int  pos 
) const

Documentación de las funciones relacionadas y clases amigas

QTextDocument [friend]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'