Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2452

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QWidgetItem" doc="/**
&lt;p&gt;The &lt;a href=&quot;QWidgetItem.html#QWidgetItem(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWidgetItem&lt;/tt&gt;&lt;/a&gt; class is a layout item that represents a widget.&lt;/p&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Class&lt;/th&gt;&lt;th&gt;Functions&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QBoxLayout.html&quot;&gt;&lt;tt&gt;QBoxLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;addWidget(), insertWidget(), setStretchFactor()&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QGridLayout.html&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;addWidget()&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStackedLayout.html&quot;&gt;&lt;tt&gt;QStackedLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;addWidget(), insertWidget(), currentWidget(), setCurrentWidget(), widget()&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QLayout.html&quot;&gt;&lt;tt&gt;QLayout&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSpacerItem.html&quot;&gt;&lt;tt&gt;QSpacerItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QLayoutItem::widget&lt;/tt&gt; */">
    <method name="public QWidgetItem(com.trolltech.qt.gui.QWidget w)" doc="/**
&lt;p&gt;Creates an item containing the given &lt;tt&gt;w&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.Qt.Alignment alignment()" doc="/**
&lt;p&gt;Returns the alignment of this item.&lt;/p&gt;

@see &lt;a href=&quot;QWidgetItem.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QSizePolicy.ControlTypes controlTypes()" doc="/**
&lt;p&gt;Returns the control type(s) for the layout item. For a &lt;a href=&quot;QWidgetItem.html#QWidgetItem(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWidgetItem&lt;/tt&gt;&lt;/a&gt;, the control type comes from the widget's size policy; for a &lt;a href=&quot;QLayoutItem.html&quot;&gt;&lt;tt&gt;QLayoutItem&lt;/tt&gt;&lt;/a&gt;, the control types is derived from the layout's contents.&lt;/p&gt;

@see &lt;tt&gt;QSizePolicy::controlType&lt;/tt&gt; */"/>
    <method name="public final void setAlignment(com.trolltech.qt.core.Qt.Alignment a)" doc="/**
&lt;p&gt;Sets the alignment of this item to &lt;tt&gt;a&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Item alignment is only supported by &lt;a href=&quot;QLayoutItem.html&quot;&gt;&lt;tt&gt;QLayoutItem&lt;/tt&gt;&lt;/a&gt; subclasses where it would have a visual effect. Except for &lt;a href=&quot;QSpacerItem.html&quot;&gt;&lt;tt&gt;QSpacerItem&lt;/tt&gt;&lt;/a&gt;, which provides blank space for layouts, all public Qt classes that inherit &lt;a href=&quot;QLayoutItem.html&quot;&gt;&lt;tt&gt;QLayoutItem&lt;/tt&gt;&lt;/a&gt; support item alignment.&lt;/p&gt;

@see &lt;a href=&quot;QWidgetItem.html#alignment()&quot;&gt;&lt;tt&gt;alignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.Qt.Orientations expandingDirections()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QRect geometry()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;

@see &lt;a href=&quot;QWidgetItem.html#setGeometry(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;setGeometry&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean hasHeightForWidth()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int heightForWidth(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void invalidate()" doc="/**
&lt;p&gt;Invalidates any cached information in this layout item.&lt;/p&gt;
 */"/>
    <method name="public boolean isEmpty()" doc="/**
&lt;p&gt;Returns true if the widget is hidden; otherwise returns false.&lt;/p&gt;

@see &lt;tt&gt;QWidget::isHidden&lt;/tt&gt; */"/>
    <method name="public com.trolltech.qt.gui.QLayout layout()" doc="/**
&lt;p&gt;If this item is a &lt;a href=&quot;QLayout.html&quot;&gt;&lt;tt&gt;QLayout&lt;/tt&gt;&lt;/a&gt;, it is returned as a &lt;a href=&quot;QLayout.html&quot;&gt;&lt;tt&gt;QLayout&lt;/tt&gt;&lt;/a&gt;; otherwise 0 is returned. This function provides type-safe casting.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize maximumSize()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int minimumHeightForWidth(int arg__1)" doc="/**
&lt;p&gt;Returns the minimum height this widget needs for the given width, &lt;tt&gt;arg__1&lt;/tt&gt;. The default implementation simply returns &lt;a href=&quot;QWidgetItem.html#heightForWidth(int)&quot;&gt;&lt;tt&gt;heightForWidth&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSize()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void setGeometry(com.trolltech.qt.core.QRect arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;

@see &lt;a href=&quot;QWidgetItem.html#geometry()&quot;&gt;&lt;tt&gt;geometry&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.gui.QSpacerItem spacerItem()" doc="/**
&lt;p&gt;If this item is a &lt;a href=&quot;QSpacerItem.html&quot;&gt;&lt;tt&gt;QSpacerItem&lt;/tt&gt;&lt;/a&gt;, it is returned as a &lt;a href=&quot;QSpacerItem.html&quot;&gt;&lt;tt&gt;QSpacerItem&lt;/tt&gt;&lt;/a&gt;; otherwise 0 is returned. This function provides type-safe casting.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.gui.QWidget widget()" doc="/**
&lt;p&gt;Returns the widget managed by this item.&lt;/p&gt;
 */"/>
</class>