#include </home/clem/local/src/opie/noncore/apps/opie-write/qstylesheet.h>
Inheritance diagram for Qt3::QStyleSheetItem:


|
|
Definition at line 70 of file qstylesheet.h. |
|
|
Definition at line 72 of file qstylesheet.h. |
|
|
Definition at line 148 of file qstylesheet.h. |
|
|
Definition at line 134 of file qstylesheet.h. |
|
|
Definition at line 85 of file qstylesheet.h. |
|
|
Definition at line 130 of file qstylesheet.h. |
|
||||||||||||
|
Constructs a new style called name for the stylesheet parent.
All properties in QStyleSheetItem are initially in the "do not change" state, except display mode, which defaults to Definition at line 149 of file qstylesheet.cpp. References d, init(), Qt3::QStyleSheet::insert(), QString::lower(), Qt3::QStyleSheetItemData::sheet, and Qt3::QStyleSheetItemData::stylename. |
|
|
Copy constructor. Constructs a copy of other that is not bound to any style sheet. Definition at line 163 of file qstylesheet.cpp. References d. |
|
|
Destroys the style. Note that QStyleSheetItem objects become owned by QStyleSheet when they are created. Definition at line 174 of file qstylesheet.cpp. References d. |
|
|
Returns the alignment of this style. Possible values are
Definition at line 284 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::align, and d. |
|
|
Returns TRUE if this style can be nested into an element of style s; otherwise returns FALSE.
Definition at line 769 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::contxt, d, QString::find(), QString::isEmpty(), name(), and TRUE. |
|
|
Returns the text color of this style or an invalid color if no color has been set.
Definition at line 597 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::col, and d. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns a space-separated list of names of styles that may contain elements of this style. If nothing has been set, contexts() returns an empty string, which indicates that this style can be nested everywhere.
Definition at line 746 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::contxt, and d. |
|
|
Returns TRUE if the style defines a font shape; otherwise returns FALSE. A style does not define any shape until setFontItalic() is called.
Definition at line 374 of file qstylesheet.cpp. References d, Qt3::QStyleSheetItemData::fontitalic, and Undefined. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns TRUE if the style defines a setting for the strikeOut property of the font; otherwise returns FALSE. A style does not define this until setFontStrikeOut() is called.
Definition at line 443 of file qstylesheet.cpp. References d, Qt3::QStyleSheetItemData::fontstrikeout, and Undefined. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns TRUE if the style defines a setting for the underline property of the font; otherwise returns FALSE. A style does not define this until setFontUnderline() is called.
Definition at line 408 of file qstylesheet.cpp. References d, Qt3::QStyleSheetItemData::fontunderline, and Undefined. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the display mode of the style.
Definition at line 244 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::disp. Referenced by Qt3::QTextDocument::setRichTextInternal(), and Qt3::QTextDocument::setRichTextMarginsInternal(). |
|
|
Returns the font family setting of the style. This is either a valid font family or QString::null if no family has been set.
Definition at line 547 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontfamily. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns TRUE if the style sets an italic font; otherwise returns FALSE.
Definition at line 351 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontitalic. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns the font size setting of the style. This is either a valid point size or
Definition at line 535 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsize. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns TRUE if the style sets a strike out font; otherwise returns FALSE.
Definition at line 420 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontstrikeout. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns TRUE if the style sets an underlined font; otherwise returns FALSE.
Definition at line 385 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontunderline. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
Returns the font weight setting of the style. This is either a valid
Definition at line 455 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontweight. Referenced by Qt3::QTextFormat::makeTextFormat(), and Qt3::QTextFormat::QTextFormat(). |
|
|
|
Returns whether this style is an anchor.
Definition at line 617 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::anchor, and d. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the linespacing Definition at line 823 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::lineSpacing. Referenced by Qt3::QTextDocument::setRichTextMarginsInternal(). |
|
|
Returns the list style of the style.
Definition at line 705 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::list. Referenced by Qt3::QTextDocument::richText(), and Qt3::QTextDocument::setRichTextMarginsInternal(). |
|
|
Returns the logical font size setting of the style. This is either a valid size between 1 and 7 or
Definition at line 477 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsizelog. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the logical font size step of this style.
The default is 0. Tags such as
Definition at line 502 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsizestep. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the width of margin m in pixels.
The margin, m, can be
Definition at line 665 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::margin. Referenced by margin_to_string(), and Qt3::QTextDocument::setRichTextMarginsInternal(). |
|
|
Returns the name of the style item. Definition at line 233 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::stylename. Referenced by allowedInContext(), Qt3::QTextFormat::makeTextFormat(), Qt3::QTextDocument::setRichTextInternal(), and Qt3::QStyleSheet::tag(). |
|
|
Returns the number of columns for this style.
Definition at line 569 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::ncolumns. |
|
|
Returns TRUE if this style has self-nesting enabled; otherwise returns FALSE.
Definition at line 783 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::selfnest. |
|
|
Sets the alignment to f. This only makes sense for styles with a display mode of DisplayBlock. Possible values are
Definition at line 297 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::align, and d. Referenced by Qt3::QStyleSheet::init(). |
|
|
If anc is TRUE, sets this style to be an anchor (hypertext link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.
Definition at line 629 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::anchor, and d. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the text color of this style to c.
Definition at line 607 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::col, and d. |
|
|
Sets a space-separated list of names of styles that may contain elements of this style. If c is empty, the style can be nested everywhere.
Definition at line 758 of file qstylesheet.cpp. References Qt3::QStyleSheetItemData::contxt, and d. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the display mode of the style to m.
Definition at line 271 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::disp. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the font family setting of the style to fam.
Definition at line 557 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontfamily. Referenced by Qt3::QStyleSheet::init(). |
|
|
If italic is TRUE sets italic for the style; otherwise sets upright.
Definition at line 362 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontitalic. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the font size setting of the style to s points.
Definition at line 524 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsize. |
|
|
If strikeOut is TRUE, sets strike out for the style; otherwise sets no strike out.
Definition at line 431 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontstrikeout. Referenced by Qt3::QStyleSheet::init(). |
|
|
If underline is TRUE, sets underline for the style; otherwise sets no underline.
Definition at line 396 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontunderline. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the font weight setting of the style to w. Valid values are those defined by
Definition at line 466 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontweight. Referenced by Qt3::QStyleSheet::init(). |
|
|
Definition at line 812 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::lineSpacing. |
|
|
Sets the list style of the style to s.
This is used by nested elements that have a display mode of
Definition at line 732 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::list. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the logical font size setting of the style to s. Valid logical sizes are 1 to 7.
Definition at line 489 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsizelog. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the logical font size step of this style to s.
Definition at line 512 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::fontsizestep. Referenced by Qt3::QStyleSheet::init(). |
|
||||||||||||
|
Sets the width of margin m to v pixels.
The margin, m, can be
Definition at line 680 of file qstylesheet.cpp. References d, Qt3::QStyleSheetItemData::margin, MarginAll, MarginBottom, MarginHorizontal, MarginLeft, MarginRight, MarginTop, and MarginVertical. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the number of columns for this style. Elements in the style are divided into columns. This makes sense only if the style uses a block display mode (see QStyleSheetItem::DisplayMode).
Definition at line 584 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::ncolumns. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the self-nesting property for this style to nesting.
In order to support "dirty" HTML, paragraphs
} and list items
Definition at line 797 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::selfnest. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the vertical alignment to valign. Possible values are The vertical alignment property is not inherited.
Definition at line 339 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::valign. Referenced by Qt3::QStyleSheet::init(). |
|
|
Sets the whitespace mode to m.
Definition at line 650 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::whitespacemode. Referenced by Qt3::QStyleSheet::init(). |
|
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns the style sheet this item is in. Definition at line 194 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::sheet. |
|
|
Returns the style sheet this item is in. Definition at line 184 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::sheet. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the vertical alignment of the style. Possible values are
Definition at line 309 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::valign. Referenced by Qt3::QTextFormat::makeTextFormat(). |
|
|
Returns the whitespace mode.
Definition at line 640 of file qstylesheet.cpp. References d, and Qt3::QStyleSheetItemData::whitespacemode. |
|
1.4.2