Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator 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)
  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)
 

Properties

override QRect Geometry [get, set]
  More...
 
override Qt.Orientation ExpandingDirections [get]
  More...
 
override bool HasHeightForWidth [get]
  More...
 
override bool IsEmpty [get]
  More...
 
override QSize MaximumSize [get]
  More...
 
override QSize MinimumSize [get]
  More...
 
override QSize SizeHint [get]
  More...
 
override QWidget Widget [get]
  More...
 
new QWidget Wid [get, set]
 
- Properties inherited from QtGui.QLayoutItem
Qt.AlignmentFlag Alignment [get, set]
  More...
 
virtual QRect Geometry [get, set]
  More...
 
QSizePolicy.ControlType ControlTypes [get]
  More...
 
virtual Qt.Orientation ExpandingDirections [get]
  More...
 
virtual bool HasHeightForWidth [get]
  More...
 
virtual bool IsEmpty [get]
  More...
 
virtual QLayout Layout [get]
  More...
 
virtual QSize MaximumSize [get]
  More...
 
virtual QSize MinimumSize [get]
  More...
 
virtual QSize SizeHint [get]
  More...
 
virtual QSpacerItem SpacerItem [get]
  More...
 
virtual QWidget Widget [get]
  More...
 
virtual System.IntPtr SmokeObject [get, set]
 
new Qt.AlignmentFlag Align [get, set]
 
- Properties inherited from QtGui.IQLayoutItem
Qt.AlignmentFlag Alignment [get, set]
  More...
 
QRect Geometry [get, set]
  More...
 
QSizePolicy.ControlType ControlTypes [get]
  More...
 
Qt.Orientation ExpandingDirections [get]
  More...
 
System.Boolean HasHeightForWidth [get]
  More...
 
System.Boolean IsEmpty [get]
  More...
 
QLayout Layout [get]
  More...
 
QSize MaximumSize [get]
  More...
 
QSize MinimumSize [get]
  More...
 
QSize SizeHint [get]
  More...
 
QSpacerItem SpacerItem [get]
  More...
 
QWidget Widget [get]
  More...
 

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.

Here is the call graph for this function:

Member Function Documentation

override void QtGui.QWidgetItem.CreateProxy ( )
virtual

Reimplemented from QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

Here is the caller graph for this function:

new void QtGui.QWidgetItem.Dispose ( )
override int QtGui.QWidgetItem.HeightForWidth ( int  w)
virtual

Reimplemented from QLayoutItem::heightForWidth().

Reimplemented from QtGui.QLayoutItem.

Reimplemented in QtGui.QWidgetItemV2.

Property Documentation

override Qt.Orientation QtGui.QWidgetItem.ExpandingDirections
get

Reimplemented from QLayoutItem::expandingDirections().

override QRect QtGui.QWidgetItem.Geometry
getset

Reimplemented from QLayoutItem::geometry().

Reimplemented from QLayoutItem::setGeometry().

override bool QtGui.QWidgetItem.HasHeightForWidth
get

Reimplemented from QLayoutItem::hasHeightForWidth().

override bool QtGui.QWidgetItem.IsEmpty
get

Reimplemented from QLayoutItem::isEmpty().

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

See also QWidget::isHidden().

override QSize QtGui.QWidgetItem.MaximumSize
get

Reimplemented from QLayoutItem::maximumSize().

override QSize QtGui.QWidgetItem.MinimumSize
get

Reimplemented from QLayoutItem::minimumSize().

override QSize QtGui.QWidgetItem.SizeHint
get

Reimplemented from QLayoutItem::sizeHint().

new QWidget QtGui.QWidgetItem.Wid
getsetprotected
override QWidget QtGui.QWidgetItem.Widget
get

Reimplemented from QLayoutItem::widget().

Returns the widget managed by this item.