Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QThemeTextItem Class Reference
[QtBaseModule]

The QThemeTextItem class provides a text item that you can add to a QThemedView to display formatted text. More...

    #include <QThemeTextItem>

Inherits QThemeItem.

This class was introduced in Qtopia 4.4.

Public Functions

Additional Inherited Members


Detailed Description

The QThemeTextItem class provides a text item that you can add to a QThemedView to display formatted text.

See also QThemeItem and QThemedView.


Member Function Documentation

QThemeTextItem::QThemeTextItem ( QThemeItem * parent = 0 )

Constructs a QThemeTextItem. The parent is passed to the base class constructor.

QThemeTextItem::~QThemeTextItem ()

Destroys the QThemeTextItem.

void QThemeTextItem::setText ( const QString & text )

Sets the content for this text item. text will be drawn to the screen.

See also text().

void QThemeTextItem::setTextFormat ( Qt::TextFormat format )

Sets the text format of the item explicitly to format. If the value is Qt::AutoText, the item tries to determine the correct format.

See also textFormat().

QString QThemeTextItem::text () const

Returns the text set for this text item.

See also setText().

Qt::TextFormat QThemeTextItem::textFormat () const

Returns the current text format of the text item.

See also setTextFormat().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3