|
Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QWidgetItem class is a layout item that represents a widget. More...


Public Member Functions | |
| QWidgetItem (QWidget w) | |
| More... | |
| override void | CreateProxy () |
| override int | HeightForWidth (int w) |
| More... | |
| new void | Dispose () |
Public Member Functions inherited from QtGui.QLayoutItem | |
| QLayoutItem (IQLayoutItem copy) | |
| QLayoutItem (Qt.AlignmentFlag alignment=0) | |
| More... | |
| virtual void | Invalidate () |
| More... | |
| virtual int | MinimumHeightForWidth (int w) |
| More... | |
| new void | Dispose () |
Protected Member Functions | |
| QWidgetItem (System.Type dummy) | |
Protected Member Functions inherited from QtGui.QLayoutItem | |
| QLayoutItem (System.Type dummy) | |
Additional Inherited Members | |
Protected Attributes inherited from QtGui.QLayoutItem | |
| SmokeInvocation | interceptor |
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:
ClassFunctions
QBoxLayout addWidget(), insertWidget(), setStretchFactor()
QGridLayout addWidget()
QStackedLayout addWidget(), insertWidget(), currentWidget(), setCurrentWidget(), widget()
See also QLayout, QSpacerItem, and QLayoutItem::widget().
|
protected |
| QtGui.QWidgetItem.QWidgetItem | ( | QWidget | w | ) |
Creates an item containing the given widget.

|
virtual |
Reimplemented from QtGui.QLayoutItem.
Reimplemented in QtGui.QWidgetItemV2.

| new void QtGui.QWidgetItem.Dispose | ( | ) |
|
virtual |
Reimplemented from QLayoutItem::heightForWidth().
Reimplemented from QtGui.QLayoutItem.
Reimplemented in QtGui.QWidgetItemV2.
|
get |
Reimplemented from QLayoutItem::expandingDirections().
|
getset |
Reimplemented from QLayoutItem::geometry().
Reimplemented from QLayoutItem::setGeometry().
|
get |
Reimplemented from QLayoutItem::hasHeightForWidth().
|
get |
Reimplemented from QLayoutItem::isEmpty().
Returns true if the widget is hidden; otherwise returns false.
See also QWidget::isHidden().
|
get |
Reimplemented from QLayoutItem::maximumSize().
|
get |
Reimplemented from QLayoutItem::minimumSize().
|
get |
Reimplemented from QLayoutItem::sizeHint().
|
getsetprotected |
|
get |
Reimplemented from QLayoutItem::widget().
Returns the widget managed by this item.