Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1981

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

<class name="QDockWidget" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; class provides a widget that can be docked inside a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt; or floated as a top-level window on the desktop.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; provides the concept of dock widgets, also know as tool palettes or utility windows. Dock windows are secondary windows placed in the &lt;i&gt;dock widget area&lt;/i&gt; around the central widget&lt;/tt&gt; in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/mainwindow-docks.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;Dock windows can be moved inside their current area, moved into new areas and floated (e.g&amp;#x2e; undocked) by the end-user. The &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; API allows the programmer to restrict the dock widgets ability to move, float and close, as well as the areas in which they can be placed.&lt;/p&gt;
&lt;a name=&quot;appearance&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Appearance&lt;/h3&gt;
&lt;p&gt;A &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; consists of a title bar and the content area. The title bar displays the dock widgets window title&lt;/tt&gt;, a &lt;i&gt;float&lt;/i&gt; button and a &lt;i&gt;close&lt;/i&gt; button. Depending on the state of the &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;, the &lt;i&gt;float&lt;/i&gt; and &lt;i&gt;close&lt;/i&gt; buttons may be either disabled or not shown at all.&lt;/p&gt;
&lt;p&gt;The visual appearance of the title bar and buttons is dependent on the &lt;a href=&quot;QStyle.html&quot;&gt;style&lt;/tt&gt;&lt;/a&gt; in use.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; acts as a wrapper for its child widget, set with &lt;a href=&quot;QDockWidget.html#setWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setWidget&lt;/tt&gt;&lt;/a&gt;. Custom size hints, minimum and maximum sizes and size policies should be implemented in the child widget. &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; will respect them, adjusting its own constraints to include the frame and title. Size constraints should not be set on the &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; itself, because they change depending on wether it is docked; a docked &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; has no frame and a smaller title bar.&lt;/p&gt;

@see &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;
@see Dock Widgets Example&lt;/tt&gt; */">
    <signal name="protected final void allowedAreasChanged(com.trolltech.qt.core.Qt.DockWidgetAreas allowedAreas)" doc="/**
&lt;p&gt;This signal is emitted when the &lt;a href=&quot;QDockWidget.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt; property changes. The &lt;tt&gt;allowedAreas&lt;/tt&gt; parameter gives the new value of the property.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.DockWidgetAreas allowedAreas)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void dockLocationChanged(com.trolltech.qt.core.Qt.DockWidgetArea area)" doc="/**
&lt;p&gt;This signal is emitted when the dock widget is moved to another dock &lt;tt&gt;area&lt;/tt&gt;, or is moved to a different location in its current dock area. This happens when the dock widget is moved programatically or is dragged to a new location by the user.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.DockWidgetArea area)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void featuresChanged(com.trolltech.qt.gui.QDockWidget.DockWidgetFeatures features)" doc="/**
&lt;p&gt;This signal is emitted when the &lt;a href=&quot;QDockWidget.html#features()&quot;&gt;features&lt;/tt&gt;&lt;/a&gt; property changes. The &lt;tt&gt;features&lt;/tt&gt; parameter gives the new value of the property.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QDockWidget.DockWidgetFeatures features)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void topLevelChanged(boolean topLevel)" doc="/**
&lt;p&gt;This signal is emitted when the floating&lt;/tt&gt; property changes. The &lt;tt&gt;topLevel&lt;/tt&gt; parameter is true if the dock widget is now floating; otherwise it is false.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(boolean topLevel)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#isWindow()&quot;&gt;&lt;tt&gt;isWindow&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void visibilityChanged(boolean visible)" doc="/**
&lt;p&gt;This signal is emitted when the dock widget becomes &lt;tt&gt;visible&lt;/tt&gt; (or invisible). This happens when the widget is hidden or shown, as well as when it is docked in a tabbed dock area and its tab becomes selected or unselected.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(boolean visible)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QDockWidget(java.lang.String title, com.trolltech.qt.gui.QWidget parent, com.trolltech.qt.core.Qt.WindowFlags flags)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; with parent &lt;tt&gt;parent&lt;/tt&gt; and window flags &lt;tt&gt;flags&lt;/tt&gt;. The dock widget will be placed in the left dock widget area.&lt;/p&gt;
&lt;p&gt;The window title is set to &lt;tt&gt;title&lt;/tt&gt;. This title is used when the &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; is docked and undocked. It is also used in the context menu provided by &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#setWindowTitle(java.lang.String)&quot;&gt;&lt;tt&gt;setWindowTitle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QDockWidget(java.lang.String title, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;title&lt;/tt&gt;, &lt;tt&gt;parent&lt;/tt&gt;, 0). */"/>
    <method name="public QDockWidget(java.lang.String title)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;title&lt;/tt&gt;, 0, 0). */"/>
    <method name="public QDockWidget(com.trolltech.qt.gui.QWidget parent, com.trolltech.qt.core.Qt.WindowFlags flags)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; with parent &lt;tt&gt;parent&lt;/tt&gt; and window flags &lt;tt&gt;flags&lt;/tt&gt;. The dock widget will be placed in the left dock widget area.&lt;/p&gt;
 */"/>
    <method name="public QDockWidget(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, 0). */"/>
    <method name="public QDockWidget()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;(0, 0). */"/>
    <method name="public final com.trolltech.qt.core.Qt.DockWidgetAreas allowedAreas()" doc="/**
&lt;p&gt;Returns areas where the dock widget may be placed.&lt;/p&gt;
&lt;p&gt;The default is Qt::AllDockWidgetAreas.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#setAllowedAreas(com.trolltech.qt.core.Qt.DockWidgetAreas)&quot;&gt;&lt;tt&gt;setAllowedAreas&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DockWidgetArea&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QDockWidget.DockWidgetFeatures features()" doc="/**
&lt;p&gt;Returns whether the dock widget is movable, closable, and floatable.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#setFeatures(com.trolltech.qt.gui.QDockWidget.DockWidgetFeatures)&quot;&gt;&lt;tt&gt;setFeatures&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDockWidget.html#DockWidgetFeature-enum&quot;&gt;&lt;tt&gt;DockWidgetFeature&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isAreaAllowed(com.trolltech.qt.core.Qt.DockWidgetArea area)" doc="/**
&lt;p&gt;Returns true if this dock widget can be placed in the given &lt;tt&gt;area&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isFloating()" doc="/**
&lt;p&gt;Returns whether the dock widget is floating.&lt;/p&gt;
&lt;p&gt;A floating dock widget is presented to the user as an independent window &amp;quot;on top&amp;quot; of its parent &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;, instead of being docked in the &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#isWindow()&quot;&gt;&lt;tt&gt;isWindow&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAllowedAreas(com.trolltech.qt.core.Qt.DockWidgetAreas areas)" doc="/**
&lt;p&gt;Sets areas where the dock widget may be placed to &lt;tt&gt;areas&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default is Qt::AllDockWidgetAreas.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DockWidgetArea&lt;/tt&gt; */"/>
    <method name="public final void setFeatures(com.trolltech.qt.gui.QDockWidget.DockWidgetFeatures features)" doc="/**
&lt;p&gt;Sets whether the dock widget is movable, closable, and floatable to &lt;tt&gt;features&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#features()&quot;&gt;&lt;tt&gt;features&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDockWidget.html#DockWidgetFeature-enum&quot;&gt;&lt;tt&gt;DockWidgetFeature&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFloating(boolean floating)" doc="/**
&lt;p&gt;Sets whether the dock widget is floating to &lt;tt&gt;floating&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;A floating dock widget is presented to the user as an independent window &amp;quot;on top&amp;quot; of its parent &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;, instead of being docked in the &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#isFloating()&quot;&gt;&lt;tt&gt;isFloating&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#isWindow()&quot;&gt;&lt;tt&gt;isWindow&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTitleBarWidget(com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Sets an arbitrary &lt;tt&gt;widget&lt;/tt&gt; as the dock widget's title bar. If &lt;tt&gt;widget&lt;/tt&gt; is 0, the title bar widget is removed, but not deleted.&lt;/p&gt;
&lt;p&gt;If a title bar widget is set, &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; will not use native window decorations when it is floated.&lt;/p&gt;
&lt;p&gt;Here are some tips for implementing custom title bars:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mouse events that are not explicitly handled by the title bar widget must be ignored by calling QMouseEvent::ignore(). These events then propagate to the &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt; parent, which handles them in the usual manner, moving when the title bar is dragged, docking and undocking when it is double-clicked, etc.&lt;/li&gt;
&lt;li&gt;When &lt;a href=&quot;QDockWidget.html#DockWidgetFeature-enum&quot;&gt;&lt;tt&gt;DockWidgetVerticalTitleBar&lt;/tt&gt;&lt;/a&gt; is set on &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;, the title bar widget is repositioned accordingly. In &lt;a href=&quot;QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)&quot;&gt;&lt;tt&gt;resizeEvent&lt;/tt&gt;&lt;/a&gt;, the title bar should check what orientation it should assume:&lt;pre&gt;    QDockWidget *dockWidget = qobject_cast&amp;lt;QDockWidget*&amp;gt;(parentWidget());
    if (dockWidget-&amp;gt;features() &amp;amp; QDockWidget::DockWidgetVerticalTitleBar) {
        &lt;span class=&quot;comment&quot;&gt;// I need to be vertical&lt;/span&gt;
    } else {
        &lt;span class=&quot;comment&quot;&gt;// I need to be horizontal&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;The title bar widget must have a valid QWidget::sizeHint() and QWidget::minimumSizeHint(). These functions should take into account the current orientation of the title bar.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Using qobject_cast as shown above, the title bar widget has full access to its parent &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;. Hence it can perform such operations as docking and hiding in response to user actions.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#titleBarWidget()&quot;&gt;&lt;tt&gt;titleBarWidget&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDockWidget.html#DockWidgetFeature-enum&quot;&gt;&lt;tt&gt;DockWidgetVerticalTitleBar&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWidget(com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Sets the widget for the dock widget to &lt;tt&gt;widget&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#widget()&quot;&gt;&lt;tt&gt;widget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget titleBarWidget()" doc="/**
&lt;p&gt;Returns the custom title bar widget set on the &lt;a href=&quot;QDockWidget.html#QDockWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QDockWidget&lt;/tt&gt;&lt;/a&gt;, or 0 if no custom title bar has been set.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#setTitleBarWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setTitleBarWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction toggleViewAction()" doc="/**
&lt;p&gt;Returns a checkable action that can be used to show or close this dock widget.&lt;/p&gt;
&lt;p&gt;The action's text is set to the dock widget's window title.&lt;/p&gt;

@see &lt;tt&gt;QAction::text&lt;/tt&gt;
@see &lt;tt&gt;QWidget::windowTitle&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget widget()" doc="/**
&lt;p&gt;Returns the widget for the dock widget. This function returns zero if the widget has not been set.&lt;/p&gt;

@see &lt;a href=&quot;QDockWidget.html#setWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void closeEvent(com.trolltech.qt.gui.QCloseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="DockWidgetFeature">
        <enum-value name="DockWidgetClosable" doc="/**
&lt;p&gt;The dock widget can be closed.&lt;/p&gt;
 */"/>
        <enum-value name="DockWidgetMovable" doc="/**
&lt;p&gt;The dock widget can be moved between docks by the user.&lt;/p&gt;
 */"/>
        <enum-value name="DockWidgetFloatable" doc="/**
&lt;p&gt;The dock widget can be detached from the main window, and floated as an independent window.&lt;/p&gt;
 */"/>
        <enum-value name="DockWidgetVerticalTitleBar" doc="/**
&lt;p&gt;The dock widget displays a vertical title bar on its left side. This can be used to increase the amount of vertical space in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="DockWidgetFeatureMask" doc="/**
Internal. */"/>
        <enum-value name="AllDockWidgetFeatures" doc="/**
&lt;p&gt;(Deprecated) The dock widget can be closed, moved, and floated. Since new features might be added in future releases, the look and behavior of dock widgets might change if you use this flag. Please specify individual flags instead.&lt;/p&gt;
 */"/>
        <enum-value name="NoDockWidgetFeatures" doc="/**
&lt;p&gt;The dock widget cannot be closed, moved, or floated.&lt;/p&gt;
 */"/>
        <enum-value name="Reserved" doc="/**
Internal. */"/>
</enum>
</class>