#include </home/clem/local/src/opie/qmake/include/private/qrichtext_p.h>
Collaboration diagram for QTextFormat:

Public Types | |
| 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 } |
| enum | VerticalAlignment { AlignNormal, AlignSuperScript, AlignSubScript } |
Public Member Functions | |
| 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 |
| QTextFormat & | operator= (const QTextFormat &fm) |
| QColor | color () const |
| QFont | font () 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 |
| QTextFormatCollection * | parent () const |
| const QString & | key () 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 () |
Static Public Member Functions | |
| static QString | getKey (const QFont &f, const QColor &c, bool misspelled, VerticalAlignment vAlign) |
| static void | setPainter (QPainter *p) |
| static QPainter * | painter () |
Protected Member Functions | |
| virtual void | generateKey () |
Private Member Functions | |
| void | update () |
Static Private Member Functions | |
| static void | applyFont (const QFont &f) |
Private Attributes | |
| QFont | fn |
| QColor | col |
| QFontMetrics | fm |
| uint | missp: 1 |
| uint | linkColor: 1 |
| uint | usePixelSizes: 1 |
| int | leftBearing |
| int | rightBearing |
| VerticalAlignment | ha |
| uchar | widths [256] |
| int | hei |
| int | asc |
| int | dsc |
| QTextFormatCollection * | collection |
| int | ref |
| QString | k |
| int | logicalFontSize |
| int | stdSize |
Static Private Attributes | |
| static QPainter * | pntr |
| static QFontMetrics * | pntr_fm |
| static int | pntr_asc |
| static int | pntr_hei |
| static int | pntr_ldg |
| static int | pntr_dsc |
Friends | |
| class | QTextFormatCollection |
| class | QTextDocument |
|
|
Definition at line 1478 of file qrichtext_p.h. |
|
|
Definition at line 1493 of file qrichtext_p.h. |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Definition at line 1886 of file qrichtext_p.h. References ref. |
|
|
|
|
|
|
|
|
Definition at line 1856 of file qrichtext_p.h. References col. |
|
|
|
|
|
Definition at line 1861 of file qrichtext_p.h. References fn. |
|
|
Definition at line 1543 of file qrichtext_p.h. |
|
|
|
|
||||||||||||||||||||
|
Referenced by Qt3::QTextFormatCollection::format(). |
|
|
|
|
|
Definition at line 1866 of file qrichtext_p.h. References missp. |
|
|
Definition at line 1902 of file qrichtext_p.h. References k. |
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1876 of file qrichtext_p.h. References k. |
|
|
Referenced by Qt3::QTextDocument::doLayout(), Qt3::QTextFormatterBreakWords::format(), and Qt3::QTextFormatterBreakInWords::format(). |
|
|
Definition at line 1881 of file qrichtext_p.h. References collection. |
|
|
Definition at line 1891 of file qrichtext_p.h. References collection, QTextFormatCollection::defFormat, ref, and QTextFormatCollection::remove(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by Qt3::QTextDocument::doLayout(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1907 of file qrichtext_p.h. References linkColor. |
|
|
Definition at line 1871 of file qrichtext_p.h. References ha. |
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 1475 of file qrichtext_p.h. |
|
|
Definition at line 1474 of file qrichtext_p.h. |
|
|
Definition at line 1562 of file qrichtext_p.h. |
|
|
Definition at line 1554 of file qrichtext_p.h. Referenced by color(), and Qt3::QTextFormat::color(). |
|
|
Definition at line 1563 of file qrichtext_p.h. Referenced by parent(), Qt3::QTextFormat::parent(), removeRef(), and Qt3::QTextFormat::removeRef(). |
|
|
Definition at line 1562 of file qrichtext_p.h. |
|
|
Definition at line 1555 of file qrichtext_p.h. |
|
|
Definition at line 1553 of file qrichtext_p.h. Referenced by font(), and Qt3::QTextFormat::font(). |
|
|
Definition at line 1560 of file qrichtext_p.h. Referenced by vAlign(), and Qt3::QTextFormat::vAlign(). |
|
|
Definition at line 1562 of file qrichtext_p.h. |
|
|
Definition at line 1565 of file qrichtext_p.h. Referenced by key(), Qt3::QTextFormat::key(), operator==(), and Qt3::QTextFormat::operator==(). |
|
|
Definition at line 1559 of file qrichtext_p.h. |
|
|
Definition at line 1557 of file qrichtext_p.h. Referenced by useLinkColor(), and Qt3::QTextFormat::useLinkColor(). |
|
|
Definition at line 1566 of file qrichtext_p.h. |
|
|
Definition at line 1556 of file qrichtext_p.h. Referenced by isMisspelled(), and Qt3::QTextFormat::isMisspelled(). |
|
|
Definition at line 1568 of file qrichtext_p.h. |
|
|
Definition at line 1570 of file qrichtext_p.h. |
|
|
Definition at line 1573 of file qrichtext_p.h. |
|
|
Definition at line 1569 of file qrichtext_p.h. |
|
|
Definition at line 1571 of file qrichtext_p.h. |
|
|
Definition at line 1572 of file qrichtext_p.h. |
|
|
Definition at line 1564 of file qrichtext_p.h. Referenced by addRef(), Qt3::QTextFormat::addRef(), removeRef(), and Qt3::QTextFormat::removeRef(). |
|
|
Definition at line 1559 of file qrichtext_p.h. |
|
|
Definition at line 1567 of file qrichtext_p.h. |
|
|
Definition at line 1558 of file qrichtext_p.h. |
|
|
Definition at line 1561 of file qrichtext_p.h. |
1.4.2