Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

QWidgetItem Class Reference
[модуль QtGui]

The QWidgetItem class is a layout item that represents a widget. Далее...

 #include <QWidgetItem>

Inherits QLayoutItem.

Открытые функции


Подробное описание

The QWidgetItem class is a layout item that represents a widget.

Normally, you don't need to use this class directly. Qt's built-in layout managers provide the following functions for manipulating widgets in layouts:

КлассФункции
QBoxLayoutaddWidget(), insertWidget(), setStretchFactor()
QGridLayoutaddWidget()
QStackedLayoutaddWidget(), insertWidget(), currentWidget(), setCurrentWidget(), widget()

See also QLayout, QSpacerItem, and QLayoutItem::widget().


Описание функций-членов

QWidgetItem::QWidgetItem ( QWidget * widget )

Creates an item containing the given widget.

bool QWidgetItem::isEmpty () const   [virtual]

Returns true if the widget is hidden; otherwise returns false.

Переопределено из QLayoutItem.

See also QWidget::isHidden().

QWidget * QWidgetItem::widget ()   [virtual]

Returns the widget managed by this item.

Переопределено из QLayoutItem.


Copyright © 2008 Trolltech Торговые марки
Qt 4.3.5