Qyoto
4.0.6
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) | |
| |
override void | CreateProxy () |
override int | HeightForWidth (int w) |
| |
new void | Dispose () |
![]() | |
QLayoutItem (IQLayoutItem copy) | |
QLayoutItem (Qt.AlignmentFlag alignment=0) | |
| |
virtual void | Invalidate () |
| |
virtual int | MinimumHeightForWidth (int w) |
| |
new void | Dispose () |
![]() | |
int | HeightForWidth (int w) |
| |
void | Invalidate () |
| |
int | MinimumHeightForWidth (int w) |
| |
Protected Member Functions | |
QWidgetItem (System.Type dummy) | |
![]() | |
QLayoutItem (System.Type dummy) | |
Additional Inherited Members | |
![]() | |
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.