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

LabelWidget Class Reference
(QtUiTest::LabelWidget)
[QtUiTestModule]

The LabelWidget class provides an abstract base class for all test widgets which are conceptually labels. More...

    #include <QtUiTest>

This class is under development and is subject to change.

Public Functions


Detailed Description

The LabelWidget class provides an abstract base class for all test widgets which are conceptually labels.

Some widgets may act as labels for themselves while also providing other functionality. For example, a button widget labels itself and is also an ActivateWidget.

Examples of widgets suitable for this interface include QLabel.


Member Function Documentation

QString LabelWidget::labelText () const   [pure virtual]

Returns the text displayed on this label.

Most label widgets will also implement QtUiTest::TextWidget. Most commonly, labelText() returns the same value as QtUiTest::TextWidget::text().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3