Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos
Referencia de la Clase QStyleSheetItem

The QStyleSheetItem class provides an encapsulation of a set of text styles. Más...

#include <qstylesheet.h>

Diagrama de herencias de QStyleSheetItem
Qt Qt

Lista de todos los miembros.

Tipos públicos

enum  AdditionalStyleValues { Undefined = - 1, Undefined = - 1 }
enum  DisplayMode {
  DisplayBlock, DisplayInline, DisplayListItem, DisplayNone,
  DisplayModeUndefined = -1, DisplayBlock, DisplayInline, DisplayListItem,
  DisplayNone, DisplayModeUndefined = -1
}
enum  VerticalAlignment {
  VAlignBaseline, VAlignSub, VAlignSuper, VAlignBaseline,
  VAlignSub, VAlignSuper
}
enum  WhiteSpaceMode {
  WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined = -1,
  WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined = -1
}
enum  Margin {
  MarginLeft, MarginRight, MarginTop, MarginBottom,
  MarginFirstLine, MarginAll, MarginVertical, MarginHorizontal,
  MarginUndefined = -1, MarginLeft, MarginRight, MarginTop,
  MarginBottom, MarginFirstLine, MarginAll, MarginVertical,
  MarginHorizontal, MarginUndefined = -1
}
enum  ListStyle {
  ListDisc, ListCircle, ListSquare, ListDecimal,
  ListLowerAlpha, ListUpperAlpha, ListStyleUndefined = -1, ListDisc,
  ListCircle, ListSquare, ListDecimal, ListLowerAlpha,
  ListUpperAlpha, ListStyleUndefined = -1
}
enum  AdditionalStyleValues { Undefined = - 1, Undefined = - 1 }
enum  DisplayMode {
  DisplayBlock, DisplayInline, DisplayListItem, DisplayNone,
  DisplayModeUndefined = -1, DisplayBlock, DisplayInline, DisplayListItem,
  DisplayNone, DisplayModeUndefined = -1
}
enum  VerticalAlignment {
  VAlignBaseline, VAlignSub, VAlignSuper, VAlignBaseline,
  VAlignSub, VAlignSuper
}
enum  WhiteSpaceMode {
  WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined = -1,
  WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined = -1
}
enum  Margin {
  MarginLeft, MarginRight, MarginTop, MarginBottom,
  MarginFirstLine, MarginAll, MarginVertical, MarginHorizontal,
  MarginUndefined = -1, MarginLeft, MarginRight, MarginTop,
  MarginBottom, MarginFirstLine, MarginAll, MarginVertical,
  MarginHorizontal, MarginUndefined = -1
}
enum  ListStyle {
  ListDisc, ListCircle, ListSquare, ListDecimal,
  ListLowerAlpha, ListUpperAlpha, ListStyleUndefined = -1, ListDisc,
  ListCircle, ListSquare, ListDecimal, ListLowerAlpha,
  ListUpperAlpha, ListStyleUndefined = -1
}

Métodos públicos

 QStyleSheetItem (QStyleSheet *parent, const QString &name)
 QStyleSheetItem (const QStyleSheetItem &)
 ~QStyleSheetItem ()
QStyleSheetItemoperator= (const QStyleSheetItem &other)
QString name () const
QStyleSheetstyleSheet ()
const QStyleSheetstyleSheet () const
DisplayMode displayMode () const
void setDisplayMode (DisplayMode m)
int alignment () const
void setAlignment (int f)
VerticalAlignment verticalAlignment () const
void setVerticalAlignment (VerticalAlignment valign)
int fontWeight () const
void setFontWeight (int w)
int logicalFontSize () const
void setLogicalFontSize (int s)
int logicalFontSizeStep () const
void setLogicalFontSizeStep (int s)
int fontSize () const
void setFontSize (int s)
QString fontFamily () const
void setFontFamily (const QString &)
int numberOfColumns () const
void setNumberOfColumns (int ncols)
QColor color () const
void setColor (const QColor &)
bool fontItalic () const
void setFontItalic (bool)
bool definesFontItalic () const
bool fontUnderline () const
void setFontUnderline (bool)
bool definesFontUnderline () const
bool fontStrikeOut () const
void setFontStrikeOut (bool)
bool definesFontStrikeOut () const
bool isAnchor () const
void setAnchor (bool anc)
WhiteSpaceMode whiteSpaceMode () const
void setWhiteSpaceMode (WhiteSpaceMode m)
int margin (Margin m) const
void setMargin (Margin, int)
ListStyle listStyle () const
void setListStyle (ListStyle)
QString contexts () const
void setContexts (const QString &)
bool allowedInContext (const QStyleSheetItem *) const
bool selfNesting () const
void setSelfNesting (bool)
void setLineSpacing (int ls)
int lineSpacing () const
 QStyleSheetItem (QStyleSheet *parent, const QString &name)
 QStyleSheetItem (const QStyleSheetItem &)
 ~QStyleSheetItem ()
QStyleSheetItemoperator= (const QStyleSheetItem &other)
QString name () const
QStyleSheetstyleSheet ()
const QStyleSheetstyleSheet () const
DisplayMode displayMode () const
void setDisplayMode (DisplayMode m)
int alignment () const
void setAlignment (int f)
VerticalAlignment verticalAlignment () const
void setVerticalAlignment (VerticalAlignment valign)
int fontWeight () const
void setFontWeight (int w)
int logicalFontSize () const
void setLogicalFontSize (int s)
int logicalFontSizeStep () const
void setLogicalFontSizeStep (int s)
int fontSize () const
void setFontSize (int s)
QString fontFamily () const
void setFontFamily (const QString &)
int numberOfColumns () const
void setNumberOfColumns (int ncols)
QColor color () const
void setColor (const QColor &)
bool fontItalic () const
void setFontItalic (bool)
bool definesFontItalic () const
bool fontUnderline () const
void setFontUnderline (bool)
bool definesFontUnderline () const
bool fontStrikeOut () const
void setFontStrikeOut (bool)
bool definesFontStrikeOut () const
bool isAnchor () const
void setAnchor (bool anc)
WhiteSpaceMode whiteSpaceMode () const
void setWhiteSpaceMode (WhiteSpaceMode m)
int margin (Margin m) const
void setMargin (Margin, int)
ListStyle listStyle () const
void setListStyle (ListStyle)
QString contexts () const
void setContexts (const QString &)
bool allowedInContext (const QStyleSheetItem *) const
bool selfNesting () const
void setSelfNesting (bool)
void setLineSpacing (int ls)
int lineSpacing () const

Descripción detallada

The QStyleSheetItem class provides an encapsulation of a set of text styles.

A style sheet item consists of a name and a set of attributes that specifiy its font, color, etc. When used in a style sheet (see styleSheet()), items define the name() of a rich text tag and the display property changes associated with it.

The display mode attribute indicates whether the item is a block, an inline element or a list element; see setDisplayMode(). The treatment of whitespace is controlled by the white space mode; see setWhiteSpaceMode(). An item's margins are set with setMargin(), In the case of list items, the list style is set with setListStyle(). An item may be a hypertext link anchor; see setAnchor(). Other attributes are set with setAlignment(), setVerticalAlignment(), setFontFamily(), setFontSize(), setFontWeight(), setFontItalic(), setFontUnderline(), setFontStrikeOut and setColor().


Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
Undefined 
Undefined 
Valores de enumeraciones:
Undefined 
Undefined 

This enum type defines the way adjacent elements are displayed.

DisplayBlock elements are displayed as a rectangular block (e.g. {

...}).

DisplayInline elements are displayed in a horizontally flowing sequence (e.g. {...}).

DisplayListItem elements are displayed in a vertical sequence (e.g. {...}).

DisplayNone elements are not displayed at all.

Valores de enumeraciones:
DisplayBlock 
DisplayInline 
DisplayListItem 
DisplayNone 
DisplayModeUndefined 
DisplayBlock 
DisplayInline 
DisplayListItem 
DisplayNone 
DisplayModeUndefined 
Valores de enumeraciones:
DisplayBlock 
DisplayInline 
DisplayListItem 
DisplayNone 
DisplayModeUndefined 
DisplayBlock 
DisplayInline 
DisplayListItem 
DisplayNone 
DisplayModeUndefined 
Valores de enumeraciones:
ListDisc 
ListCircle 
ListSquare 
ListDecimal 
ListLowerAlpha 
ListUpperAlpha 
ListStyleUndefined 
ListDisc 
ListCircle 
ListSquare 
ListDecimal 
ListLowerAlpha 
ListUpperAlpha 
ListStyleUndefined 

This enum type defines how the items in a list are prefixed when displayed.

ListDisc a filled circle (i.e. a bullet) ListCircle an unfilled circle ListSquare a filled square ListDecimal an integer in base 10: 1, 2, 3, ... ListLowerAlpha a lowercase letter: a, b, c, ... ListUpperAlpha an uppercase letter: A, B, C, ...

Valores de enumeraciones:
ListDisc 
ListCircle 
ListSquare 
ListDecimal 
ListLowerAlpha 
ListUpperAlpha 
ListStyleUndefined 
ListDisc 
ListCircle 
ListSquare 
ListDecimal 
ListLowerAlpha 
ListUpperAlpha 
ListStyleUndefined 
Valores de enumeraciones:
MarginLeft 
MarginRight 
MarginTop 
MarginBottom 
MarginFirstLine 
MarginAll 
MarginVertical 
MarginHorizontal 
MarginUndefined 
MarginLeft 
MarginRight 
MarginTop 
MarginBottom 
MarginFirstLine 
MarginAll 
MarginVertical 
MarginHorizontal 
MarginUndefined 

MarginLeft left margin MarginRight right margin MarginTop top margin MarginBottom bottom margin MarginAll all margins (left, right, top and bottom) MarginVertical top and bottom margins MarginHorizontal left and right margins MarginFirstLine margin (indentation) of the first line of a paragarph (in addition to the MarginLeft of the paragraph)

Valores de enumeraciones:
MarginLeft 
MarginRight 
MarginTop 
MarginBottom 
MarginFirstLine 
MarginAll 
MarginVertical 
MarginHorizontal 
MarginUndefined 
MarginLeft 
MarginRight 
MarginTop 
MarginBottom 
MarginFirstLine 
MarginAll 
MarginVertical 
MarginHorizontal 
MarginUndefined 
Valores de enumeraciones:
VAlignBaseline 
VAlignSub 
VAlignSuper 
VAlignBaseline 
VAlignSub 
VAlignSuper 

This enum type defines the way elements are aligned vertically. This is only supported for text elements.

VAlignBaseline align the baseline of the element (or the bottom, if the element doesn't have a baseline) with the baseline of the parent

VAlignSub subscript the element

VAlignSuper superscript the element

Valores de enumeraciones:
VAlignBaseline 
VAlignSub 
VAlignSuper 
VAlignBaseline 
VAlignSub 
VAlignSuper 

This enum defines the ways in which QStyleSheet can treat whitespace.

WhiteSpaceNormal any sequence of whitespace (including line-breaks) is equivalent to a single space.

WhiteSpacePre whitespace must be output exactly as given in the input.

WhiteSpaceNoWrap multiple spaces are collapsed as with WhiteSpaceNormal, but no automatic line-breaks occur. To break lines manually, use the {
} tag.

Valores de enumeraciones:
WhiteSpaceNormal 
WhiteSpacePre 
WhiteSpaceNoWrap 
WhiteSpaceModeUndefined 
WhiteSpaceNormal 
WhiteSpacePre 
WhiteSpaceNoWrap 
WhiteSpaceModeUndefined 
Valores de enumeraciones:
WhiteSpaceNormal 
WhiteSpacePre 
WhiteSpaceNoWrap 
WhiteSpaceModeUndefined 
WhiteSpaceNormal 
WhiteSpacePre 
WhiteSpaceNoWrap 
WhiteSpaceModeUndefined 

Documentación del constructor y destructor

QStyleSheetItem::QStyleSheetItem ( QStyleSheet parent,
const QString name 
)

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

QStyleSheetItem::QStyleSheetItem ( const QStyleSheetItem other)

Copy constructor. Constructs a copy of other that is not bound to any style sheet.

QStyleSheetItem::~QStyleSheetItem ( )

Destroys the style. Note that QStyleSheetItem objects become owned by QStyleSheet when they are created.

QStyleSheetItem::QStyleSheetItem ( QStyleSheet parent,
const QString name 
)
QStyleSheetItem::QStyleSheetItem ( const QStyleSheetItem )
QStyleSheetItem::~QStyleSheetItem ( )

Documentación de las funciones miembro

int QStyleSheetItem::alignment ( ) const

Returns the alignment of this style. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.

Ver también:
setAlignment(), Qt::AlignmentFlags
int QStyleSheetItem::alignment ( ) const
bool QStyleSheetItem::allowedInContext ( const QStyleSheetItem s) const

Returns TRUE if this style can be nested into an element of style s; otherwise returns FALSE.

Ver también:
contexts(), setContexts()
bool QStyleSheetItem::allowedInContext ( const QStyleSheetItem ) const
QColor QStyleSheetItem::color ( ) const
QColor QStyleSheetItem::color ( ) const

Returns the text color of this style or an invalid color if no color has been set.

Ver también:
setColor() QColor::isValid()
QString QStyleSheetItem::contexts ( ) const
QString QStyleSheetItem::contexts ( ) const

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.

Ver también:
setContexts()
bool QStyleSheetItem::definesFontItalic ( ) const
bool QStyleSheetItem::definesFontItalic ( ) const

Returns TRUE if the style defines a font shape; otherwise returns FALSE. A style does not define any shape until setFontItalic() is called.

Ver también:
setFontItalic(), fontItalic()
bool QStyleSheetItem::definesFontStrikeOut ( ) const

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.

Ver también:
setFontStrikeOut(), fontStrikeOut()
bool QStyleSheetItem::definesFontStrikeOut ( ) const
bool QStyleSheetItem::definesFontUnderline ( ) const
bool QStyleSheetItem::definesFontUnderline ( ) const

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.

Ver también:
setFontUnderline(), fontUnderline()
QStyleSheetItem::DisplayMode QStyleSheetItem::displayMode ( ) const

Returns the display mode of the style.

Ver también:
setDisplayMode()
DisplayMode QStyleSheetItem::displayMode ( ) const
QString QStyleSheetItem::fontFamily ( ) const
QString QStyleSheetItem::fontFamily ( ) const

Returns the font family setting of the style. This is either a valid font family or QString::null if no family has been set.

Ver también:
setFontFamily(), QFont::family(), QFont::setFamily()
bool QStyleSheetItem::fontItalic ( ) const
bool QStyleSheetItem::fontItalic ( ) const

Returns TRUE if the style sets an italic font; otherwise returns FALSE.

Ver también:
setFontItalic(), definesFontItalic()
int QStyleSheetItem::fontSize ( ) const

Returns the font size setting of the style. This is either a valid point size or QStyleSheetItem::Undefined.

Ver también:
setFontSize(), QFont::pointSize(), QFont::setPointSize()
int QStyleSheetItem::fontSize ( ) const
bool QStyleSheetItem::fontStrikeOut ( ) const
bool QStyleSheetItem::fontStrikeOut ( ) const

Returns TRUE if the style sets a strike out font; otherwise returns FALSE.

Ver también:
setFontStrikeOut(), definesFontStrikeOut()
bool QStyleSheetItem::fontUnderline ( ) const
bool QStyleSheetItem::fontUnderline ( ) const

Returns TRUE if the style sets an underlined font; otherwise returns FALSE.

Ver también:
setFontUnderline(), definesFontUnderline()
int QStyleSheetItem::fontWeight ( ) const

Returns the font weight setting of the style. This is either a valid QFont::Weight or the value QStyleSheetItem::Undefined.

Ver también:
setFontWeight(), QFont
int QStyleSheetItem::fontWeight ( ) const
bool QStyleSheetItem::isAnchor ( ) const

Returns whether this style is an anchor.

Ver también:
setAnchor()
bool QStyleSheetItem::isAnchor ( ) const
int QStyleSheetItem::lineSpacing ( ) const

Returns the linespacing

int QStyleSheetItem::lineSpacing ( ) const
QStyleSheetItem::ListStyle QStyleSheetItem::listStyle ( ) const

Returns the list style of the style.

Ver también:
setListStyle() ListStyle
ListStyle QStyleSheetItem::listStyle ( ) const
int QStyleSheetItem::logicalFontSize ( ) const

Returns the logical font size setting of the style. This is either a valid size between 1 and 7 or QStyleSheetItem::Undefined.

Ver también:
setLogicalFontSize(), setLogicalFontSizeStep(), QFont::pointSize(), QFont::setPointSize()
int QStyleSheetItem::logicalFontSize ( ) const
int QStyleSheetItem::logicalFontSizeStep ( ) const

Returns the logical font size step of this style.

The default is 0. Tags such as big define +1; small defines -1.

Ver también:
setLogicalFontSizeStep()
int QStyleSheetItem::logicalFontSizeStep ( ) const
int QStyleSheetItem::margin ( Margin  m) const

Returns the width of margin m in pixels.

The margin, m, can be MarginLeft, MarginRight, MarginTop, MarginBottom, or MarginFirstLine.

Ver también:
setMargin() Margin
int QStyleSheetItem::margin ( Margin  m) const
QString QStyleSheetItem::name ( ) const

Returns the name of the style item.

QString QStyleSheetItem::name ( ) const
int QStyleSheetItem::numberOfColumns ( ) const
int QStyleSheetItem::numberOfColumns ( ) const

Returns the number of columns for this style.

Ver también:
setNumberOfColumns(), displayMode(), setDisplayMode()
QStyleSheetItem & QStyleSheetItem::operator= ( const QStyleSheetItem other)

Assignment. Assings a copy of other that is not bound to any style sheet. Unbounds first from previous style sheet.

QStyleSheetItem& QStyleSheetItem::operator= ( const QStyleSheetItem other)
bool QStyleSheetItem::selfNesting ( ) const

Returns TRUE if this style has self-nesting enabled; otherwise returns FALSE.

Ver también:
setSelfNesting()
bool QStyleSheetItem::selfNesting ( ) const
void QStyleSheetItem::setAlignment ( int  f)

Sets the alignment to f. This only makes sense for styles with a display mode of DisplayBlock. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.

Ver también:
alignment(), displayMode(), Qt::AlignmentFlags
void QStyleSheetItem::setAlignment ( int  f)
void QStyleSheetItem::setAnchor ( bool  anc)

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.

Ver también:
isAnchor()
void QStyleSheetItem::setAnchor ( bool  anc)
void QStyleSheetItem::setColor ( const QColor )
void QStyleSheetItem::setColor ( const QColor c)

Sets the text color of this style to c.

Ver también:
color()
void QStyleSheetItem::setContexts ( const QString c)

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.

Ver también:
contexts()
void QStyleSheetItem::setContexts ( const QString )
void QStyleSheetItem::setDisplayMode ( DisplayMode  m)
void QStyleSheetItem::setDisplayMode ( DisplayMode  m)

Sets the display mode of the style to m.

Ver también:
displayMode()
void QStyleSheetItem::setFontFamily ( const QString )
void QStyleSheetItem::setFontFamily ( const QString fam)

Sets the font family setting of the style to fam.

Ver también:
fontFamily(), QFont::family(), QFont::setFamily()
void QStyleSheetItem::setFontItalic ( bool  )
void QStyleSheetItem::setFontItalic ( bool  italic)

If italic is TRUE sets italic for the style; otherwise sets upright.

Ver también:
fontItalic(), definesFontItalic()
void QStyleSheetItem::setFontSize ( int  s)

Sets the font size setting of the style to s points.

Ver también:
fontSize(), QFont::pointSize(), QFont::setPointSize()
void QStyleSheetItem::setFontSize ( int  s)
void QStyleSheetItem::setFontStrikeOut ( bool  )
void QStyleSheetItem::setFontStrikeOut ( bool  strikeOut)

If strikeOut is TRUE, sets strike out for the style; otherwise sets no strike out.

Ver también:
fontStrikeOut(), definesFontStrikeOut()
void QStyleSheetItem::setFontUnderline ( bool  )
void QStyleSheetItem::setFontUnderline ( bool  underline)

If underline is TRUE, sets underline for the style; otherwise sets no underline.

Ver también:
fontUnderline(), definesFontUnderline()
void QStyleSheetItem::setFontWeight ( int  w)

Sets the font weight setting of the style to w. Valid values are those defined by QFont::Weight.

Ver también:
QFont, fontWeight()
void QStyleSheetItem::setFontWeight ( int  w)
void QStyleSheetItem::setLineSpacing ( int  ls)
void QStyleSheetItem::setLineSpacing ( int  ls)
void QStyleSheetItem::setListStyle ( ListStyle  )
void QStyleSheetItem::setListStyle ( ListStyle  s)

Sets the list style of the style to s.

This is used by nested elements that have a display mode of DisplayListItem.

Ver también:
listStyle() DisplayMode ListStyle
void QStyleSheetItem::setLogicalFontSize ( int  s)

Sets the logical font size setting of the style to s. Valid logical sizes are 1 to 7.

Ver también:
logicalFontSize(), QFont::pointSize(), QFont::setPointSize()
void QStyleSheetItem::setLogicalFontSize ( int  s)
void QStyleSheetItem::setLogicalFontSizeStep ( int  s)
void QStyleSheetItem::setLogicalFontSizeStep ( int  s)

Sets the logical font size step of this style to s.

Ver también:
logicalFontSizeStep()
void QStyleSheetItem::setMargin ( Margin  m,
int  v 
)

Sets the width of margin m to v pixels.

The margin, m, can be MarginLeft, MarginRight, MarginTop, MarginBottom, MarginFirstLine, MarginAll, MarginVertical or MarginHorizontal. The value v must be >= 0.

Ver también:
margin()
void QStyleSheetItem::setMargin ( Margin  ,
int   
)
void QStyleSheetItem::setNumberOfColumns ( int  ncols)
void QStyleSheetItem::setNumberOfColumns ( int  ncols)

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

Ver también:
numberOfColumns()
void QStyleSheetItem::setSelfNesting ( bool  nesting)

Sets the self-nesting property for this style to nesting.

In order to support "dirty" HTML, paragraphs {

} and list items {} are not self-nesting. This means that starting a new paragraph or list item automatically closes the previous one.

Ver también:
selfNesting()
void QStyleSheetItem::setSelfNesting ( bool  )
void QStyleSheetItem::setVerticalAlignment ( VerticalAlignment  valign)

Sets the vertical alignment to valign. Possible values are VAlignBaseline, VAlignSub or VAlignSuper.

The vertical alignment property is not inherited.

Ver también:
verticalAlignment()
void QStyleSheetItem::setVerticalAlignment ( VerticalAlignment  valign)
void QStyleSheetItem::setWhiteSpaceMode ( WhiteSpaceMode  m)
void QStyleSheetItem::setWhiteSpaceMode ( WhiteSpaceMode  m)

Sets the whitespace mode to m.

Ver también:
WhiteSpaceMode
QStyleSheet* QStyleSheetItem::styleSheet ( )
const QStyleSheet * QStyleSheetItem::styleSheet ( ) const

Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta. Returns the style sheet this item is in.

QStyleSheet * QStyleSheetItem::styleSheet ( )

Returns the style sheet this item is in.

const QStyleSheet* QStyleSheetItem::styleSheet ( ) const
VerticalAlignment QStyleSheetItem::verticalAlignment ( ) const
QStyleSheetItem::VerticalAlignment QStyleSheetItem::verticalAlignment ( ) const

Returns the vertical alignment of the style. Possible values are VAlignBaseline, VAlignSub or VAlignSuper.

Ver también:
setVerticalAlignment()
QStyleSheetItem::WhiteSpaceMode QStyleSheetItem::whiteSpaceMode ( ) const

Returns the whitespace mode.

Ver también:
setWhiteSpaceMode() WhiteSpaceMode
WhiteSpaceMode QStyleSheetItem::whiteSpaceMode ( ) const

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'