Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QWidgetItem Class Reference

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

Inheritance diagram for QtGui.QWidgetItem:
Collaboration diagram for QtGui.QWidgetItem:

Public Member Functions

 QWidgetItem (QWidget w)
 
 
override void CreateProxy ()
 
override Qt.Orientation ExpandingDirections ()
 
 
override bool HasHeightForWidth ()
 
 
override int HeightForWidth (int arg1)
 
 
override bool IsEmpty ()
 
 
override QSize MaximumSize ()
 
 
override QSize MinimumSize ()
 
 
override QSize SizeHint ()
 
 
override QWidget Widget ()
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QLayoutItem
 QLayoutItem (IQLayoutItem copy)
 
 
 QLayoutItem (Qt.AlignmentFlag alignment=0)
 
 
new QSizePolicy.ControlType ControlTypes ()
 
 
virtual void Invalidate ()
 
 
virtual QLayout Layout ()
 
 
virtual int MinimumHeightForWidth (int arg1)
 
 
virtual QSpacerItem SpacerItem ()
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.IQLayoutItem
new QSizePolicy.ControlType ControlTypes ()
 
Qt.Orientation ExpandingDirections ()
 
bool HasHeightForWidth ()
 
int HeightForWidth (int arg1)
 
void Invalidate ()
 
bool IsEmpty ()
 
QLayout Layout ()
 
QSize MaximumSize ()
 
int MinimumHeightForWidth (int arg1)
 
QSize MinimumSize ()
 
QSize SizeHint ()
 
QSpacerItem SpacerItem ()
 
QWidget Widget ()
 

Protected Member Functions

 QWidgetItem (System.Type dummy)
 
- Protected Member Functions inherited from QtGui.QLayoutItem
 QLayoutItem (System.Type dummy)
 

Properties

override QRect Geometry [get, set]
 
 
new QWidget Wid [get, set]
 
- Properties inherited from QtGui.QLayoutItem
new Qt.AlignmentFlag Alignment [get, set]
 
 
abstract QRect Geometry [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 
new Qt.AlignmentFlag Align [get, set]
 
- Properties inherited from QtGui.IQLayoutItem
Qt.AlignmentFlag Alignment [get, set]
 
QRect Geometry [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from QtGui.QLayoutItem
SmokeInvocation interceptor
 

Detailed Description

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().

Constructor & Destructor Documentation

QtGui.QWidgetItem.QWidgetItem ( System.Type  dummy)
protected
QtGui.QWidgetItem.QWidgetItem ( QWidget  w)

Creates an item containing the given widget.

Member Function Documentation

override void QtGui.QWidgetItem.CreateProxy ( )
virtual

Reimplemented from QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

new void QtGui.QWidgetItem.Dispose ( )
override Qt.Orientation QtGui.QWidgetItem.ExpandingDirections ( )
virtual

Reimplemented from QLayoutItem::expandingDirections().

Implements QtGui.QLayoutItem.

override bool QtGui.QWidgetItem.HasHeightForWidth ( )
virtual

Reimplemented from QLayoutItem::hasHeightForWidth().

Reimplemented from QtGui.QLayoutItem.

override int QtGui.QWidgetItem.HeightForWidth ( int  arg1)
virtual

Reimplemented from QLayoutItem::heightForWidth().

Reimplemented from QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

override bool QtGui.QWidgetItem.IsEmpty ( )
virtual

Reimplemented from QLayoutItem::isEmpty().

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

See also QWidget::isHidden().

Implements QtGui.QLayoutItem.

override QSize QtGui.QWidgetItem.MaximumSize ( )
virtual

Reimplemented from QLayoutItem::maximumSize().

Implements QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

override QSize QtGui.QWidgetItem.MinimumSize ( )
virtual

Reimplemented from QLayoutItem::minimumSize().

Implements QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

override QSize QtGui.QWidgetItem.SizeHint ( )
virtual

Reimplemented from QLayoutItem::sizeHint().

Implements QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

override QWidget QtGui.QWidgetItem.Widget ( )
virtual

Reimplemented from QLayoutItem::widget().

Returns the widget managed by this item.

Reimplemented from QtGui.QLayoutItem.

Property Documentation

override QRect QtGui.QWidgetItem.Geometry
getset

Reimplemented from QLayoutItem::geometry().

Reimplemented from QLayoutItem::setGeometry().

new QWidget QtGui.QWidgetItem.Wid
getsetprotected