Qt:Документация 4.3.2/qwidgetitem
Материал из Wiki.crossplatform.ru
Версия от 11:04, 12 января 2009; Root  (Обсуждение | вклад)
				
			| Внимание: Актуальная версия перевода документации находится здесь | 
__NOTOC__
| 
 Главная · Все классы · Основные классы · Классы по группам · Модули · Функции  | 
Содержание | 
[править] QWidgetItem Class Reference
[модуль  QtGui ] 
The QWidgetItem class is a layout item that represents a widget. Далее...
 #include <QWidgetItem>Inherits QLayoutItem.
[править] Открытые функции
- QWidgetItem ( QWidget * widget )
 - virtual bool isEmpty () const
 - virtual QWidget * widget ()
 
- 17 открытых функций, унаследованных от 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:
| Класс | Функции | 
|---|---|
| QBoxLayout | addWidget(), insertWidget(), setStretchFactor() | 
| QGridLayout | addWidget() | 
| QStackedLayout | addWidget(), 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.
Reimplemented from QLayoutItem.
See also QWidget::isHidden().
[править] QWidget * QWidgetItem::widget () [virtual]
Returns the widget managed by this item.
Reimplemented from QLayoutItem.
| Copyright © 2007 Trolltech | Trademarks |   Qt 4.3.2 
 | 
