Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:06:46 CEST 2007 -->
<TITLE>
QWidget
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QWidget class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QWidget";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWheelEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlag.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QWidget.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QWidget.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QWidget</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QWidget</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QAbstractButton.html" title="class in com.trolltech.qt.gui">QAbstractButton</A>, <A HREF="../../../../com/trolltech/qt/gui/QAbstractSlider.html" title="class in com.trolltech.qt.gui">QAbstractSlider</A>, <A HREF="../../../../com/trolltech/qt/gui/QAbstractSpinBox.html" title="class in com.trolltech.qt.gui">QAbstractSpinBox</A>, <A HREF="../../../../com/trolltech/qt/gui/QCalendarWidget.html" title="class in com.trolltech.qt.gui">QCalendarWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QComboBox.html" title="class in com.trolltech.qt.gui">QComboBox</A>, <A HREF="../../../../com/trolltech/qt/gui/QDesktopWidget.html" title="class in com.trolltech.qt.gui">QDesktopWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QDialog.html" title="class in com.trolltech.qt.gui">QDialog</A>, <A HREF="../../../../com/trolltech/qt/gui/QDialogButtonBox.html" title="class in com.trolltech.qt.gui">QDialogButtonBox</A>, <A HREF="../../../../com/trolltech/qt/gui/QDockWidget.html" title="class in com.trolltech.qt.gui">QDockWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QFocusFrame.html" title="class in com.trolltech.qt.gui">QFocusFrame</A>, <A HREF="../../../../com/trolltech/qt/gui/QFrame.html" title="class in com.trolltech.qt.gui">QFrame</A>, <A HREF="../../../../com/trolltech/qt/opengl/QGLWidget.html" title="class in com.trolltech.qt.opengl">QGLWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QGroupBox.html" title="class in com.trolltech.qt.gui">QGroupBox</A>, <A HREF="../../../../com/trolltech/qt/gui/QLineEdit.html" title="class in com.trolltech.qt.gui">QLineEdit</A>, <A HREF="../../../../com/trolltech/qt/gui/QMainWindow.html" title="class in com.trolltech.qt.gui">QMainWindow</A>, <A HREF="../../../../com/trolltech/qt/gui/QMdiSubWindow.html" title="class in com.trolltech.qt.gui">QMdiSubWindow</A>, <A HREF="../../../../com/trolltech/qt/gui/QMenu.html" title="class in com.trolltech.qt.gui">QMenu</A>, <A HREF="../../../../com/trolltech/qt/gui/QMenuBar.html" title="class in com.trolltech.qt.gui">QMenuBar</A>, <A HREF="../../../../com/trolltech/qt/gui/QProgressBar.html" title="class in com.trolltech.qt.gui">QProgressBar</A>, <A HREF="../../../../com/trolltech/qt/gui/QRubberBand.html" title="class in com.trolltech.qt.gui">QRubberBand</A>, <A HREF="../../../../com/trolltech/qt/gui/QSizeGrip.html" title="class in com.trolltech.qt.gui">QSizeGrip</A>, <A HREF="../../../../com/trolltech/qt/gui/QSplashScreen.html" title="class in com.trolltech.qt.gui">QSplashScreen</A>, <A HREF="../../../../com/trolltech/qt/gui/QSplitterHandle.html" title="class in com.trolltech.qt.gui">QSplitterHandle</A>, <A HREF="../../../../com/trolltech/qt/gui/QStatusBar.html" title="class in com.trolltech.qt.gui">QStatusBar</A>, <A HREF="../../../../com/trolltech/qt/svg/QSvgWidget.html" title="class in com.trolltech.qt.svg">QSvgWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QTabBar.html" title="class in com.trolltech.qt.gui">QTabBar</A>, <A HREF="../../../../com/trolltech/qt/gui/QTabWidget.html" title="class in com.trolltech.qt.gui">QTabWidget</A>, <A HREF="../../../../com/trolltech/qt/gui/QToolBar.html" title="class in com.trolltech.qt.gui">QToolBar</A>, <A HREF="../../../../com/trolltech/qt/gui/QWizardPage.html" title="class in com.trolltech.qt.gui">QWizardPage</A>, <A HREF="../../../../com/trolltech/qt/gui/QWorkspace.html" title="class in com.trolltech.qt.gui">QWorkspace</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QWidget</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A><DT>implements <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></DL>
</PRE>

<P>
<p>The <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> class is the base class of all user interface objects.</p>
<p>The widget is the atom of the user interface: it receives mouse, keyboard and other events from the window system, and paints a representation of itself on the screen. Every widget is rectangular, and they are sorted in a Z-order. A widget is clipped by its parent and by the widgets in front of it.</p>
<p>A widget that isn't embedded in a parent widget is called a window. Usually, windows have a frame and a title bar, although it is also possible to create windows without such decoration using suitable window flags</tt>). In Qt, <a href="QMainWindow.html"><tt>QMainWindow</tt></a> and the various subclasses of <a href="QDialog.html"><tt>QDialog</tt></a> are the most common window types.</p>
<p>Every widget's constructor accepts one or two standard arguments:</p>
<ol type="1">
<li><tt>QWidget *parent = 0</tt> is the parent of the new widget. If it is 0 (the default), the new widget will be a window. If not, it will be a child of <i>parent</i>, and be constrained by <i>parent</i>'s geometry (unless you specify <a href="%2E%2E/winsystem.html#qt-windows">Qt::Window</tt></a> as window flag).</li>
<li><tt>Qt::WindowFlags f = 0</tt> (where available) sets the window flags; the default is suitable for almost all widgets, but to get, for example, a window without a window system frame, you must use special flags.</li>
</ol>
<p><a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> has many member functions, but some of them have little direct functionality; for example, <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> has a font property, but never uses this itself. There are many subclasses which provide real functionality, such as <a href="QLabel.html"><tt>QLabel</tt></a>, <a href="QPushButton.html"><tt>QPushButton</tt></a>, <a href="QListWidget.html"><tt>QListWidget</tt></a>, and <a href="QTabWidget.html"><tt>QTabWidget</tt></a>.</p>
<a name="top-level-and-child-widgets"></a>
<h3>Top-Level and Child Widgets</h3>
<p>A widget without a parent widget is always an independent window (top-level widget). For these widgets, <a href="QWidget.html#setWindowTitle(java.lang.String)"><tt>setWindowTitle</tt></a> and <a href="QWidget.html#setWindowIcon(com.trolltech.qt.gui.QIcon)"><tt>setWindowIcon</tt></a> set the title bar and icon respectively.</p>
<p>Non-window widgets are child widgets, and are displayed within their parent widgets. Most widgets in Qt are mainly useful as child widgets. For example, it is possible to display a button as a top-level window, but most people prefer to put their buttons inside other widgets, such as <a href="QDialog.html"><tt>QDialog</tt></a>.</p>
<p align="center"><img src="%2E%2E/images/parent-child-widgets.png" alt="A parent widget containing various child widgets." /></p><p>The above diagram shows a <a href="QGroupBox.html"><tt>QGroupBox</tt></a> widget being used to hold various child widgets in a layout provided by <a href="QGridLayout.html"><tt>QGridLayout</tt></a>. The <a href="QLabel.html"><tt>QLabel</tt></a> child widgets have been outlined to indicate their full sizes.</p>
<p>If you want to use a <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> to hold child widgets you will usually want to add a layout to the parent <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>. See <a href="%2E%2E/layout.html">Layout Classes</tt></a> for more information about these.</p>
<a name="composite-widgets"></a>
<h3>Composite Widgets</h3>
<p>When a widgets is used as a container to group a number of child widgets, it is known as a composite widget. These can be created by constructing a widget with the required visual properties - a <a href="QFrame.html"><tt>QFrame</tt></a>, for example - and adding child widgets to it, usually managed by a layout. The above diagram shows such a composite widget that was created using <a href="%2E%2E/qtjambi-designer.html">Qt Designer</tt></a>.</p>
<p>Composite widgets can also be created by subclassing a standard widget, such as <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> or <a href="QFrame.html"><tt>QFrame</tt></a>, and adding the necessary layout and child widgets in the constructor of the subclass. Many of the <a href="%2E%2E/examples.html">examples provided with Qt</tt></a> use this approach, and it is also covered in the <a href="%2E%2E/tutorial.html">Qt Tutorial</tt></a>.</p>
<a name="custom-widgets-and-painting"></a>
<h3>Custom Widgets and Painting</h3>
<p>Since <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> is a subclass of <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a>, subclasses can be used to display custom content that is composed using a series of painting operations with an instance of the <a href="QPainter.html"><tt>QPainter</tt></a> class. This approach contrasts with the canvas-style approach used by the <a href="%2E%2E/graphicsview.html#graphics-view">Graphics View Framework</tt></a> where items are added to a scene by the application and are rendered by the framework itself.</p>
<p>Each widget performs all painting operations from within its <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> function. This is called whenever the widget needs to be redrawn, either as a result of some external change or when requested by the application.</p>
<p>The Analog Clock example</tt> shows how a simple widget can handle paint events.</p>
<a name="size-hints-and-size-policies"></a>
<h3>Size Hints and Size Policies</h3>
<p>When implementing a new widget, it is almost always useful to reimplement <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> to provide a reasonable default size for the widget and to set the correct size policy with <a href="QWidget.html#setSizePolicy(com.trolltech.qt.gui.QSizePolicy)"><tt>setSizePolicy</tt></a>.</p>
<p>By default, composite widgets which do not provide a size hint will be sized according to the space requirements of their child widgets.</p>
<p>The size policy lets you supply good default behavior for the layout management system, so that other widgets can contain and manage yours easily. The default size policy indicates that the size hint represents the preferred size of the widget, and this is often good enough for many widgets.</p>
<a name="events"></a>
<h3>Events</h3>
<p>Widgets respond to events that are typically caused by user actions. Qt delivers events to widgets by calling specific event handler functions with instances of <a href="%2E%2E/core/QEvent.html"><tt>QEvent</tt></a> subclasses containing information about each event.</p>
<p>If your widget only contains child widgets, you probably do not need to implement any event handlers. If you want to detect a mouse click in a child widget call the child's <a href="QWidget.html#underMouse()"><tt>underMouse</tt></a> function inside the widget's <a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>.</p>
<p>The Scribble example</tt> implements a wider set of events to handle mouse movement, button presses, and window resizing.</p>
<p>You will need to supply the behavior and content for your own widgets, but here is a brief overview of the events that are relevant to <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>, starting with the most common ones:</p>
<ul>
<li><a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> is called whenever the widget needs to be repainted. Every widget which displays custom content must implement it. Painting using a <a href="QPainter.html"><tt>QPainter</tt></a> can only take place in a <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> or a function called by a <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>.</li>
<li><a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> is called when the widget has been resized.</li>
<li><a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a> is called when a mouse button is pressed when the mouse is inside it, or when it has grabbed the mouse using <a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>.</li>
<li><a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a> is called when a mouse button is released. A widget receives mouse release events when it has received the corresponding mouse press event. This means that if the user presses the mouse inside <i>your</i> widget, then drags the mouse to somewhere else before releasing the mouse button, <i>your</i> widget receives the release event. There is one exception: if a popup menu appears while the mouse button is held down, this popup immediately steals the mouse events.</li>
<li><a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a> is called when the user double clicks in the widget. If the user double-clicks, the widget receives a mouse press event, a mouse release event and finally this event instead of a second mouse press event. (Some mouse move events may also be received if the user doesn't hold the mouse steady during this operation.) It is <i>not possible</i> to distinguish a click from a double click until the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, rather than trigger a different action.)</li>
</ul>
<p>Widgets that accept keyboard input need to reimplement a few more event handlers:</p>
<ul>
<li><a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a> is called whenever a key is pressed, and again when a key has been held down long enough for it to auto-repeat. Note that the <b>Tab</b> and <b>Shift+Tab</b> keys are only passed to the widget if they are not used by the focus-change mechanisms. To force those keys to be processed by your widget, you must reimplement QWidget::event().</li>
<li><a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a> is called when the widget gains keyboard focus (assuming you have called <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>). Well written widgets indicate that they own the keyboard focus in a clear but discreet way.</li>
<li><a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a> is called when the widget loses keyboard focus.</li>
</ul>
<p>Some widgets will also need to reimplement some of the less common event handlers:</p>
<ul>
<li><a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a> is called whenever the mouse moves while a button is held down. This can be useful during drag and drop operations. If you call <a href="QWidget.html#setMouseTracking(boolean)"><tt>setMouseTracking</tt></a>(true), you get mouse move events even when no buttons are held down. (See also the guide to <a href="%2E%2E/dnd.html">Drag and Drop</tt></a>.)</li>
<li><a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a> is called whenever a key is released, and also while it is held down if the key is auto-repeating. In that case the widget receives a pair of key release and key press events for every repeat. Note that the <b>Tab</b> and <b>Shift+Tab</b> keys are only passed to the widget if they are not used by the focus-change mechanisms. To force those keys to be processed by your widget, you must reimplement QWidget::event().</li>
<li><a href="QWidget.html#wheelEvent(com.trolltech.qt.gui.QWheelEvent)"><tt>wheelEvent</tt></a> is called whenever the user turns the mouse wheel while the widget has the focus.</li>
<li><a href="QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)"><tt>enterEvent</tt></a> is called when the mouse enters the widget's screen space. (This excludes screen space owned by any children of the widget.)</li>
<li><a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a> is called when the mouse leaves the widget's screen space. Note that if the mouse enters a child widget it will not cause a <a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a>.</li>
<li><a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> is called when the widget has been moved relative to its parent.</li>
<li><a href="QWidget.html#closeEvent(com.trolltech.qt.gui.QCloseEvent)"><tt>closeEvent</tt></a> is called when the user closes the widget (or when <a href="QWidget.html#close()"><tt>close</tt></a> is called).</li>
</ul>
<p>There are also some rather obscure events described in the QEvent::Type documentation. You need to reimplement <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> directly to handle these. The default implementation of <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> handles <b>Tab</b> and <b>Shift+Tab</b> (to move the keyboard focus), and passes on most other events to one of the more specialized handlers above.</p>
<p>Events and the mechanism used to deliver them are covered in the <a href="%2E%2E/eventsandfilters.html">Events and Event Filters</tt></a> document.</p>
<a name="groups-of-functions-and-properties"></a>
<h3>Groups of Functions and Properties</h3>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Context</th><th>Functions and Properties</th></tr></thead>
<tr valign="top" class="odd"><td>Window functions</td><td><a href="QWidget.html#show()"><tt>show</tt></a>, <a href="QWidget.html#hide()"><tt>hide</tt></a>, <a href="QWidget.html#raise()"><tt>raise</tt></a>, <a href="QWidget.html#lower()"><tt>lower</tt></a>, <a href="QWidget.html#close()"><tt>close</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Top-level windows</td><td><tt>windowModified</tt>, <a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a>, <a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, <a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, <a href="QWidget.html#isActiveWindow()"><tt>isActiveWindow</tt></a>, <a href="QWidget.html#activateWindow()"><tt>activateWindow</tt></a>, minimized</tt>, <a href="QWidget.html#showMinimized()"><tt>showMinimized</tt></a>, maximized</tt>, <a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, <tt>fullScreen</tt>, <a href="QWidget.html#showFullScreen()"><tt>showFullScreen</tt></a>, <a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Window contents</td><td><a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a>, <a href="QWidget.html#repaint()"><tt>repaint</tt></a>, <a href="QWidget.html#scroll(int, int, com.trolltech.qt.core.QRect)"><tt>scroll</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Geometry</td><td><a href="QWidget.html#pos()">pos</tt></a>, <a href="QWidget.html#x()"><tt>x</tt></a>, <a href="QWidget.html#y()"><tt>y</tt></a>, <a href="QWidget.html#rect()">rect</tt></a>, <a href="QWidget.html#size()">size</tt></a>, <a href="QWidget.html#width()"><tt>width</tt></a>, <a href="QWidget.html#height()"><tt>height</tt></a>, <a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a>, <a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, <a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a>, <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, <a href="QWidget.html#minimumSizeHint()"><tt>minimumSizeHint</tt></a>, <a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a>, <a href="QWidget.html#layout()"><tt>layout</tt></a>, <a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, <a href="QWidget.html#geometry()">geometry</tt></a>, <a href="QWidget.html#childrenRect()"><tt>childrenRect</tt></a>, <a href="QWidget.html#childrenRegion()"><tt>childrenRegion</tt></a>, <a href="QWidget.html#adjustSize()"><tt>adjustSize</tt></a>, <a href="QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)"><tt>mapFromGlobal</tt></a>, <a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a>, <a href="QWidget.html#mapFromParent(com.trolltech.qt.core.QPoint)"><tt>mapFromParent</tt></a>, <a href="QWidget.html#mapToParent(com.trolltech.qt.core.QPoint)"><tt>mapToParent</tt></a>, <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>, <a href="QWidget.html#baseSize()"><tt>baseSize</tt></a>, <a href="QWidget.html#setFixedSize(int, int)"><tt>setFixedSize</tt></a></td></tr>
<tr valign="top" class="odd"><td>Mode</td><td>visible</tt>, <a href="QWidget.html#isVisibleTo(com.trolltech.qt.gui.QWidget)"><tt>isVisibleTo</tt></a>, enabled</tt>, <a href="QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)"><tt>isEnabledTo</tt></a>, modal</tt>, <a href="QWidget.html#isWindow()"><tt>isWindow</tt></a>, <tt>mouseTracking</tt>, <a href="QWidget.html#updatesEnabled()"><tt>updatesEnabled</tt></a>, <a href="QWidget.html#visibleRegion()"><tt>visibleRegion</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Look and feel</td><td><a href="QWidget.html#style()"><tt>style</tt></a>, <a href="QWidget.html#setStyle(com.trolltech.qt.gui.QStyle)"><tt>setStyle</tt></a>, <a href="QWidget.html#styleSheet()"><tt>styleSheet</tt></a>, <a href="QWidget.html#cursor()">cursor</tt></a>, <a href="QWidget.html#font()">font</tt></a>, <a href="QWidget.html#palette()">palette</tt></a>, <a href="QWidget.html#backgroundRole()"><tt>backgroundRole</tt></a>, <a href="QWidget.html#setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><tt>setBackgroundRole</tt></a>, <a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a>, <a href="QWidget.html#fontMetrics()"><tt>fontMetrics</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Keyboard focus functions</td><td>focus</tt>, <a href="QWidget.html#focusPolicy()"><tt>focusPolicy</tt></a>, <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a>, <a href="QWidget.html#clearFocus()"><tt>clearFocus</tt></a>, <a href="QWidget.html#setTabOrder(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QWidget)"><tt>setTabOrder</tt></a>, <a href="QWidget.html#setFocusProxy(com.trolltech.qt.gui.QWidget)"><tt>setFocusProxy</tt></a>, <a href="QWidget.html#focusNextChild()"><tt>focusNextChild</tt></a>, <a href="QWidget.html#focusPreviousChild()"><tt>focusPreviousChild</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Mouse and keyboard grabbing</td><td><a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, <a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a>, <a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>, <a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a>, <a href="QWidget.html#mouseGrabber()"><tt>mouseGrabber</tt></a>, <a href="QWidget.html#keyboardGrabber()"><tt>keyboardGrabber</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Event handlers</td><td><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, <a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>, <a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a>, <a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, <a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, <a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, <a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, <a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, <a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, <a href="QWidget.html#wheelEvent(com.trolltech.qt.gui.QWheelEvent)"><tt>wheelEvent</tt></a>, <a href="QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)"><tt>enterEvent</tt></a>, <a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a>, <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, <a href="QWidget.html#closeEvent(com.trolltech.qt.gui.QCloseEvent)"><tt>closeEvent</tt></a>, <a href="QWidget.html#dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent)"><tt>dragEnterEvent</tt></a>, <a href="QWidget.html#dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent)"><tt>dragMoveEvent</tt></a>, <a href="QWidget.html#dragLeaveEvent(com.trolltech.qt.gui.QDragLeaveEvent)"><tt>dragLeaveEvent</tt></a>, <a href="QWidget.html#dropEvent(com.trolltech.qt.gui.QDropEvent)"><tt>dropEvent</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)"><tt>childEvent</tt></a>, <a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a>, <a href="QWidget.html#hideEvent(com.trolltech.qt.gui.QHideEvent)"><tt>hideEvent</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)"><tt>customEvent</tt></a>. <a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a>,</td></tr>
<tr valign="top" class="even"><td>System functions</td><td><a href="QWidget.html#parentWidget()"><tt>parentWidget</tt></a>, <a href="QWidget.html#window()"><tt>window</tt></a>, <a href="QWidget.html#setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>setParent</tt></a>, <a href="QWidget.html#winId()"><tt>winId</tt></a>, find(), <a href="QWidget.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)"><tt>metric</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Interactive help</td><td><a href="QWidget.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, <a href="QWidget.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a></td></tr>
</table></p>
<a name="widget-style-sheets"></a>
<h3>Widget Style Sheets</h3>
<p>In addition to the standard widget styles for each platform, widgets can also be styled according to rules specified in a <a href="QWidget.html#styleSheet()">style sheet</tt></a>. This feature enables you to customize the appearance of specific widgets to provide visual cues to users about their purpose; for example, a button could be styled in a particular way to indicate that it performs a destructive action.</p>
<p>The use of widgets style sheets is described in more detail in <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>.</p>
<a name="transparency-and-double-buffering"></a>
<h3>Transparency and Double Buffering</h3>
<p>From Qt 4.0, <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> automatically double-buffers its painting, so there's no need to write double-buffering code in <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> to avoid flicker. Additionally, it became possible for widgets to propagate their contents to children, in order to enable transparency effects, by setting the Qt::WA_ContentsPropagated widget attribute - this is now deprecated in Qt 4.1&#x2e;</p>
<p>In Qt 4.1, the contents of parent widgets are propagated by default to each of their children. Custom widgets can be written to take advantage of this feature by only updating irregular regions (to create non-rectangular child widgets), or by using painting with colors that have less than the full alpha component. The following diagram shows how attributes and properties of a custom widget can be fine-tuned to achieve different effects.</p>
<p align="center"><img src="%2E%2E/images/propagation-custom.png" /></p><p>In the above diagram, a semi-transparent rectangular child widget with an area removed is constructed and added to a parent widget (a <a href="QLabel.html"><tt>QLabel</tt></a> showing a pixmap) then different properties and widget attributes are set to achieve different effects:</p>
<ul>
<li>The left widget has no additional properties or widget attributes set. This default state suits most custom widgets that use transparency or are irregularly-shaped, and that do not paint over their entire area with an opaque brush.</li>
<li>The center widget has the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property set. This property is used with custom widgets that rely on the widget to supply a default background, and do not paint over their entire area with an opaque brush.</li>
<li>The right widget has the Qt::WA_OpaquePaintEvent widget attribute set. This indicates that the widget will paint over its entire area with opaque colors. The widget's area will initially be <i>uninitialized</i> (represented in the diagram by a red diagonal grid pattern that shines through the overpainted area). This is useful for widgets that need to paint their own specialized contents quickly and that do not need a default filled background.</li>
</ul>
<p>For rapidly updating custom widgets with simple background colors, such as real-time plotting or graphing widgets, it is better to define a suitable background color (using <a href="QWidget.html#setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><tt>setBackgroundRole</tt></a> with the QPalette::Window role), set the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property, and only implement the necessary drawing functionality in the widget's <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>.</p>
<p>For rapidly updating custom widgets that constantly paint over their entire areas with opaque content, such as video streaming widgets, it is better to set the widget's Qt::WA_OpaquePaintEvent, avoiding any unnecessary overhead associated with repainting the widget's background.</p>
<p>If a widget has both the Qt::WA_OpaquePaintEvent widget attribute <i>and</i> the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property set, the Qt::WA_OpaquePaintEvent attribute takes precedence. You should choose just one of these depending on your requirements.</p>
<p>In Qt 4.1, the contents of parent widgets are also propagated to standard Qt widgets. This can lead to some unexpected results if the parent widget is decorated in a non-standard way, as shown in the diagram below.</p>
<p align="center"><img src="%2E%2E/images/propagation-standard.png" /></p><p>The scope for customizing the painting behavior of standard Qt widgets, without resorting to subclassing, is slightly less than that possible for custom widgets. Usually, the desired appearance of a standard widget can be achieved by setting its <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/QEvent.html"><tt>QEvent</tt></a>, 
<a href="QPainter.html"><tt>QPainter</tt></a>, 
<a href="QGridLayout.html"><tt>QGridLayout</tt></a>, 
<a href="QBoxLayout.html"><tt>QBoxLayout</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlag.html" title="enum in com.trolltech.qt.gui">QWidget.RenderFlag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes how to render the widget when calling QWidget.:render().</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlags.html" title="class in com.trolltech.qt.gui">QWidget.RenderFlags</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#customContextMenuRequested">customContextMenuRequested</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the widget's <a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a> is Qt::CustomContextMenu, and the user has requested a context menu on the widget.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#QWidget()">QWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>(0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#QWidget(com.trolltech.qt.gui.QWidget)">QWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>(<tt>parent</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)">QWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
        <A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a widget which is a child of <tt>parent</tt>, with widget flags set to <tt>f</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#acceptDrops()">acceptDrops</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether drop events are enabled for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#accessibleDescription()">accessibleDescription</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's description as seen by assistive technologies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#accessibleName()">accessibleName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's name as seen by assistive technologies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#actionEvent(com.trolltech.qt.gui.QActionEvent)">actionEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QActionEvent.html" title="class in com.trolltech.qt.gui">QActionEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler is called with the given <tt>arg__1</tt> whenever the widget's actions are changed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#actions()">actions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the (possibly empty) list of this widget's actions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#activateWindow()">activateWindow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the top-level widget containing this widget to be the active window.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#addAction(com.trolltech.qt.gui.QAction)">addAction</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the action <tt>action</tt> to this widget's list of actions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#addActions(java.util.List)">addActions</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt;&nbsp;actions)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the actions <tt>actions</tt> to this widget's list of actions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#adjustSize()">adjustSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adjusts the size of the widget to fit the contents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#autoFillBackground()">autoFillBackground</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the widget background is filled automatically.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#backgroundRole()">backgroundRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the background role of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#baseSize()">baseSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the base size of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)">changeEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented to handle state changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#childAt(int, int)">childAt</A></B>(int&nbsp;x,
        int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the visible child widget at the position (<tt>x</tt>, <tt>y</tt>) in the widget's coordinate system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#childAt(com.trolltech.qt.core.QPoint)">childAt</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the visible child widget at point <tt>p</tt> in the widget's own coordinate system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#childrenRect()">childrenRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of the widget's children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#childrenRegion()">childrenRegion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the combined region occupied by the widget's children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#clearFocus()">clearFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Takes keyboard input focus from the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#clearMask()">clearMask</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes any mask set by <a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#close()">close</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#closeEvent(com.trolltech.qt.gui.QCloseEvent)">closeEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCloseEvent.html" title="class in com.trolltech.qt.gui">QCloseEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive widget close events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#contentsRect()">contentsRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the area inside the widget's margins.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)">contextMenuEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QContextMenuEvent.html" title="class in com.trolltech.qt.gui">QContextMenuEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive widget context menu events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.ContextMenuPolicy.html" title="enum in com.trolltech.qt.core">Qt.ContextMenuPolicy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#contextMenuPolicy()">contextMenuPolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns how the widget shows a context menu.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#createWinId()">createWinId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#cursor()">cursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cursor shape for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#depth()">depth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bit depth (number of bit planes) of the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#destroy()">destroy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#destroy(boolean, boolean)">destroy</tt></a>(true, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#destroy(boolean)">destroy</A></B>(boolean&nbsp;destroyWindow)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#destroy(boolean, boolean)">destroy</tt></a>(<tt>destroyWindow</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#destroy(boolean, boolean)">destroy</A></B>(boolean&nbsp;destroyWindow,
        boolean&nbsp;destroySubWindows)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frees up window system resources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#devType()">devType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent)">dragEnterEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QDragEnterEvent.html" title="class in com.trolltech.qt.gui">QDragEnterEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler is called when a drag is in progress and the mouse enters this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#dragLeaveEvent(com.trolltech.qt.gui.QDragLeaveEvent)">dragLeaveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QDragLeaveEvent.html" title="class in com.trolltech.qt.gui">QDragLeaveEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler is called when a drag is in progress and the mouse leaves this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent)">dragMoveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QDragMoveEvent.html" title="class in com.trolltech.qt.gui">QDragMoveEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler is called if a drag is in progress, and when any of the following conditions occurs: the cursor enters this widget, the cursor moves within this widget, or a modifier key is pressed on the keyboard while this widget has the focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#dropEvent(com.trolltech.qt.gui.QDropEvent)">dropEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html" title="class in com.trolltech.qt.gui">QDropEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler is called when the drag is dropped on this widget which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#ensurePolished()">ensurePolished</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ensures that the widget has been polished by <a href="QStyle.html"><tt>QStyle</tt></a> (i.e&#x2e;, has a proper font and palette).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)">enterEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget enter events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#event(com.trolltech.qt.core.QEvent)">event</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is the main event handler; it handles event <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)">focusInEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive keyboard focus events (focus received) for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusNextChild()">focusNextChild</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a new widget to give the keyboard focus to, as appropriate for <b>Tab</b>, and returns true if it can find a new widget, or false if it can't.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusNextPrevChild(boolean)">focusNextPrevChild</A></B>(boolean&nbsp;next)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns true if it can find a new widget, or false if it can't.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)">focusOutEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive keyboard focus events (focus lost) for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.FocusPolicy.html" title="enum in com.trolltech.qt.core">Qt.FocusPolicy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusPolicy()">focusPolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the way the widget accepts keyboard focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusPreviousChild()">focusPreviousChild</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a new widget to give the keyboard focus to, as appropriate for <b>Shift+Tab</b>, and returns true if it can find a new widget, or false if it can't.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusProxy()">focusProxy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the focus proxy, or 0 if there is no focus proxy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#focusWidget()">focusWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last child of this widget that <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> had been called on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#font()">font</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font currently set for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#fontInfo()">fontInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font info for the widget's current font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#fontMetrics()">fontMetrics</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font metrics for the widget's current font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#foregroundRole()">foregroundRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the foreground role.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#frameGeometry()">frameGeometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns geometry of the widget relative to its parent including any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#frameSize()">frameSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the widget including any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QWidget instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#geometry()">geometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the geometry of the widget relative to its parent and excluding the window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#getContentsMargins()">getContentsMargins</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's contents margins.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#grabKeyboard()">grabKeyboard</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grabs the keyboard input.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#grabMouse()">grabMouse</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grabs the mouse input.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)">grabMouse</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grabs the mouse input and changes the cursor shape.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence)">grabShortcut</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><tt>grabShortcut</tt></a>(<tt>key</tt>, Qt::WindowShortcut).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)">grabShortcut</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;key,
             <A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A>&nbsp;context)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a shortcut to Qt's shortcut system that watches for the given <tt>key</tt> sequence in the given <tt>context</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#hasFocus()">hasFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this widget (or its focus proxy) has the keyboard input focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#hasMouseTracking()">hasMouseTracking</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether mouse tracking is enabled for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the widget excluding any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#heightForWidth(int)">heightForWidth</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred height for this widget, given the width <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#heightMM()">heightMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#hide()">hide</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hides the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#hideEvent(com.trolltech.qt.gui.QHideEvent)">hideEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QHideEvent.html" title="class in com.trolltech.qt.gui">QHideEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget hide events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#inputContext()">inputContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the <a href="QInputContext.html"><tt>QInputContext</tt></a> for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)">inputMethodEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QInputMethodEvent.html" title="class in com.trolltech.qt.gui">QInputMethodEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive Input Method composition events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)">inputMethodQuery</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core">Qt.InputMethodQuery</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is only relevant for input widgets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)">insertAction</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;before,
             <A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the action <tt>action</tt> to this widget's list of actions, before the action <tt>before</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#insertActions(com.trolltech.qt.gui.QAction, java.util.List)">insertActions</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;before,
              java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt;&nbsp;actions)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the actions <tt>actions</tt> to this widget's list of actions, before the action <tt>before</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isActiveWindow()">isActiveWindow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this widget's window is the active window.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isAncestorOf(com.trolltech.qt.gui.QWidget)">isAncestorOf</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this widget is a parent, (or grandparent and so on to any level), of the given <tt>child</tt>, and both widgets are within the same window; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isEnabled()">isEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the widget is enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)">isEnabledTo</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this widget would become enabled if <tt>arg__1</tt> is enabled; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isFullScreen()">isFullScreen</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the widget is full screen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isHidden()">isHidden</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the widget is hidden, otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isLeftToRight()">isLeftToRight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isMaximized()">isMaximized</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this widget is maximized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isMinimized()">isMinimized</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this widget is minimized (iconified).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isModal()">isModal</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the widget is a modal widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isRightToLeft()">isRightToLeft</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isVisible()">isVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the widget is visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isVisibleTo(com.trolltech.qt.gui.QWidget)">isVisibleTo</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this widget would become visible if <tt>arg__1</tt> is shown; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isWindow()">isWindow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the widget is an independent window, otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#isWindowModified()">isWindowModified</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the document shown in the window has unsaved changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#keyboardGrabber()">keyboardGrabber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget that is currently grabbing the keyboard input.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)">keyPressEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive key press events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)">keyReleaseEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive key release events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#layout()">layout</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layout manager that is installed on this widget, or 0 if no layout manager is installed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#layoutDirection()">layoutDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layout direction for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)">leaveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget leave events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#locale()">locale</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's locale.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#logicalDpiX()">logicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#logicalDpiY()">logicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#lower()">lower</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lowers the widget to the bottom of the parent widget's stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapFrom(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)">mapFrom</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
        <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the widget coordinate <tt>arg__2</tt> from the coordinate system of <tt>arg__1</tt> to this widget's coordinate system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)">mapFromGlobal</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the global screen coordinate <tt>arg__1</tt> to widget coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapFromParent(com.trolltech.qt.core.QPoint)">mapFromParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the parent widget coordinate <tt>arg__1</tt> to widget coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapTo(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)">mapTo</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
      <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the widget coordinate <tt>arg__2</tt> to the coordinate system of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)">mapToGlobal</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the widget coordinate <tt>arg__1</tt> to global screen coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mapToParent(com.trolltech.qt.core.QPoint)">mapToParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the widget coordinate <tt>arg__1</tt> to a coordinate in the parent widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mask()">mask</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the mask currently set on a widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#maximumHeight()">maximumHeight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's maximum height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#maximumSize()">maximumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's maximum size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#maximumWidth()">maximumWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's maximum width.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal implementation of the virtual QPaintDevice::metric() function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#minimumHeight()">minimumHeight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's minimum height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#minimumSize()">minimumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's minimum size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#minimumSizeHint()">minimumSizeHint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the recommended minimum size for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#minimumWidth()">minimumWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's minimum width.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)">mouseDoubleClickEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse double click events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mouseGrabber()">mouseGrabber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget that is currently grabbing the mouse input.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)">mouseMoveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse move events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)">mousePressEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse press events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)">mouseReleaseEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse release events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#move(int, int)">move</A></B>(int&nbsp;x,
     int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the position of the widget within its parent widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#move(com.trolltech.qt.core.QPoint)">move</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the position of the widget within its parent widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)">moveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMoveEvent.html" title="class in com.trolltech.qt.gui">QMoveEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget move events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#nextInFocusChain()">nextInFocusChain</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next widget in this widget's focus chain.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#normalGeometry()">normalGeometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the geometry of the widget as it will appear when shown as a normal (not maximized or fullscreen) toplevel widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#numColors()">numColors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of different colors available for the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#overrideWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)">overrideWindowFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window flags for the widget to <tt>type</tt>, <i>without</i> telling the window system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#overrideWindowFlags(com.trolltech.qt.core.Qt.WindowType...)">overrideWindowFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window flags for the widget to <tt>type</tt>, <i>without</i> telling the window system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#overrideWindowState(com.trolltech.qt.core.Qt.WindowState...)">overrideWindowState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowState.html" title="enum in com.trolltech.qt.core">Qt.WindowState</A>...&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#overrideWindowState(com.trolltech.qt.core.Qt.WindowStates)">overrideWindowState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A>&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#paintEngine()">paintEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's paint engine.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)">paintEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEvent.html" title="class in com.trolltech.qt.gui">QPaintEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive paint events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#paintingActive()">paintingActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#palette()">palette</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's palette.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#parentWidget()">parentWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent of this widget, or 0 if it does not have any parent widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#physicalDpiX()">physicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#physicalDpiY()">physicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#pos()">pos</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the widget within its parent widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#raise()">raise</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Raises this widget to the top of the parent widget's stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#rect()">rect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the internal geometry of the widget excluding any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#releaseKeyboard()">releaseKeyboard</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Releases the keyboard grab.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#releaseMouse()">releaseMouse</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Releases the mouse grab.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#releaseShortcut(int)">releaseShortcut</A></B>(int&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the shortcut with the given <tt>id</tt> from Qt's shortcut system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#removeAction(com.trolltech.qt.gui.QAction)">removeAction</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the action <tt>action</tt> from this widget's list of actions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, QPoint(), QRegion(), RenderFlags( DrawWindowBackground | DrawChildren )).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, <tt>targetOffset</tt>, QRegion(), RenderFlags( DrawWindowBackground | DrawChildren )).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
       <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, <tt>targetOffset</tt>, <tt>sourceRegion</tt>, RenderFlags( DrawWindowBackground | DrawChildren )).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlag...)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
       <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion,
       <A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlag.html" title="enum in com.trolltech.qt.gui">QWidget.RenderFlag</A>...&nbsp;renderFlags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the <tt>sourceRegion</tt> of this widget into the <tt>target</tt> using <tt>renderFlags</tt> to determine how to render.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
       <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion,
       <A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlags.html" title="class in com.trolltech.qt.gui">QWidget.RenderFlags</A>&nbsp;renderFlags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the <tt>sourceRegion</tt> of this widget into the <tt>target</tt> using <tt>renderFlags</tt> to determine how to render.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#repaint()">repaint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Repaints the widget directly by calling <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> immediately, unless updates are disabled or the widget is hidden.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#repaint(int, int, int, int)">repaint</A></B>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;w,
        int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version repaints a rectangle (<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>) inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#repaint(com.trolltech.qt.core.QRect)">repaint</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version repaints a rectangle <tt>arg__1</tt> inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#repaint(com.trolltech.qt.gui.QRegion)">repaint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version repaints a region <tt>arg__1</tt> inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#resetInputContext()">resetInputContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function can be called on the widget that currently has focus to reset the input method operating on it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#resize(int, int)">resize</A></B>(int&nbsp;w,
       int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size of the widget excluding any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#resize(com.trolltech.qt.core.QSize)">resize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size of the widget excluding any window frame to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)">resizeEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QResizeEvent.html" title="class in com.trolltech.qt.gui">QResizeEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget resize events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#restoreGeometry(com.trolltech.qt.core.QByteArray)">restoreGeometry</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;geometry)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the geometry and state top-level widgets stored in the byte array <tt>geometry</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#saveGeometry()">saveGeometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the current geometry and state for top-level widgets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#scroll(int, int)">scroll</A></B>(int&nbsp;dx,
       int&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scrolls the widget including its children <tt>dx</tt> pixels to the right and <tt>dy</tt> downward.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#scroll(int, int, com.trolltech.qt.core.QRect)">scroll</A></B>(int&nbsp;dx,
       int&nbsp;dy,
       <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__3)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version only scrolls <tt>arg__3</tt> and does not move the children of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAcceptDrops(boolean)">setAcceptDrops</A></B>(boolean&nbsp;on)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether drop events are enabled for this widget to <tt>on</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAccessibleDescription(java.lang.String)">setAccessibleDescription</A></B>(java.lang.String&nbsp;description)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's description as seen by assistive technologies to <tt>description</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAccessibleName(java.lang.String)">setAccessibleName</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's name as seen by assistive technologies to <tt>name</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute)">setAttribute</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><tt>setAttribute</tt></a>(<tt>arg__1</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)">setAttribute</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1,
             boolean&nbsp;on)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the attribute <tt>arg__1</tt> on this widget if <tt>on</tt> is true; otherwise clears the attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setAutoFillBackground(boolean)">setAutoFillBackground</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the widget background is filled automatically to <tt>enabled</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)">setBackgroundRole</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background role of the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setBaseSize(int, int)">setBaseSize</A></B>(int&nbsp;basew,
            int&nbsp;baseh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the base size of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setBaseSize(com.trolltech.qt.core.QSize)">setBaseSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the base size of the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setContentsMargins(int, int, int, int)">setContentsMargins</A></B>(int&nbsp;left,
                   int&nbsp;top,
                   int&nbsp;right,
                   int&nbsp;bottom)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the margins around the contents of the widget to have the sizes <tt>left</tt>, <tt>top</tt>, <tt>right</tt>, and <tt>bottom</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setContentsMargins(com.trolltech.qt.gui.QContentsMargins)">setContentsMargins</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A>&nbsp;margins)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <tt>margins</tt> around the contents of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setContextMenuPolicy(com.trolltech.qt.core.Qt.ContextMenuPolicy)">setContextMenuPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ContextMenuPolicy.html" title="enum in com.trolltech.qt.core">Qt.ContextMenuPolicy</A>&nbsp;policy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets how the widget shows a context menu to <tt>policy</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setCursor(com.trolltech.qt.gui.QCursor)">setCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the cursor shape for this widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setDisabled(boolean)">setDisabled</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disables widget input events if <tt>arg__1</tt> is true; otherwise enables input events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the widget is enabled to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFixedHeight(int)">setFixedHeight</A></B>(int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets both the minimum and maximum heights of the widget to <tt>h</tt> without changing the widths.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFixedSize(int, int)">setFixedSize</A></B>(int&nbsp;w,
             int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the width of the widget to <tt>w</tt> and the height to <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFixedSize(com.trolltech.qt.core.QSize)">setFixedSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets both the minimum and maximum sizes of the widget to <tt>arg__1</tt>, thereby preventing it from ever growing or shrinking.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFixedWidth(int)">setFixedWidth</A></B>(int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets both the minimum and maximum width of the widget to <tt>w</tt> without changing the heights.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFocus()">setFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives the keyboard input focus to this widget (or its focus proxy) if this widget or one of its parents is the <a href="QWidget.html#isActiveWindow()">active window</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)">setFocus</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core">Qt.FocusReason</A>&nbsp;reason)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives the keyboard input focus to this widget (or its focus proxy) if this widget or one of its parents is the <a href="QWidget.html#isActiveWindow()">active window</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)">setFocusPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusPolicy.html" title="enum in com.trolltech.qt.core">Qt.FocusPolicy</A>&nbsp;policy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the way the widget accepts keyboard focus to <tt>policy</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFocusProxy(com.trolltech.qt.gui.QWidget)">setFocusProxy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's focus proxy to widget <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setFont(com.trolltech.qt.gui.QFont)">setFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the font currently set for the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setForegroundRole(com.trolltech.qt.gui.QPalette.ColorRole)">setForegroundRole</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the foreground role of the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setGeometry(int, int, int, int)">setGeometry</A></B>(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;w,
            int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the geometry of the widget relative to its parent and excluding the window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setGeometry(com.trolltech.qt.core.QRect)">setGeometry</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the geometry of the widget relative to its parent and excluding the window frame to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setHidden(boolean)">setHidden</A></B>(boolean&nbsp;hidden)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience function, equivalent to <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(!<tt>hidden</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setInputContext(com.trolltech.qt.gui.QInputContext)">setInputContext</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function sets the input context <tt>arg__1</tt> on this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setLayout(com.trolltech.qt.gui.QLayout)">setLayout</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the layout manager for this widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)">setLayoutDirection</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the layout direction for this widget to <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setLocale(com.trolltech.qt.core.QLocale)">setLocale</A></B>(<A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A>&nbsp;locale)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's locale to <tt>locale</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMask(com.trolltech.qt.gui.QBitmap)">setMask</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes only the pixels of the widget for which <tt>arg__1</tt> has a corresponding 1 bit to be visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMask(com.trolltech.qt.gui.QRegion)">setMask</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes only the parts of the widget which overlap <tt>arg__1</tt> to be visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMaximumHeight(int)">setMaximumHeight</A></B>(int&nbsp;maxh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's maximum height to <tt>maxh</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMaximumSize(int, int)">setMaximumSize</A></B>(int&nbsp;maxw,
               int&nbsp;maxh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's maximum size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMaximumSize(com.trolltech.qt.core.QSize)">setMaximumSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's maximum size to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMaximumWidth(int)">setMaximumWidth</A></B>(int&nbsp;maxw)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's maximum width to <tt>maxw</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMinimumHeight(int)">setMinimumHeight</A></B>(int&nbsp;minh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's minimum height to <tt>minh</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMinimumSize(int, int)">setMinimumSize</A></B>(int&nbsp;minw,
               int&nbsp;minh)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's minimum size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMinimumSize(com.trolltech.qt.core.QSize)">setMinimumSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's minimum size to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMinimumWidth(int)">setMinimumWidth</A></B>(int&nbsp;minw)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's minimum width to <tt>minw</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setMouseTracking(boolean)">setMouseTracking</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether mouse tracking is enabled for the widget to <tt>enable</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setPalette(com.trolltech.qt.gui.QPalette)">setPalette</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's palette to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setParent(com.trolltech.qt.gui.QWidget)">setParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the parent of the widget to <tt>parent</tt>, and resets the window flags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)">setParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
          <A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function also takes widget flags, <tt>f</tt> as an argument.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowType...)">setParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
          <A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function also takes widget flags, <tt>f</tt> as an argument.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setShortcutAutoRepeat(int)">setShortcutAutoRepeat</A></B>(int&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#setShortcutAutoRepeat(int, boolean)"><tt>setShortcutAutoRepeat</tt></a>(<tt>id</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setShortcutAutoRepeat(int, boolean)">setShortcutAutoRepeat</A></B>(int&nbsp;id,
                      boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enable</tt> is true, auto repeat of the shortcut with the given <tt>id</tt> is enabled; otherwise it is disabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setShortcutEnabled(int)">setShortcutEnabled</A></B>(int&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QWidget.html#setShortcutEnabled(int, boolean)"><tt>setShortcutEnabled</tt></a>(<tt>id</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setShortcutEnabled(int, boolean)">setShortcutEnabled</A></B>(int&nbsp;id,
                   boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enable</tt> is true, the shortcut with the given <tt>id</tt> is enabled; otherwise the shortcut is disabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setSizeIncrement(int, int)">setSizeIncrement</A></B>(int&nbsp;w,
                 int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size increment of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setSizeIncrement(com.trolltech.qt.core.QSize)">setSizeIncrement</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size increment of the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)">setSizePolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
              <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default layout behavior of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setSizePolicy(com.trolltech.qt.gui.QSizePolicy)">setSizePolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default layout behavior of the widget to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setStatusTip(java.lang.String)">setStatusTip</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's status tip to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setStyle(com.trolltech.qt.gui.QStyle)">setStyle</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's GUI style to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setStyleSheet(java.lang.String)">setStyleSheet</A></B>(java.lang.String&nbsp;styleSheet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's style sheet to <tt>styleSheet</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setTabOrder(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QWidget)">setTabOrder</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
            <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the <tt>arg__2</tt> widget around the ring of focus widgets so that keyboard focus moves from the <tt>arg__1</tt> widget to the <tt>arg__2</tt> widget when the Tab key is pressed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setToolTip(java.lang.String)">setToolTip</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's tooltip to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setUpdatesEnabled(boolean)">setUpdatesEnabled</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether updates are enabled to <tt>enable</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setVisible(boolean)">setVisible</A></B>(boolean&nbsp;visible)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the widget is visible to <tt>visible</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWhatsThis(java.lang.String)">setWhatsThis</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's What's This help text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)">setWindowFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowType...)">setWindowFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowIcon(com.trolltech.qt.gui.QIcon)">setWindowIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's icon to <tt>icon</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowIconText(java.lang.String)">setWindowIconText</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget's icon text to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowModality(com.trolltech.qt.core.Qt.WindowModality)">setWindowModality</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowModality.html" title="enum in com.trolltech.qt.core">Qt.WindowModality</A>&nbsp;windowModality)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets which windows are blocked by the modal widget to <tt>windowModality</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowModified(boolean)">setWindowModified</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the document shown in the window has unsaved changes to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowOpacity(double)">setWindowOpacity</A></B>(double&nbsp;level)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets The level of opacity for the window.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowRole(java.lang.String)">setWindowRole</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window's role to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowState(com.trolltech.qt.core.Qt.WindowState...)">setWindowState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowState.html" title="enum in com.trolltech.qt.core">Qt.WindowState</A>...&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window state to <tt>state</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowState(com.trolltech.qt.core.Qt.WindowStates)">setWindowState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A>&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window state to <tt>state</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#setWindowTitle(java.lang.String)">setWindowTitle</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the window title (caption) to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#show()">show</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the widget and its child widgets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)">showEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QShowEvent.html" title="class in com.trolltech.qt.gui">QShowEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to receive widget show events which are passed in the <tt>arg__1</tt> parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#showFullScreen()">showFullScreen</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the widget in full-screen mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#showMaximized()">showMaximized</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the widget maximized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#showMinimized()">showMinimized</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the widget minimized, as an icon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#showNormal()">showNormal</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the widget after it has been maximized or minimized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the widget excluding any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#sizeHint()">sizeHint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the recommended size for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#sizeIncrement()">sizeIncrement</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size increment of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#sizePolicy()">sizePolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default layout behavior of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#stackUnder(com.trolltech.qt.gui.QWidget)">stackUnder</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Places the widget under <tt>arg__1</tt> in the parent widget's stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#statusTip()">statusTip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's status tip.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#style()">style</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's style object, i.e., the style in which the widget is
drawn.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#styleSheet()">styleSheet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's style sheet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#tabletEvent(com.trolltech.qt.gui.QTabletEvent)">tabletEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTabletEvent.html" title="class in com.trolltech.qt.gui">QTabletEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive tablet events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#testAttribute(com.trolltech.qt.core.Qt.WidgetAttribute)">testAttribute</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if attribute <tt>arg__1</tt> is set on this widget; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#toolTip()">toolTip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's tooltip.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#underMouse()">underMouse</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the widget is under the mouse cursor; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#unsetCursor()">unsetCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the cursor shape for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#unsetLayoutDirection()">unsetLayoutDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the layout direction for this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#unsetLocale()">unsetLocale</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the widget's locale.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#update()">update</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the widget unless updates are disabled or the widget is hidden.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#update(int, int, int, int)">update</A></B>(int&nbsp;x,
       int&nbsp;y,
       int&nbsp;w,
       int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version updates a rectangle (<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>) inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#update(com.trolltech.qt.core.QRect)">update</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version updates a rectangle <tt>arg__1</tt> inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#update(com.trolltech.qt.gui.QRegion)">update</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This version repaints a region <tt>arg__1</tt> inside the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#updateGeometry()">updateGeometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies the layout system that this widget has changed and may need to change geometry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#updateMicroFocus()">updateMicroFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the widget's micro focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#updatesEnabled()">updatesEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether updates are enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#visibleRegion()">visibleRegion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unobscured region where paint events can occur.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#whatsThis()">whatsThis</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's What's This help text..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#wheelEvent(com.trolltech.qt.gui.QWheelEvent)">wheelEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWheelEvent.html" title="class in com.trolltech.qt.gui">QWheelEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive wheel events for the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the widget excluding any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#widthMM()">widthMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#window()">window</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window for this widget, i.e&#x2e; the next ancestor widget that has (or could have) a window-system frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowFlags()">windowFlags</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowIcon()">windowIcon</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's icon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowIconText()">windowIconText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget's icon text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.WindowModality.html" title="enum in com.trolltech.qt.core">Qt.WindowModality</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowModality()">windowModality</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns which windows are blocked by the modal widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowOpacity()">windowOpacity</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns The level of opacity for the window..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowRole()">windowRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window's role, or an empty string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowState()">windowState</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current window state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowTitle()">windowTitle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window title (caption).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#windowType()">windowType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window type of this widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#winId()">winId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window system identifier of the widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#x()">x</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x coordinate of the widget relative to its parent including any window frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QWidget.html#y()">y</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y coordinate of the widget relative to its parent and including any window frame.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="customContextMenuRequested"><!-- --></A><H3>
customContextMenuRequested</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&gt; <B>customContextMenuRequested</B></PRE>
<DL>
<DD><p>This signal is emitted when the widget's <a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a> is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position <tt>pos</tt> is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is <a href="QAbstractScrollArea.html"><tt>QAbstractScrollArea</tt></a> and its subclasses that map the context menu event to coordinates of the viewport()</tt> .</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QPoint pos)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a>, <a href="QMenu.html"><tt>QMenu</tt></a>, <a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
QWidget</H3>
<PRE>
public <B>QWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>(<tt>parent</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QWidget()"><!-- --></A><H3>
QWidget</H3>
<PRE>
public <B>QWidget</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a>(0, 0).
<P>
</DL>
<HR>

<A NAME="QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><!-- --></A><H3>
QWidget</H3>
<PRE>
public <B>QWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
               <A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;f)</PRE>
<DL>
<DD><p>Constructs a widget which is a child of <tt>parent</tt>, with widget flags set to <tt>f</tt>.</p>
<p>If <tt>parent</tt> is 0, the new widget becomes a window. If <tt>parent</tt> is another widget, this widget becomes a child window inside <tt>parent</tt>. The new widget is deleted when its <tt>parent</tt> is deleted.</p>
<p>The widget flags argument, <tt>f</tt>, is normally 0, but it can be set to customize the frame of a window (i.e&#x2e; <tt>parent</tt> must be 0). To customize the frame, use a value composed from the bitwise OR of any of the window flags</tt>.</p>
<p>If you add a child widget to an already visible widget you must explicitly show the child to make it visible.</p>
<p>Note that the X11 version of Qt may not be able to deliver all combinations of style flags on all systems. This is because on X11, Qt can only ask the window manager, and the window manager can override the application's settings. On Windows, Qt can set whatever flags you want.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowFlags()"><tt>windowFlags</tt></a></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="acceptDrops()"><!-- --></A><H3>
acceptDrops</H3>
<PRE>
public final boolean <B>acceptDrops</B>()</PRE>
<DL>
<DD><p>Returns whether drop events are enabled for this widget.</p>
<p>Setting this property to true announces to the system that this widget <i>may</i> be able to accept drop events.</p>
<p>If the widget is the desktop (<a href="%2E%2E/porting4.html#qwidget"><tt>QWidget::</tt></a>(<a href="QWidget.html#windowType()"><tt>windowType</tt></a> == Qt::Desktop)), this may fail if another application is using the desktop; you can call <a href="QWidget.html#acceptDrops()"><tt>acceptDrops</tt></a> to test if this occurs.</p>
<p><b>Warning:</b> Do not modify this property in a Drag&amp;Drop event handler.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setAcceptDrops(boolean)"><tt>setAcceptDrops</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="accessibleDescription()"><!-- --></A><H3>
accessibleDescription</H3>
<PRE>
public final java.lang.String <B>accessibleDescription</B>()</PRE>
<DL>
<DD><p>Returns the widget's description as seen by assistive technologies.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setAccessibleDescription(java.lang.String)"><tt>setAccessibleDescription</tt></a>, 
<tt>QAccessibleInterface::text</tt></DL>
</DD>
</DL>
<HR>

<A NAME="accessibleName()"><!-- --></A><H3>
accessibleName</H3>
<PRE>
public final java.lang.String <B>accessibleName</B>()</PRE>
<DL>
<DD><p>Returns the widget's name as seen by assistive technologies.</p>
<p>It is be used by accessible clients to identify, find, or announce the widget for accessible clients.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setAccessibleName(java.lang.String)"><tt>setAccessibleName</tt></a>, 
<tt>QAccessibleInterface::text</tt></DL>
</DD>
</DL>
<HR>

<A NAME="actions()"><!-- --></A><H3>
actions</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt; <B>actions</B>()</PRE>
<DL>
<DD><p>Returns the (possibly empty) list of this widget's actions.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a>, 
<a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a>, 
<a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="activateWindow()"><!-- --></A><H3>
activateWindow</H3>
<PRE>
public final void <B>activateWindow</B>()</PRE>
<DL>
<DD><p>Sets the top-level widget containing this widget to be the active window.</p>
<p>An active window is a visible top-level window that has the keyboard input focus.</p>
<p>This function performs the same operation as clicking the mouse on the title bar of a top-level window. On X11, the result depends on the Window Manager. If you want to ensure that the window is stacked on top as well you should also call <a href="QWidget.html#raise()"><tt>raise</tt></a>. Note that the window must be visible, otherwise <a href="QWidget.html#activateWindow()"><tt>activateWindow</tt></a> has no effect.</p>
<p>On Windows, if you are calling this when the application is not currently the active one then it will not make it the active window. It will change the color of the taskbar entry to indicate that the window has changed in some way. This is because Microsoft do not allow an application to interrupt what the user is currently doing in another application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isActiveWindow()"><tt>isActiveWindow</tt></a>, 
<a href="QWidget.html#window()"><tt>window</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addAction(com.trolltech.qt.gui.QAction)"><!-- --></A><H3>
addAction</H3>
<PRE>
public final void <B>addAction</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</PRE>
<DL>
<DD><p>Appends the action <tt>action</tt> to this widget's list of actions.</p>
<p>All QWidgets have a list of <a href="QAction.html"><tt>QAction</tt></a>s, however they can be represented graphically in many different ways. The default use of the <a href="QAction.html"><tt>QAction</tt></a> list (as returned by <a href="QWidget.html#actions()"><tt>actions</tt></a>) is to create a context <a href="QMenu.html"><tt>QMenu</tt></a>.</p>
<p>A <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> should only have one of each action.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a>, 
<a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a>, 
<a href="QMenu.html"><tt>QMenu</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addActions(java.util.List)"><!-- --></A><H3>
addActions</H3>
<PRE>
public final void <B>addActions</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt;&nbsp;actions)</PRE>
<DL>
<DD><p>Appends the actions <tt>actions</tt> to this widget's list of actions.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a>, 
<a href="QMenu.html"><tt>QMenu</tt></a>, 
<a href="QWidget.html#addAction(com.trolltech.qt.gui.QAction)"><tt>addAction</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="adjustSize()"><!-- --></A><H3>
adjustSize</H3>
<PRE>
public final void <B>adjustSize</B>()</PRE>
<DL>
<DD><p>Adjusts the size of the widget to fit the contents.</p>
<p>Uses <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> if valid (i.e if the size hint's width and height are &gt;= 0); otherwise sets the size to the children rectangle that covers all child widgets (the union of all child widget rectangles). For top-level widgets, the screen size is also taken into account.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QWidget.html#childrenRect()"><tt>childrenRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="autoFillBackground()"><!-- --></A><H3>
autoFillBackground</H3>
<PRE>
public final boolean <B>autoFillBackground</B>()</PRE>
<DL>
<DD><p>Returns whether the widget background is filled automatically.</p>
<p>If enabled, this will cause Qt to fill the background using the widget's background role before invoking the paint event. The background role is defined by the widget's <a href="QWidget.html#palette()">palette</tt></a>.</p>
<p>In addition, Windows are always filled with QPalette::Window, unless the WA_OpaquePaintEvent or WA_NoSystemBackground attributes are set.</p>
<p><b>Warning:</b> Do not set this property when using <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. When using style sheets, the widget is always filled with the &quot;background&quot; property. The &quot;border-radius&quot; property may be used to clip the background.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setAutoFillBackground(boolean)"><tt>setAutoFillBackground</tt></a>, 
<tt>Qt::WA_OpaquePaintEvent</tt>, 
<tt>Qt::WA_NoSystemBackground</tt></DL>
</DD>
</DL>
<HR>

<A NAME="backgroundRole()"><!-- --></A><H3>
backgroundRole</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A> <B>backgroundRole</B>()</PRE>
<DL>
<DD><p>Returns the background role of the widget.</p>
<p>The background role defines the brush from the widget's <a href="QWidget.html#palette()">palette</tt></a> that is used to render the background.</p>
<p>If no explicit background role is set, the widget inherts its parent widget's background role.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><tt>setBackgroundRole</tt></a>, 
<a href="QWidget.html#foregroundRole()"><tt>foregroundRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="baseSize()"><!-- --></A><H3>
baseSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>baseSize</B>()</PRE>
<DL>
<DD><p>Returns the base size of the widget.</p>
<p>The base size is used to calculate a proper widget size if the widget defines <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setBaseSize(com.trolltech.qt.core.QSize)"><tt>setBaseSize</tt></a>, 
<a href="QWidget.html#setSizeIncrement(com.trolltech.qt.core.QSize)"><tt>setSizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="childAt(int, int)"><!-- --></A><H3>
childAt</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>childAt</B>(int&nbsp;x,
                             int&nbsp;y)</PRE>
<DL>
<DD><p>Returns the visible child widget at the position (<tt>x</tt>, <tt>y</tt>) in the widget's coordinate system. If there is no visible child widget at the specified position, the function returns 0.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="childAt(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
childAt</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>childAt</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns the visible child widget at point <tt>p</tt> in the widget's own coordinate system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="childrenRect()"><!-- --></A><H3>
childrenRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>childrenRect</B>()</PRE>
<DL>
<DD><p>Returns the bounding rectangle of the widget's children.</p>
<p>Hidden children are excluded.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#childrenRegion()"><tt>childrenRegion</tt></a>, 
<a href="QWidget.html#geometry()"><tt>geometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="childrenRegion()"><!-- --></A><H3>
childrenRegion</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>childrenRegion</B>()</PRE>
<DL>
<DD><p>Returns the combined region occupied by the widget's children.</p>
<p>Hidden children are excluded.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#childrenRect()"><tt>childrenRect</tt></a>, 
<a href="QWidget.html#geometry()"><tt>geometry</tt></a>, 
<a href="QWidget.html#mask()"><tt>mask</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearFocus()"><!-- --></A><H3>
clearFocus</H3>
<PRE>
public final void <B>clearFocus</B>()</PRE>
<DL>
<DD><p>Takes keyboard input focus from the widget.</p>
<p>If the widget has active focus, a <a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)">focus out event</tt></a> is sent to this widget to tell it that it is about to lose the focus.</p>
<p>This widget must enable focus setting in order to get the keyboard input focus, i.e&#x2e; it must call <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#hasFocus()"><tt>hasFocus</tt></a>, 
<a href="QWidget.html#setFocus()"><tt>setFocus</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<tt>QApplication::focusWidget</tt></DL>
</DD>
</DL>
<HR>

<A NAME="clearMask()"><!-- --></A><H3>
clearMask</H3>
<PRE>
public final void <B>clearMask</B>()</PRE>
<DL>
<DD><p>Removes any mask set by <a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public final boolean <B>close</B>()</PRE>
<DL>
<DD><p>Closes this widget. Returns true if the widget was closed; otherwise returns false.</p>
<p>First it sends the widget a <a href="QCloseEvent.html"><tt>QCloseEvent</tt></a>. The widget is <a href="QWidget.html#hide()">hidden</tt></a> if it accepts</tt> the close event. If it ignores</tt> the event, nothing happens. The default implementation of QWidget::closeEvent() accepts the close event.</p>
<p>If the widget has the Qt::WA_DeleteOnClose flag, the widget is also deleted. A close events is delivered to the widget no matter if the widget is visible or not.</p>
<p>The <tt>QApplication::lastWindowClosed</tt> signal is emitted when the last visible primary window (i.e&#x2e; window with no parent) with the Qt::WA_QuitOnClose attribute set is closed. By default this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contentsRect()"><!-- --></A><H3>
contentsRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>contentsRect</B>()</PRE>
<DL>
<DD><p>Returns the area inside the widget's margins.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setContentsMargins(int, int, int, int)"><tt>setContentsMargins</tt></a>, 
<tt>getContentsMargins</tt></DL>
</DD>
</DL>
<HR>

<A NAME="contextMenuPolicy()"><!-- --></A><H3>
contextMenuPolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.ContextMenuPolicy.html" title="enum in com.trolltech.qt.core">Qt.ContextMenuPolicy</A> <B>contextMenuPolicy</B>()</PRE>
<DL>
<DD><p>Returns how the widget shows a context menu.</p>
<p>The default value of this property is Qt::DefaultContextMenu, which means the <a href="QWidget.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)"><tt>contextMenuEvent</tt></a> handler is called. Other values are Qt::NoContextMenu, Qt::PreventContextMenu, Qt::ActionsContextMenu, and Qt::CustomContextMenu. With Qt::CustomContextMenu, the signal <a href="QWidget.html#customContextMenuRequested(com.trolltech.qt.core.QPoint)"><tt>customContextMenuRequested</tt></a> is emitted.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setContextMenuPolicy(com.trolltech.qt.core.Qt.ContextMenuPolicy)"><tt>setContextMenuPolicy</tt></a>, 
<a href="QWidget.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)"><tt>contextMenuEvent</tt></a>, 
<a href="QWidget.html#customContextMenuRequested(com.trolltech.qt.core.QPoint)"><tt>customContextMenuRequested</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="createWinId()"><!-- --></A><H3>
createWinId</H3>
<PRE>
public final void <B>createWinId</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="cursor()"><!-- --></A><H3>
cursor</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A> <B>cursor</B>()</PRE>
<DL>
<DD><p>Returns the cursor shape for this widget.</p>
<p>The mouse cursor will assume this shape when it's over this widget. See the list of predefined cursor objects</tt> for a range of useful shapes.</p>
<p>An editor widget might use an I-beam cursor:</p>
<pre>    setCursor(Qt::IBeamCursor);</pre>
<p>If no cursor has been set, or after a call to <a href="QWidget.html#unsetCursor()"><tt>unsetCursor</tt></a>, the parent's cursor is used.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setCursor(com.trolltech.qt.gui.QCursor)"><tt>setCursor</tt></a>, 
<tt>QApplication::setOverrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="depth()"><!-- --></A><H3>
depth</H3>
<PRE>
public final int <B>depth</B>()</PRE>
<DL>
<DD><p>Returns the bit depth (number of bit planes) of the paint device.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#depth()">depth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="destroy(boolean)"><!-- --></A><H3>
destroy</H3>
<PRE>
protected final void <B>destroy</B>(boolean&nbsp;destroyWindow)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#destroy(boolean, boolean)">destroy</tt></a>(<tt>destroyWindow</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
protected final void <B>destroy</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#destroy(boolean, boolean)">destroy</tt></a>(true, true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="destroy(boolean, boolean)"><!-- --></A><H3>
destroy</H3>
<PRE>
protected final void <B>destroy</B>(boolean&nbsp;destroyWindow,
                             boolean&nbsp;destroySubWindows)</PRE>
<DL>
<DD><p>Frees up window system resources. Destroys the widget window if <tt>destroyWindow</tt> is true.</p>
<p><a href="QWidget.html#destroy(boolean, boolean)"><tt>destroy</tt></a> calls itself recursively for all the child widgets, passing <tt>destroySubWindows</tt> for the <tt>destroyWindow</tt> parameter. To have more control over destruction of subwidgets, destroy subwidgets selectively first.</p>
<p>This function is usually called from the <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> destructor.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="ensurePolished()"><!-- --></A><H3>
ensurePolished</H3>
<PRE>
public final void <B>ensurePolished</B>()</PRE>
<DL>
<DD><p>Ensures that the widget has been polished by <a href="QStyle.html"><tt>QStyle</tt></a> (i.e&#x2e;, has a proper font and palette).</p>
<p><a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> calls this function after it has been fully constructed but before it is shown the very first time. You can call this function if you want to ensure that the widget is polished before doing an operation, e.g&#x2e;, the correct font size might be needed in the widget's <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> reimplementation. Note that this function <i>is</i> called from the default implementation of <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>.</p>
<p>Polishing is useful for final initialization that must happen after all constructors (from base classes as well as from subclasses) have been called.</p>
<p>If you need to change some settings when a widget is polished, reimplement <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> and handle the QEvent::Polish event type.</p>
<p><b>Note:</b> The function is declared const so that it can be called from other const functions (e.g&#x2e;, <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusNextChild()"><!-- --></A><H3>
focusNextChild</H3>
<PRE>
protected final boolean <B>focusNextChild</B>()</PRE>
<DL>
<DD><p>Finds a new widget to give the keyboard focus to, as appropriate for <b>Tab</b>, and returns true if it can find a new widget, or false if it can't.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusPreviousChild()"><tt>focusPreviousChild</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusPolicy()"><!-- --></A><H3>
focusPolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.FocusPolicy.html" title="enum in com.trolltech.qt.core">Qt.FocusPolicy</A> <B>focusPolicy</B>()</PRE>
<DL>
<DD><p>Returns the way the widget accepts keyboard focus.</p>
<p>The policy is Qt::TabFocus if the widget accepts keyboard focus by tabbing, Qt::ClickFocus if the widget accepts focus by clicking, Qt::StrongFocus if it accepts both, and Qt::NoFocus (the default) if it does not accept focus at all.</p>
<p>You must enable keyboard focus for a widget if it processes keyboard events. This is normally done from the widget's constructor. For instance, the <a href="QLineEdit.html"><tt>QLineEdit</tt></a> constructor calls <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>(Qt::StrongFocus).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<CODE>enabled</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="focusPreviousChild()"><!-- --></A><H3>
focusPreviousChild</H3>
<PRE>
protected final boolean <B>focusPreviousChild</B>()</PRE>
<DL>
<DD><p>Finds a new widget to give the keyboard focus to, as appropriate for <b>Shift+Tab</b>, and returns true if it can find a new widget, or false if it can't.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusNextChild()"><tt>focusNextChild</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusProxy()"><!-- --></A><H3>
focusProxy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>focusProxy</B>()</PRE>
<DL>
<DD><p>Returns the focus proxy, or 0 if there is no focus proxy.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setFocusProxy(com.trolltech.qt.gui.QWidget)"><tt>setFocusProxy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusWidget()"><!-- --></A><H3>
focusWidget</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>focusWidget</B>()</PRE>
<DL>
<DD><p>Returns the last child of this widget that <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> had been called on. For top level widgets this is the widget that will get focus in case this window gets activated</p>
<p>This is not the same as QApplication::focusWidget(), which returns the focus widget in the currently active window.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="font()"><!-- --></A><H3>
font</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>()</PRE>
<DL>
<DD><p>Returns the font currently set for the widget.</p>
<p>The <a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a> function reports the actual font that is being used by the widget.</p>
<p>As long as no special font has been set, or after <a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>(<a href="%2E%2E/porting4.html#qfont"><tt>QFont</tt></a>) is called, this is either a special font for the widget class, the parent's font or (if this widget is a top level widget), the default application font.</p>
<p>This code fragment sets a 12 point helvetica bold font:</p>
<pre>    QFont font(&quot;Helvetica&quot;, 12, QFont::Bold);
    setFont(font);</pre>
<p>Note that when a child widget is given a different font to that of its parent widget, it will still inherit the parent's font <i>properties</i> unless these have been set explicitly on the child's font. For example, if the parent's font is bold, the child widget's font will be bold as well if not specified otherwise like this:</p>
<pre>    QFont font;
    font.setBold(false);
    setFont(font);</pre>
<p>In addition to setting the font, <a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a> informs all children about the change.</p>
<p><b>Warning:</b> Do not use this function in conjunction with <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. The font of a widget can be customized using the &quot;font&quot; style sheet property.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>, 
<a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a>, 
<a href="QWidget.html#fontMetrics()"><tt>fontMetrics</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fontInfo()"><!-- --></A><H3>
fontInfo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A> <B>fontInfo</B>()</PRE>
<DL>
<DD><p>Returns the font info for the widget's current font. Equivalent to QFontInto(widget-&gt;<a href="QWidget.html#font()"><tt>font</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#font()"><tt>font</tt></a>, 
<a href="QWidget.html#fontMetrics()"><tt>fontMetrics</tt></a>, 
<a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fontMetrics()"><!-- --></A><H3>
fontMetrics</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A> <B>fontMetrics</B>()</PRE>
<DL>
<DD><p>Returns the font metrics for the widget's current font. Equivalent to <a href="QFontMetrics.html"><tt>QFontMetrics</tt></a>(widget-&gt;<a href="QWidget.html#font()"><tt>font</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#font()"><tt>font</tt></a>, 
<a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a>, 
<a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="foregroundRole()"><!-- --></A><H3>
foregroundRole</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A> <B>foregroundRole</B>()</PRE>
<DL>
<DD><p>Returns the foreground role.</p>
<p>The foreground role defines the color from the widget's <a href="QWidget.html#palette()">palette</tt></a> that is used to draw the foreground.</p>
<p>If no explicit foreground role is set, the function returns a role that contrasts with the background role.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setForegroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><tt>setForegroundRole</tt></a>, 
<a href="QWidget.html#backgroundRole()"><tt>backgroundRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="frameGeometry()"><!-- --></A><H3>
frameGeometry</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>frameGeometry</B>()</PRE>
<DL>
<DD><p>Returns geometry of the widget relative to its parent including any window frame.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of geometry issues with windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#geometry()"><tt>geometry</tt></a>, 
<a href="QWidget.html#x()"><tt>x</tt></a>, 
<a href="QWidget.html#y()"><tt>y</tt></a>, 
<a href="QWidget.html#pos()"><tt>pos</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="frameSize()"><!-- --></A><H3>
frameSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>frameSize</B>()</PRE>
<DL>
<DD><p>Returns the size of the widget including any window frame.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="geometry()"><!-- --></A><H3>
geometry</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>geometry</B>()</PRE>
<DL>
<DD><p>Returns the geometry of the widget relative to its parent and excluding the window frame.</p>
<p>When changing the geometry, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) and/or a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive appropriate events before it is shown.</p>
<p>The size component is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> or <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a>, 
<a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#rect()"><tt>rect</tt></a>, 
<a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a>, 
<a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, 
<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="grabKeyboard()"><!-- --></A><H3>
grabKeyboard</H3>
<PRE>
public final void <B>grabKeyboard</B>()</PRE>
<DL>
<DD><p>Grabs the keyboard input.</p>
<p>This widget receives all keyboard events until <a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a> is called; other widgets get no keyboard events at all. Mouse events are not affected. Use <a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a> if you want to grab that.</p>
<p>The focus widget is not affected, except that it doesn't receive any keyboard events. <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> moves the focus as usual, but the new focus widget receives keyboard events only after <a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a> is called.</p>
<p>If a different widget is currently grabbing keyboard input, that widget's grab is released first.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a>, 
<a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, 
<a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a>, 
<a href="QWidget.html#focusWidget()"><tt>focusWidget</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="grabMouse()"><!-- --></A><H3>
grabMouse</H3>
<PRE>
public final void <B>grabMouse</B>()</PRE>
<DL>
<DD><p>Grabs the mouse input.</p>
<p>This widget receives all mouse events until <a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a> is called; other widgets get no mouse events at all. Keyboard events are not affected. Use <a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a> if you want to grab that.</p>
<p><b>Warning:</b> Bugs in mouse-grabbing applications very often lock the terminal. Use this function with extreme caution, and consider using the <tt>-nograb</tt> command line option while debugging.</p>
<p>It is almost never necessary to grab the mouse when using Qt, as Qt grabs and releases it sensibly. In particular, Qt grabs the mouse when a mouse button is pressed and keeps it until the last button is released.</p>
<p>Note that only visible widgets can grab mouse input. If <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a> returns false for a widget, that widget cannot call <a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>.</p>
<p><a href="QWidget.html#focusWidget()"><tt>focusWidget</tt></a></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a>, 
<a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>, 
<a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a>, 
<a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="grabMouse(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
grabMouse</H3>
<PRE>
public final void <B>grabMouse</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Grabs the mouse input and changes the cursor shape.</p>
<p>The cursor will assume shape <tt>arg__1</tt> (for as long as the mouse focus is grabbed) and this widget will be the only one to receive mouse events until <a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a> is called().</p>
<p><b>Warning:</b> Grabbing the mouse might lock the terminal.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a>, 
<a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>, 
<a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a>, 
<a href="QWidget.html#setCursor(com.trolltech.qt.gui.QCursor)"><tt>setCursor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="grabShortcut(com.trolltech.qt.gui.QKeySequence)"><!-- --></A><H3>
grabShortcut</H3>
<PRE>
public final int <B>grabShortcut</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;key)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><tt>grabShortcut</tt></a>(<tt>key</tt>, Qt::WindowShortcut).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><!-- --></A><H3>
grabShortcut</H3>
<PRE>
public final int <B>grabShortcut</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;key,
                              <A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A>&nbsp;context)</PRE>
<DL>
<DD><p>Adds a shortcut to Qt's shortcut system that watches for the given <tt>key</tt> sequence in the given <tt>context</tt>. If the <tt>context</tt> is not <tt>OnApplication</tt>, the shortcut is local to this widget; otherwise it applies to the application as a whole.</p>
<p>If the same <tt>key</tt> sequence has been grabbed by several widgets, when the <tt>key</tt> sequence occurs a QEvent::Shortcut event is sent to all the widgets to which it applies in a non-deterministic order, but with the ``ambiguous'' flag set to true.</p>
<p><b>Warning:</b> You should not normally need to use this function; instead create <a href="QAction.html"><tt>QAction</tt></a>s with the shortcut key sequences you require (if you also want equivalent menu options and toolbar buttons), or create <a href="QShortcut.html"><tt>QShortcut</tt></a>s if you just need key sequences. Both <a href="QAction.html"><tt>QAction</tt></a> and <a href="QShortcut.html"><tt>QShortcut</tt></a> handle all the event filtering for you, and provide signals which are triggered when the user triggers the key sequence, so are much easier to use than this low-level function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#releaseShortcut(int)"><tt>releaseShortcut</tt></a>, 
<a href="QWidget.html#setShortcutEnabled(int, boolean)"><tt>setShortcutEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasFocus()"><!-- --></A><H3>
hasFocus</H3>
<PRE>
public final boolean <B>hasFocus</B>()</PRE>
<DL>
<DD><p>Returns whether this widget (or its focus proxy) has the keyboard input focus.</p>
<p>Effectively equivalent to <tt>QApplication::focusWidget() == this</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setFocus()"><tt>setFocus</tt></a>, 
<a href="QWidget.html#clearFocus()"><tt>clearFocus</tt></a>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<tt>QApplication::focusWidget</tt></DL>
</DD>
</DL>
<HR>

<A NAME="hasMouseTracking()"><!-- --></A><H3>
hasMouseTracking</H3>
<PRE>
public final boolean <B>hasMouseTracking</B>()</PRE>
<DL>
<DD><p>Returns whether mouse tracking is enabled for the widget.</p>
<p>If mouse tracking is disabled (the default), the widget only receives mouse move events when at least one mouse button is pressed while the mouse is being moved.</p>
<p>If mouse tracking is enabled, the widget receives mouse move events even if no buttons are pressed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final int <B>height</B>()</PRE>
<DL>
<DD><p>Returns the height of the widget excluding any window frame.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#height()">height</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#geometry()">geometry</tt></a>, 
<a href="QWidget.html#width()">width</tt></a>, 
<a href="QWidget.html#size()">size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="heightMM()"><!-- --></A><H3>
heightMM</H3>
<PRE>
public final int <B>heightMM</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#heightMM()">heightMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hide()"><!-- --></A><H3>
hide</H3>
<PRE>
public final void <B>hide</B>()</PRE>
<DL>
<DD><p>Hides the widget. This function is equivalent to <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(false).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#hideEvent(com.trolltech.qt.gui.QHideEvent)"><tt>hideEvent</tt></a>, 
<a href="QWidget.html#isHidden()"><tt>isHidden</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>, 
<a href="QWidget.html#close()"><tt>close</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputContext()"><!-- --></A><H3>
inputContext</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A> <B>inputContext</B>()</PRE>
<DL>
<DD><p>This function returns the <a href="QInputContext.html"><tt>QInputContext</tt></a> for this widget. By default the input context is inherited from the widgets parent. For toplevels it is inherited from <a href="QApplication.html"><tt>QApplication</tt></a>.</p>
<p>You can override this and set a special input context for this widget by using the <a href="QWidget.html#setInputContext(com.trolltech.qt.gui.QInputContext)"><tt>setInputContext</tt></a> method.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setInputContext(com.trolltech.qt.gui.QInputContext)"><tt>setInputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><!-- --></A><H3>
insertAction</H3>
<PRE>
public final void <B>insertAction</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;before,
                               <A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</PRE>
<DL>
<DD><p>Inserts the action <tt>action</tt> to this widget's list of actions, before the action <tt>before</tt>. It appends the action if <tt>before</tt> is 0 or <tt>before</tt> is not a valid action for this widget.</p>
<p>A <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> should only have one of each action.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a>, 
<a href="QWidget.html#addAction(com.trolltech.qt.gui.QAction)"><tt>addAction</tt></a>, 
<a href="QMenu.html"><tt>QMenu</tt></a>, 
<a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="insertActions(com.trolltech.qt.gui.QAction, java.util.List)"><!-- --></A><H3>
insertActions</H3>
<PRE>
public final void <B>insertActions</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;before,
                                java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&gt;&nbsp;actions)</PRE>
<DL>
<DD><p>Inserts the actions <tt>actions</tt> to this widget's list of actions, before the action <tt>before</tt>. It appends the action if <tt>before</tt> is 0 or <tt>before</tt> is not a valid action for this widget.</p>
<p>A <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> can have at most one of each action.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a>, 
<a href="QMenu.html"><tt>QMenu</tt></a>, 
<a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a>, 
<a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isActiveWindow()"><!-- --></A><H3>
isActiveWindow</H3>
<PRE>
public final boolean <B>isActiveWindow</B>()</PRE>
<DL>
<DD><p>Returns whether this widget's window is the active window.</p>
<p>The active window is the window that contains the widget that has keyboard focus (The window may still have focus if it has no widgets or none of its widgets accepts keyboard focus).</p>
<p>When popup windows are visible, this property is true for both the active window <i>and</i> for the popup.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#activateWindow()"><tt>activateWindow</tt></a>, 
<tt>QApplication::activeWindow</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isAncestorOf(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
isAncestorOf</H3>
<PRE>
public final boolean <B>isAncestorOf</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;child)</PRE>
<DL>
<DD><p>Returns true if this widget is a parent, (or grandparent and so on to any level), of the given <tt>child</tt>, and both widgets are within the same window; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEnabled()"><!-- --></A><H3>
isEnabled</H3>
<PRE>
public final boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><p>Returns whether the widget is enabled.</p>
<p>An enabled widget handles keyboard and mouse events; a disabled widget does not.</p>
<p>Some widgets display themselves differently when they are disabled. For example a button might draw its label grayed out. If your widget needs to know when it becomes enabled or disabled, you can use the <a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a> with type QEvent::EnabledChange.</p>
<p>Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)"><tt>isEnabledTo</tt></a>, 
<a href="QKeyEvent.html"><tt>QKeyEvent</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEnabledTo(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
isEnabledTo</H3>
<PRE>
public final boolean <B>isEnabledTo</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns true if this widget would become enabled if <tt>arg__1</tt> is enabled; otherwise returns false.</p>
<p>This is the case if neither the widget itself nor every parent up to but excluding <tt>arg__1</tt> has been explicitly disabled.</p>
<p><a href="QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)"><tt>isEnabledTo</tt></a>(0) is equivalent to <a href="QWidget.html#isEnabled()"><tt>isEnabled</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setEnabled(boolean)"><tt>setEnabled</tt></a>, 
<CODE>enabled</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isFullScreen()"><!-- --></A><H3>
isFullScreen</H3>
<PRE>
public final boolean <B>isFullScreen</B>()</PRE>
<DL>
<DD><p>Returns whether the widget is full screen.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowState()"><tt>windowState</tt></a>, 
<CODE>minimized</tt></CODE>, 
<CODE>maximized</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isHidden()"><!-- --></A><H3>
isHidden</H3>
<PRE>
public final boolean <B>isHidden</B>()</PRE>
<DL>
<DD><p>Returns true if the widget is hidden, otherwise returns false.</p>
<p>A hidden widget will only become visible when <a href="QWidget.html#show()"><tt>show</tt></a> is called on it. It will not be automatically shown when the parent is shown.</p>
<p>To check visiblity, use !<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a> instead (notice the exclamation mark).</p>
<p><a href="QWidget.html#isHidden()"><tt>isHidden</tt></a> implies !<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>, but a widget can be not visible and not hidden at the same time. This is the case for widgets that are children of widgets that are not visible.</p>
<p>Widgets are hidden if they were created as independent windows or as children of visible widgets, or if <a href="QWidget.html#hide()"><tt>hide</tt></a> or <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(false) was called.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isLeftToRight()"><!-- --></A><H3>
isLeftToRight</H3>
<PRE>
public final boolean <B>isLeftToRight</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isMaximized()"><!-- --></A><H3>
isMaximized</H3>
<PRE>
public final boolean <B>isMaximized</B>()</PRE>
<DL>
<DD><p>Returns whether this widget is maximized.</p>
<p>This property is only relevant for windows.</p>
<p>Note that due to limitations in some window-systems, this does not always report the expected results (e.g&#x2e; if the user on X11 maximizes the window via the window manager, Qt has no way of distinguishing this from any other resize). This is expected to improve as window manager protocols evolve.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowState()"><tt>windowState</tt></a>, 
<a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, 
<CODE>visible</tt></CODE>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<CODE>minimized</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isMinimized()"><!-- --></A><H3>
isMinimized</H3>
<PRE>
public final boolean <B>isMinimized</B>()</PRE>
<DL>
<DD><p>Returns whether this widget is minimized (iconified).</p>
<p>This property is only relevant for windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#showMinimized()"><tt>showMinimized</tt></a>, 
<CODE>visible</tt></CODE>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<CODE>maximized</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isModal()"><!-- --></A><H3>
isModal</H3>
<PRE>
public final boolean <B>isModal</B>()</PRE>
<DL>
<DD><p>Returns whether the widget is a modal widget.</p>
<p>This property only makes sense for windows. A modal widget prevents widgets in all other windows from getting any input.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isWindow()"><tt>isWindow</tt></a>, 
<a href="QWidget.html#windowModality()"><tt>windowModality</tt></a>, 
<a href="QDialog.html"><tt>QDialog</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isRightToLeft()"><!-- --></A><H3>
isRightToLeft</H3>
<PRE>
public final boolean <B>isRightToLeft</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isVisible()"><!-- --></A><H3>
isVisible</H3>
<PRE>
public final boolean <B>isVisible</B>()</PRE>
<DL>
<DD><p>Returns whether the widget is visible.</p>
<p>Calling <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(true) or <a href="QWidget.html#show()"><tt>show</tt></a> sets the widget to visible status if all its parent widgets up to the window are visible. If an ancestor is not visible, the widget won't become visible until all its ancestors are shown. If its size or position has changed, Qt guarantees that a widget gets move and resize events just before it is shown. If the widget has not been resized yet, Qt will adjust the widget's size to a useful default using <a href="QWidget.html#adjustSize()"><tt>adjustSize</tt></a>.</p>
<p>Calling <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(false) or <a href="QWidget.html#hide()"><tt>hide</tt></a> hides a widget explicitly. An explicitly hidden widget will never become visible, even if all its ancestors become visible, unless you show it.</p>
<p>A widget receives show and hide events when its visibility status changes. Between a hide and a show event, there is no need to waste CPU cycles preparing or displaying information to the user. A video application, for example, might simply stop generating new frames.</p>
<p>A widget that happens to be obscured by other windows on the screen is considered to be visible. The same applies to iconified windows and windows that exist on another virtual desktop (on platforms that support this concept). A widget receives spontaneous show and hide events when its mapping status is changed by the window system, e.g&#x2e; a spontaneous hide event when the user minimizes the window, and a spontaneous show event when the window is restored again.</p>
<p>You almost never have to reimplement the <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a> function. If you need to change some settings before a widget is shown, use <a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a> instead. If you need to do some delayed initialization use the Polish event delivered to the <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isHidden()"><tt>isHidden</tt></a>, 
<a href="QWidget.html#isVisibleTo(com.trolltech.qt.gui.QWidget)"><tt>isVisibleTo</tt></a>, 
<a href="QWidget.html#isMinimized()"><tt>isMinimized</tt></a>, 
<a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a>, 
<a href="QWidget.html#hideEvent(com.trolltech.qt.gui.QHideEvent)"><tt>hideEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isVisibleTo(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
isVisibleTo</H3>
<PRE>
public final boolean <B>isVisibleTo</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns true if this widget would become visible if <tt>arg__1</tt> is shown; otherwise returns false.</p>
<p>The true case occurs if neither the widget itself nor any parent up to but excluding <tt>arg__1</tt> has been explicitly hidden.</p>
<p>This function will still return true if the widget is obscured by other windows on the screen, but could be physically visible if it or they were to be moved.</p>
<p><a href="QWidget.html#isVisibleTo(com.trolltech.qt.gui.QWidget)"><tt>isVisibleTo</tt></a>(0) is identical to <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isWindow()"><!-- --></A><H3>
isWindow</H3>
<PRE>
public final boolean <B>isWindow</B>()</PRE>
<DL>
<DD><p>Returns true if the widget is an independent window, otherwise returns false.</p>
<p>A window is a widget that isn't visually the child of any other widget and that usually has a frame and a window title</tt>.</p>
<p>A window can have a parent widget</tt>. It will then be grouped with its parent and deleted when the parent is deleted, minimized when the parent is minimized etc. If supported by the window manager, it will also have a common taskbar entry with its parent.</p>
<p><a href="QDialog.html"><tt>QDialog</tt></a> and <a href="QMainWindow.html"><tt>QMainWindow</tt></a> widgets are by default windows, even if a parent widget is specified in the constructor. This behavior is specified by the <a href="%2E%2E/winsystem.html#qt-windows">Qt::Window</tt></a> flag.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#window()"><tt>window</tt></a>, 
<a href="QWidget.html#isModal()"><tt>isModal</tt></a>, 
<a href="QWidget.html#parentWidget()"><tt>parentWidget</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isWindowModified()"><!-- --></A><H3>
isWindowModified</H3>
<PRE>
public final boolean <B>isWindowModified</B>()</PRE>
<DL>
<DD><p>Returns whether the document shown in the window has unsaved changes.</p>
<p>A modified window is a window whose content has changed but has not been saved to disk. This flag will have different effects varied by the platform. On Mac OS X the close button will have a modified look; on other platforms, the window title will have an '*' (asterisk).</p>
<p>The window title must contain a &quot;[*]&quot; placeholder, which indicates where the '*' should appear. Normally, it should appear right after the file name (e.g&#x2e;, &quot;document1.txt[*] - Text Editor&quot;). If the window isn't modified, the placeholder is simply removed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a>, 
<a href="%2E%2E/qtjambi-application.html">Application Example</tt></a>, 
<CODE>Example</tt></CODE>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="layout()"><!-- --></A><H3>
layout</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A> <B>layout</B>()</PRE>
<DL>
<DD><p>Returns the layout manager that is installed on this widget, or 0 if no layout manager is installed.</p>
<p>The layout manager sets the geometry of the widget's children that have been added to the layout.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setLayout(com.trolltech.qt.gui.QLayout)"><tt>setLayout</tt></a>, 
<a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a>, 
<a href="%2E%2E/layout.html">Layout Classes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="layoutDirection()"><!-- --></A><H3>
layoutDirection</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A> <B>layoutDirection</B>()</PRE>
<DL>
<DD><p>Returns the layout direction for this widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><tt>setLayoutDirection</tt></a>, 
<tt>QApplication::layoutDirection</tt></DL>
</DD>
</DL>
<HR>

<A NAME="locale()"><!-- --></A><H3>
locale</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A> <B>locale</B>()</PRE>
<DL>
<DD><p>Returns the widget's locale.</p>
<p>As long as no special locale has been set, this is either the parent's locale or (if this widget is a top level widget), the default locale.</p>
<p>If the widget displays dates or numbers, these should be formatted using the widget's locale.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setLocale(com.trolltech.qt.core.QLocale)"><tt>setLocale</tt></a>, 
<a href="%2E%2E/core/QLocale.html"><tt>QLocale</tt></a>, 
<tt>QLocale::setDefault</tt></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiX()"><!-- --></A><H3>
logicalDpiX</H3>
<PRE>
public final int <B>logicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QWidget.html#widthMM()"><tt>widthMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QWidget.html#logicalDpiX()"><tt>logicalDpiX</tt></a> doesn't equal the <a href="QWidget.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiX()">logicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, 
<a href="QWidget.html#physicalDpiX()"><tt>physicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiY()"><!-- --></A><H3>
logicalDpiY</H3>
<PRE>
public final int <B>logicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QWidget.html#heightMM()"><tt>heightMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QWidget.html#logicalDpiY()"><tt>logicalDpiY</tt></a> doesn't equal the <a href="QWidget.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiY()">logicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, 
<a href="QWidget.html#physicalDpiY()"><tt>physicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lower()"><!-- --></A><H3>
lower</H3>
<PRE>
public final void <B>lower</B>()</PRE>
<DL>
<DD><p>Lowers the widget to the bottom of the parent widget's stack.</p>
<p>After this call the widget will be visually behind (and therefore obscured by) any overlapping sibling widgets.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#raise()"><tt>raise</tt></a>, 
<a href="QWidget.html#stackUnder(com.trolltech.qt.gui.QWidget)"><tt>stackUnder</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFrom(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapFrom</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapFrom</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
                            <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Translates the widget coordinate <tt>arg__2</tt> from the coordinate system of <tt>arg__1</tt> to this widget's coordinate system. The <tt>arg__1</tt> must not be 0 and must be a parent of the calling widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapTo(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapTo</tt></a>, 
<a href="QWidget.html#mapFromParent(com.trolltech.qt.core.QPoint)"><tt>mapFromParent</tt></a>, 
<a href="QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)"><tt>mapFromGlobal</tt></a>, 
<a href="QWidget.html#underMouse()"><tt>underMouse</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromGlobal(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapFromGlobal</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapFromGlobal</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Translates the global screen coordinate <tt>arg__1</tt> to widget coordinates.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a>, 
<a href="QWidget.html#mapFrom(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapFrom</tt></a>, 
<a href="QWidget.html#mapFromParent(com.trolltech.qt.core.QPoint)"><tt>mapFromParent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapFromParent</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Translates the parent widget coordinate <tt>arg__1</tt> to widget coordinates.</p>
<p>Same as <a href="QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)"><tt>mapFromGlobal</tt></a> if the widget has no parent.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapToParent(com.trolltech.qt.core.QPoint)"><tt>mapToParent</tt></a>, 
<a href="QWidget.html#mapFrom(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapFrom</tt></a>, 
<a href="QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)"><tt>mapFromGlobal</tt></a>, 
<a href="QWidget.html#underMouse()"><tt>underMouse</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapTo(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapTo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapTo</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
                          <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Translates the widget coordinate <tt>arg__2</tt> to the coordinate system of <tt>arg__1</tt>. The <tt>arg__1</tt> must not be 0 and must be a parent of the calling widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapFrom(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapFrom</tt></a>, 
<a href="QWidget.html#mapToParent(com.trolltech.qt.core.QPoint)"><tt>mapToParent</tt></a>, 
<a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a>, 
<a href="QWidget.html#underMouse()"><tt>underMouse</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToGlobal(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapToGlobal</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapToGlobal</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Translates the widget coordinate <tt>arg__1</tt> to global screen coordinates. For example, <tt>mapToGlobal(QPoint(0,0))</tt> would give the global coordinates of the top-left pixel of the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapFromGlobal(com.trolltech.qt.core.QPoint)"><tt>mapFromGlobal</tt></a>, 
<a href="QWidget.html#mapTo(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapTo</tt></a>, 
<a href="QWidget.html#mapToParent(com.trolltech.qt.core.QPoint)"><tt>mapToParent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>mapToParent</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Translates the widget coordinate <tt>arg__1</tt> to a coordinate in the parent widget.</p>
<p>Same as <a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a> if the widget has no parent.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mapFromParent(com.trolltech.qt.core.QPoint)"><tt>mapFromParent</tt></a>, 
<a href="QWidget.html#mapTo(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>mapTo</tt></a>, 
<a href="QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)"><tt>mapToGlobal</tt></a>, 
<a href="QWidget.html#underMouse()"><tt>underMouse</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mask()"><!-- --></A><H3>
mask</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>mask</B>()</PRE>
<DL>
<DD><p>Returns the mask currently set on a widget. If no mask is set the return value will be an empty region.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a>, 
<a href="QWidget.html#clearMask()"><tt>clearMask</tt></a>, 
<tt>QRegion::isEmpty</tt>, 
<a href="%2E%2E/qtjambi-shapedclock.html">Shaped Clock Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="maximumHeight()"><!-- --></A><H3>
maximumHeight</H3>
<PRE>
public final int <B>maximumHeight</B>()</PRE>
<DL>
<DD><p>Returns the widget's maximum height.</p>
<p>This property corresponds to <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a>. It is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed height is 16777215.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMaximumHeight(int)"><tt>setMaximumHeight</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="maximumSize()"><!-- --></A><H3>
maximumSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>maximumSize</B>()</PRE>
<DL>
<DD><p>Returns the widget's maximum size.</p>
<p>The widget cannot be resized to a larger size than the maximum widget size.</p>
<p>The property is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed size is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(16777215, 16777215).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMaximumSize(int, int)"><tt>setMaximumSize</tt></a>, 
<a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a>, 
<a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="maximumWidth()"><!-- --></A><H3>
maximumWidth</H3>
<PRE>
public final int <B>maximumWidth</B>()</PRE>
<DL>
<DD><p>Returns the widget's maximum width.</p>
<p>This property corresponds to <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a>. It is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed width is 16777215.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMaximumWidth(int)"><tt>setMaximumWidth</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="minimumHeight()"><!-- --></A><H3>
minimumHeight</H3>
<PRE>
public final int <B>minimumHeight</B>()</PRE>
<DL>
<DD><p>Returns the widget's minimum height.</p>
<p>This property corresponds to <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMinimumHeight(int)"><tt>setMinimumHeight</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="minimumSize()"><!-- --></A><H3>
minimumSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>minimumSize</B>()</PRE>
<DL>
<DD><p>Returns the widget's minimum size.</p>
<p>The widget cannot be resized to a smaller size than the minimum widget size. The widget's size is forced to the minimum size if the current size is smaller.</p>
<p>The minimum size set by this function will override the minimum size defined by <a href="QLayout.html"><tt>QLayout</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMinimumSize(int, int)"><tt>setMinimumSize</tt></a>, 
<a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a>, 
<a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="minimumWidth()"><!-- --></A><H3>
minimumWidth</H3>
<PRE>
public final int <B>minimumWidth</B>()</PRE>
<DL>
<DD><p>Returns the widget's minimum width.</p>
<p>This property corresponds to <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMinimumWidth(int)"><tt>setMinimumWidth</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="move(int, int)"><!-- --></A><H3>
move</H3>
<PRE>
public final void <B>move</B>(int&nbsp;x,
                       int&nbsp;y)</PRE>
<DL>
<DD><p>Sets the position of the widget within its parent widget.</p>
<p>If the widget is a window, the position is that of the widget on the desktop, including its frame.</p>
<p>When changing the position, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#x()"><tt>x</tt></a>, 
<a href="QWidget.html#y()"><tt>y</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="move(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
move</H3>
<PRE>
public final void <B>move</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the position of the widget within its parent widget to <tt>arg__1</tt>.</p>
<p>If the widget is a window, the position is that of the widget on the desktop, including its frame.</p>
<p>When changing the position, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#x()"><tt>x</tt></a>, 
<a href="QWidget.html#y()"><tt>y</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="nextInFocusChain()"><!-- --></A><H3>
nextInFocusChain</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>nextInFocusChain</B>()</PRE>
<DL>
<DD><p>Returns the next widget in this widget's focus chain.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="normalGeometry()"><!-- --></A><H3>
normalGeometry</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>normalGeometry</B>()</PRE>
<DL>
<DD><p>Returns the geometry of the widget as it will appear when shown as a normal (not maximized or fullscreen) toplevel widget.</p>
<p>For child widgets this property always holds an empty rect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::windowState</tt>, 
<tt>QWidget::geometry</tt></DL>
</DD>
</DL>
<HR>

<A NAME="numColors()"><!-- --></A><H3>
numColors</H3>
<PRE>
public final int <B>numColors</B>()</PRE>
<DL>
<DD><p>Returns the number of different colors available for the paint device. Since this value is an int, it will not be sufficient to represent the number of colors on 32 bit displays, in this case INT_MAX is returned instead.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#numColors()">numColors</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="overrideWindowFlags(com.trolltech.qt.core.Qt.WindowType...)"><!-- --></A><H3>
overrideWindowFlags</H3>
<PRE>
public final void <B>overrideWindowFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;type)</PRE>
<DL>
<DD><p>Sets the window flags for the widget to <tt>type</tt>, <i>without</i> telling the window system.</p>
<p><b>Warning:</b> Do not call this function unless you really know what you're doing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><tt>setWindowFlags</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="overrideWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><!-- --></A><H3>
overrideWindowFlags</H3>
<PRE>
public final void <B>overrideWindowFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;type)</PRE>
<DL>
<DD><p>Sets the window flags for the widget to <tt>type</tt>, <i>without</i> telling the window system.</p>
<p><b>Warning:</b> Do not call this function unless you really know what you're doing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><tt>setWindowFlags</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="overrideWindowState(com.trolltech.qt.core.Qt.WindowState...)"><!-- --></A><H3>
overrideWindowState</H3>
<PRE>
public final void <B>overrideWindowState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowState.html" title="enum in com.trolltech.qt.core">Qt.WindowState</A>...&nbsp;state)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="overrideWindowState(com.trolltech.qt.core.Qt.WindowStates)"><!-- --></A><H3>
overrideWindowState</H3>
<PRE>
public final void <B>overrideWindowState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A>&nbsp;state)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="paintingActive()"><!-- --></A><H3>
paintingActive</H3>
<PRE>
public final boolean <B>paintingActive</B>()</PRE>
<DL>
<DD><p>Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintingActive()">paintingActive</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPainter::isActive</tt></DL>
</DD>
</DL>
<HR>

<A NAME="palette()"><!-- --></A><H3>
palette</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A> <B>palette</B>()</PRE>
<DL>
<DD><p>Returns the widget's palette.</p>
<p>As long as no special palette has been set, this is either a special palette for the widget class, the parent's palette or (if this widget is a top level widget), the default application palette.</p>
<p><b>Note:</b> The palette's background color will only have an effect on the appearance of the widget if the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property is set.</p>
<p><b>Warning:</b> Do not use this function in conjunction with <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. When using style sheets, the palette of a widget can be customized using the &quot;color&quot;, &quot;background-color&quot;, &quot;selection-color&quot;, &quot;selection-background-color&quot; and &quot;alternate-background-color&quot;.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setPalette(com.trolltech.qt.gui.QPalette)"><tt>setPalette</tt></a>, 
<tt>QApplication::palette</tt></DL>
</DD>
</DL>
<HR>

<A NAME="parentWidget()"><!-- --></A><H3>
parentWidget</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>parentWidget</B>()</PRE>
<DL>
<DD><p>Returns the parent of this widget, or 0 if it does not have any parent widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiX()"><!-- --></A><H3>
physicalDpiX</H3>
<PRE>
public final int <B>physicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QWidget.html#physicalDpiX()"><tt>physicalDpiX</tt></a> doesn't equal the <a href="QWidget.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiX()">physicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, 
<a href="QWidget.html#logicalDpiX()"><tt>logicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiY()"><!-- --></A><H3>
physicalDpiY</H3>
<PRE>
public final int <B>physicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QWidget.html#physicalDpiY()"><tt>physicalDpiY</tt></a> doesn't equal the <a href="QWidget.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiY()">physicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, 
<a href="QWidget.html#logicalDpiY()"><tt>logicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pos()"><!-- --></A><H3>
pos</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>pos</B>()</PRE>
<DL>
<DD><p>Returns the position of the widget within its parent widget.</p>
<p>If the widget is a window, the position is that of the widget on the desktop, including its frame.</p>
<p>When changing the position, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#x()"><tt>x</tt></a>, 
<a href="QWidget.html#y()"><tt>y</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="raise()"><!-- --></A><H3>
raise</H3>
<PRE>
public final void <B>raise</B>()</PRE>
<DL>
<DD><p>Raises this widget to the top of the parent widget's stack.</p>
<p>After this call the widget will be visually in front of any overlapping sibling widgets.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#lower()"><tt>lower</tt></a>, 
<a href="QWidget.html#stackUnder(com.trolltech.qt.gui.QWidget)"><tt>stackUnder</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rect()"><!-- --></A><H3>
rect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>rect</B>()</PRE>
<DL>
<DD><p>Returns the internal geometry of the widget excluding any window frame.</p>
<p>The rect property equals <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>(0, 0, <a href="QWidget.html#width()"><tt>width</tt></a>, <a href="QWidget.html#height()"><tt>height</tt></a>).</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#size()">size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="releaseKeyboard()"><!-- --></A><H3>
releaseKeyboard</H3>
<PRE>
public final void <B>releaseKeyboard</B>()</PRE>
<DL>
<DD><p>Releases the keyboard grab.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>, 
<a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, 
<a href="QWidget.html#releaseMouse()"><tt>releaseMouse</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="releaseMouse()"><!-- --></A><H3>
releaseMouse</H3>
<PRE>
public final void <B>releaseMouse</B>()</PRE>
<DL>
<DD><p>Releases the mouse grab.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, 
<a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>, 
<a href="QWidget.html#releaseKeyboard()"><tt>releaseKeyboard</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="releaseShortcut(int)"><!-- --></A><H3>
releaseShortcut</H3>
<PRE>
public final void <B>releaseShortcut</B>(int&nbsp;id)</PRE>
<DL>
<DD><p>Removes the shortcut with the given <tt>id</tt> from Qt's shortcut system. The widget will no longer receive QEvent::Shortcut events for the shortcut's key sequence (unless it has other shortcuts with the same key sequence).</p>
<p><b>Warning:</b> You should not normally need to use this function since Qt's shortcut system removes shortcuts automatically when their parent widget is destroyed. It is best to use <a href="QAction.html"><tt>QAction</tt></a> or <a href="QShortcut.html"><tt>QShortcut</tt></a> to handle shortcuts, since they are easier to use than this low-level function. Note also that this is an expensive operation.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><tt>grabShortcut</tt></a>, 
<a href="QWidget.html#setShortcutEnabled(int, boolean)"><tt>setShortcutEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeAction(com.trolltech.qt.gui.QAction)"><!-- --></A><H3>
removeAction</H3>
<PRE>
public final void <B>removeAction</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</A>&nbsp;action)</PRE>
<DL>
<DD><p>Removes the action <tt>action</tt> from this widget's list of actions.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a>, 
<a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlag...)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
                         <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion,
                         <A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlag.html" title="enum in com.trolltech.qt.gui">QWidget.RenderFlag</A>...&nbsp;renderFlags)</PRE>
<DL>
<DD><p>Renders the <tt>sourceRegion</tt> of this widget into the <tt>target</tt> using <tt>renderFlags</tt> to determine how to render. Rendering starts at <tt>targetOffset</tt> in the <tt>target</tt>. For example:</p>
<pre>    QPixmap pixmap(widget-&gt;size());
    widget-&gt;render(&amp;pixmap);</pre>
<p>If <tt>sourceRegion</tt> is a null region, this function will use QWidget::rect() as the region, i.e&#x2e; the entire widget.</p>
<p><b>Note:</b> Make sure to call QPainter::end() for the given <tt>target</tt>'s active painter (if any) before rendering. For example:</p>
<pre>    QPainter painter(this);
    ...
    painter.end();
    myWidget-&gt;render(this);</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
                         <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, <tt>targetOffset</tt>, <tt>sourceRegion</tt>, RenderFlags( DrawWindowBackground | DrawChildren )).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, <tt>targetOffset</tt>, QRegion(), RenderFlags( DrawWindowBackground | DrawChildren )).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)">render</tt></a>(<tt>target</tt>, QPoint(), QRegion(), RenderFlags( DrawWindowBackground | DrawChildren )).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPaintDeviceInterface, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QRegion, com.trolltech.qt.gui.QWidget.RenderFlags)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;targetOffset,
                         <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;sourceRegion,
                         <A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlags.html" title="class in com.trolltech.qt.gui">QWidget.RenderFlags</A>&nbsp;renderFlags)</PRE>
<DL>
<DD><p>Renders the <tt>sourceRegion</tt> of this widget into the <tt>target</tt> using <tt>renderFlags</tt> to determine how to render. Rendering starts at <tt>targetOffset</tt> in the <tt>target</tt>. For example:</p>
<pre>    QPixmap pixmap(widget-&gt;size());
    widget-&gt;render(&amp;pixmap);</pre>
<p>If <tt>sourceRegion</tt> is a null region, this function will use QWidget::rect() as the region, i.e&#x2e; the entire widget.</p>
<p><b>Note:</b> Make sure to call QPainter::end() for the given <tt>target</tt>'s active painter (if any) before rendering. For example:</p>
<pre>    QPainter painter(this);
    ...
    painter.end();
    myWidget-&gt;render(this);</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="repaint()"><!-- --></A><H3>
repaint</H3>
<PRE>
public final void <B>repaint</B>()</PRE>
<DL>
<DD><p>Repaints the widget directly by calling <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> immediately, unless updates are disabled or the widget is hidden.</p>
<p>We suggest only using <a href="QWidget.html#repaint()"><tt>repaint</tt></a> if you need an immediate repaint, for example during animation. In almost all circumstances <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> is better, as it permits Qt to optimize for speed and minimize flicker.</p>
<p><b>Warning:</b> If you call <a href="QWidget.html#repaint()"><tt>repaint</tt></a> in a function which may itself be called from <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, you may get infinite recursion. The <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> function never causes recursion.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, 
<a href="QWidget.html#setUpdatesEnabled(boolean)"><tt>setUpdatesEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="repaint(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
repaint</H3>
<PRE>
public final void <B>repaint</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This version repaints a rectangle <tt>arg__1</tt> inside the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="repaint(int, int, int, int)"><!-- --></A><H3>
repaint</H3>
<PRE>
public final void <B>repaint</B>(int&nbsp;x,
                          int&nbsp;y,
                          int&nbsp;w,
                          int&nbsp;h)</PRE>
<DL>
<DD><p>This version repaints a rectangle (<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>) inside the widget.</p>
<p>If <tt>w</tt> is negative, it is replaced with <tt>width() - x</tt>, and if <tt>h</tt> is negative, it is replaced width <tt>height() - y</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="repaint(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
repaint</H3>
<PRE>
public final void <B>repaint</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This version repaints a region <tt>arg__1</tt> inside the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="resetInputContext()"><!-- --></A><H3>
resetInputContext</H3>
<PRE>
protected final void <B>resetInputContext</B>()</PRE>
<DL>
<DD><p>This function can be called on the widget that currently has focus to reset the input method operating on it.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QInputContext.html"><tt>QInputContext</tt></a>, 
<tt>QInputContext::reset</tt></DL>
</DD>
</DL>
<HR>

<A NAME="resize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
resize</H3>
<PRE>
public final void <B>resize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the size of the widget excluding any window frame to <tt>arg__1</tt>.</p>
<p>If the widget is visible when it is being resized, it receives a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p>The size is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> can lead to infinite recursion.</p>
<p>Note that setting size to <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(0, 0) will cause the widget to not appear on screen. This also applies to windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#pos()">pos</tt></a>, 
<a href="QWidget.html#geometry()">geometry</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resize(int, int)"><!-- --></A><H3>
resize</H3>
<PRE>
public final void <B>resize</B>(int&nbsp;w,
                         int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the size of the widget excluding any window frame.</p>
<p>If the widget is visible when it is being resized, it receives a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p>The size is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> can lead to infinite recursion.</p>
<p>Note that setting size to <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(0, 0) will cause the widget to not appear on screen. This also applies to windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#pos()">pos</tt></a>, 
<a href="QWidget.html#geometry()">geometry</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="restoreGeometry(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
restoreGeometry</H3>
<PRE>
public final boolean <B>restoreGeometry</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;geometry)</PRE>
<DL>
<DD><p>Restores the geometry and state top-level widgets stored in the byte array <tt>geometry</tt>. Returns true on success; otherwise returns false.</p>
<p>If the restored geometry is off-screen, it will be modified to be inside the the available screen geometry.</p>
<p>To restore geometry saved using <a href="%2E%2E/core/QSettings.html"><tt>QSettings</tt></a>, you can use code like this:</p>
<pre>    QSettings settings(&quot;MyCompany&quot;, &quot;MyApp&quot;);
    myWidget-&gt;restoreGeometry(settings.value(&quot;myWidget/geometry&quot;).toByteArray());</pre>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of geometry issues with windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#saveGeometry()"><tt>saveGeometry</tt></a>, 
<a href="%2E%2E/core/QSettings.html"><tt>QSettings</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="saveGeometry()"><!-- --></A><H3>
saveGeometry</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>saveGeometry</B>()</PRE>
<DL>
<DD><p>Saves the current geometry and state for top-level widgets.</p>
<p>To save the geometry when the window closes, you can implement a close event like this:</p>
<pre>    void MyWidget::closeEvent(QCloseEvent *event)
    {
        QSettings settings(&quot;MyCompany&quot;, &quot;MyApp&quot;);
        settings.setValue(&quot;geometry&quot;, saveGeometry());
        QWidget::closeEvent(event);
    }</pre>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of geometry issues with windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#restoreGeometry(com.trolltech.qt.core.QByteArray)"><tt>restoreGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scroll(int, int)"><!-- --></A><H3>
scroll</H3>
<PRE>
public final void <B>scroll</B>(int&nbsp;dx,
                         int&nbsp;dy)</PRE>
<DL>
<DD><p>Scrolls the widget including its children <tt>dx</tt> pixels to the right and <tt>dy</tt> downward. Both <tt>dx</tt> and <tt>dy</tt> may be negative.</p>
<p>After scrolling, the widgets will receive paint events for the areas that need to be repainted. For widgets that Qt knows to be opaque, this is only the newly exposed parts. For example, if an opaque widget is scrolled 8 pixels to the left, only an 8-pixel wide stripe at the right edge needs updating.</p>
<p>Since widgets propagate the contents of their parents by default, you need to set the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property, or use <a href="QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><tt>setAttribute</tt></a> to set the Qt::WA_OpaquePaintEvent attribute, to make a widget opaque.</p>
<p>For widgets that use contents propagation, a scroll will cause an update of the entire scroll area.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#transparency-and-double-buffering">Transparency and Double Buffering</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scroll(int, int, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
scroll</H3>
<PRE>
public final void <B>scroll</B>(int&nbsp;dx,
                         int&nbsp;dy,
                         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__3)</PRE>
<DL>
<DD><p>This version only scrolls <tt>arg__3</tt> and does not move the children of the widget.</p>
<p>If <tt>arg__3</tt> is empty or invalid, the result is undefined.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QScrollArea.html"><tt>QScrollArea</tt></a>, 
<tt>bitBlt</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setAcceptDrops(boolean)"><!-- --></A><H3>
setAcceptDrops</H3>
<PRE>
public final void <B>setAcceptDrops</B>(boolean&nbsp;on)</PRE>
<DL>
<DD><p>Sets whether drop events are enabled for this widget to <tt>on</tt>.</p>
<p>Setting this property to true announces to the system that this widget <i>may</i> be able to accept drop events.</p>
<p>If the widget is the desktop (<a href="%2E%2E/porting4.html#qwidget"><tt>QWidget::</tt></a>(<a href="QWidget.html#windowType()"><tt>windowType</tt></a> == Qt::Desktop)), this may fail if another application is using the desktop; you can call <a href="QWidget.html#acceptDrops()"><tt>acceptDrops</tt></a> to test if this occurs.</p>
<p><b>Warning:</b> Do not modify this property in a Drag&amp;Drop event handler.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#acceptDrops()"><tt>acceptDrops</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAccessibleDescription(java.lang.String)"><!-- --></A><H3>
setAccessibleDescription</H3>
<PRE>
public final void <B>setAccessibleDescription</B>(java.lang.String&nbsp;description)</PRE>
<DL>
<DD><p>Sets the widget's description as seen by assistive technologies to <tt>description</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#accessibleDescription()"><tt>accessibleDescription</tt></a>, 
<tt>QAccessibleInterface::text</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setAccessibleName(java.lang.String)"><!-- --></A><H3>
setAccessibleName</H3>
<PRE>
public final void <B>setAccessibleName</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Sets the widget's name as seen by assistive technologies to <tt>name</tt>.</p>
<p>It is be used by accessible clients to identify, find, or announce the widget for accessible clients.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#accessibleName()"><tt>accessibleName</tt></a>, 
<tt>QAccessibleInterface::text</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute)"><!-- --></A><H3>
setAttribute</H3>
<PRE>
public final void <B>setAttribute</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><tt>setAttribute</tt></a>(<tt>arg__1</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><!-- --></A><H3>
setAttribute</H3>
<PRE>
public final void <B>setAttribute</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1,
                               boolean&nbsp;on)</PRE>
<DL>
<DD><p>Sets the attribute <tt>arg__1</tt> on this widget if <tt>on</tt> is true; otherwise clears the attribute.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#testAttribute(com.trolltech.qt.core.Qt.WidgetAttribute)"><tt>testAttribute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAutoFillBackground(boolean)"><!-- --></A><H3>
setAutoFillBackground</H3>
<PRE>
public final void <B>setAutoFillBackground</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>Sets whether the widget background is filled automatically to <tt>enabled</tt>.</p>
<p>If enabled, this will cause Qt to fill the background using the widget's background role before invoking the paint event. The background role is defined by the widget's <a href="QWidget.html#palette()">palette</tt></a>.</p>
<p>In addition, Windows are always filled with QPalette::Window, unless the WA_OpaquePaintEvent or WA_NoSystemBackground attributes are set.</p>
<p><b>Warning:</b> Do not set this property when using <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. When using style sheets, the widget is always filled with the &quot;background&quot; property. The &quot;border-radius&quot; property may be used to clip the background.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a>, 
<tt>Qt::WA_OpaquePaintEvent</tt>, 
<tt>Qt::WA_NoSystemBackground</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><!-- --></A><H3>
setBackgroundRole</H3>
<PRE>
public final void <B>setBackgroundRole</B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the background role of the widget to <tt>arg__1</tt>.</p>
<p>The background role defines the brush from the widget's <a href="QWidget.html#palette()">palette</tt></a> that is used to render the background.</p>
<p>If <tt>arg__1</tt> is QPalette::NoRole, then the widget inherits its parent's background role.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#backgroundRole()"><tt>backgroundRole</tt></a>, 
<a href="QWidget.html#foregroundRole()"><tt>foregroundRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBaseSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setBaseSize</H3>
<PRE>
public final void <B>setBaseSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the base size of the widget to <tt>arg__1</tt>.</p>
<p>The base size is used to calculate a proper widget size if the widget defines <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#baseSize()"><tt>baseSize</tt></a>, 
<a href="QWidget.html#setSizeIncrement(com.trolltech.qt.core.QSize)"><tt>setSizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBaseSize(int, int)"><!-- --></A><H3>
setBaseSize</H3>
<PRE>
public final void <B>setBaseSize</B>(int&nbsp;basew,
                              int&nbsp;baseh)</PRE>
<DL>
<DD><p>Sets the base size of the widget.</p>
<p>The base size is used to calculate a proper widget size if the widget defines <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setSizeIncrement(com.trolltech.qt.core.QSize)"><tt>setSizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setContentsMargins(int, int, int, int)"><!-- --></A><H3>
setContentsMargins</H3>
<PRE>
public final void <B>setContentsMargins</B>(int&nbsp;left,
                                     int&nbsp;top,
                                     int&nbsp;right,
                                     int&nbsp;bottom)</PRE>
<DL>
<DD><p>Sets the margins around the contents of the widget to have the sizes <tt>left</tt>, <tt>top</tt>, <tt>right</tt>, and <tt>bottom</tt>. The margins are used by the layout system, and may be used by subclasses to specify the area to draw in (e.g&#x2e; excluding the frame).</p>
<p>Changing the margins will trigger a <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#contentsRect()"><tt>contentsRect</tt></a>, 
<tt>getContentsMargins</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setContextMenuPolicy(com.trolltech.qt.core.Qt.ContextMenuPolicy)"><!-- --></A><H3>
setContextMenuPolicy</H3>
<PRE>
public final void <B>setContextMenuPolicy</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ContextMenuPolicy.html" title="enum in com.trolltech.qt.core">Qt.ContextMenuPolicy</A>&nbsp;policy)</PRE>
<DL>
<DD><p>Sets how the widget shows a context menu to <tt>policy</tt>.</p>
<p>The default value of this property is Qt::DefaultContextMenu, which means the <a href="QWidget.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)"><tt>contextMenuEvent</tt></a> handler is called. Other values are Qt::NoContextMenu, Qt::PreventContextMenu, Qt::ActionsContextMenu, and Qt::CustomContextMenu. With Qt::CustomContextMenu, the signal <a href="QWidget.html#customContextMenuRequested(com.trolltech.qt.core.QPoint)"><tt>customContextMenuRequested</tt></a> is emitted.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a>, 
<a href="QWidget.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)"><tt>contextMenuEvent</tt></a>, 
<a href="QWidget.html#customContextMenuRequested(com.trolltech.qt.core.QPoint)"><tt>customContextMenuRequested</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCursor(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
setCursor</H3>
<PRE>
public final void <B>setCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the cursor shape for this widget to <tt>arg__1</tt>.</p>
<p>The mouse cursor will assume this shape when it's over this widget. See the list of predefined cursor objects</tt> for a range of useful shapes.</p>
<p>An editor widget might use an I-beam cursor:</p>
<pre>    setCursor(Qt::IBeamCursor);</pre>
<p>If no cursor has been set, or after a call to <a href="QWidget.html#unsetCursor()"><tt>unsetCursor</tt></a>, the parent's cursor is used.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#cursor()"><tt>cursor</tt></a>, 
<tt>QApplication::setOverrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setDisabled(boolean)"><!-- --></A><H3>
setDisabled</H3>
<PRE>
public final void <B>setDisabled</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Disables widget input events if <tt>arg__1</tt> is true; otherwise enables input events.</p>
<p>See the enabled</tt> documentation for more information.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)"><tt>isEnabledTo</tt></a>, 
<a href="QKeyEvent.html"><tt>QKeyEvent</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEnabled(boolean)"><!-- --></A><H3>
setEnabled</H3>
<PRE>
public final void <B>setEnabled</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the widget is enabled to <tt>arg__1</tt>.</p>
<p>An enabled widget handles keyboard and mouse events; a disabled widget does not.</p>
<p>Some widgets display themselves differently when they are disabled. For example a button might draw its label grayed out. If your widget needs to know when it becomes enabled or disabled, you can use the <a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a> with type QEvent::EnabledChange.</p>
<p>Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isEnabledTo(com.trolltech.qt.gui.QWidget)"><tt>isEnabledTo</tt></a>, 
<a href="QKeyEvent.html"><tt>QKeyEvent</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFixedHeight(int)"><!-- --></A><H3>
setFixedHeight</H3>
<PRE>
public final void <B>setFixedHeight</B>(int&nbsp;h)</PRE>
<DL>
<DD><p>Sets both the minimum and maximum heights of the widget to <tt>h</tt> without changing the widths. Provided for convenience.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#setFixedSize(int, int)"><tt>setFixedSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFixedSize(int, int)"><!-- --></A><H3>
setFixedSize</H3>
<PRE>
public final void <B>setFixedSize</B>(int&nbsp;w,
                               int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the width of the widget to <tt>w</tt> and the height to <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFixedSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setFixedSize</H3>
<PRE>
public final void <B>setFixedSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets both the minimum and maximum sizes of the widget to <tt>arg__1</tt>, thereby preventing it from ever growing or shrinking.</p>
<p>This will override the default size constraints set by <a href="QLayout.html"><tt>QLayout</tt></a>.</p>
<p>Alternatively, if you want the widget to have a fixed size based on its contents, you can call QLayout::setSizeConstraint(QLayout::SetFixedSize);</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFixedWidth(int)"><!-- --></A><H3>
setFixedWidth</H3>
<PRE>
public final void <B>setFixedWidth</B>(int&nbsp;w)</PRE>
<DL>
<DD><p>Sets both the minimum and maximum width of the widget to <tt>w</tt> without changing the heights. Provided for convenience.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#setFixedSize(int, int)"><tt>setFixedSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocus()"><!-- --></A><H3>
setFocus</H3>
<PRE>
public final void <B>setFocus</B>()</PRE>
<DL>
<DD><p>Gives the keyboard input focus to this widget (or its focus proxy) if this widget or one of its parents is the <a href="QWidget.html#isActiveWindow()">active window</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#hasFocus()"><tt>hasFocus</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocus(com.trolltech.qt.core.Qt.FocusReason)"><!-- --></A><H3>
setFocus</H3>
<PRE>
public final void <B>setFocus</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core">Qt.FocusReason</A>&nbsp;reason)</PRE>
<DL>
<DD><p>Gives the keyboard input focus to this widget (or its focus proxy) if this widget or one of its parents is the <a href="QWidget.html#isActiveWindow()">active window</tt></a>. The <tt>reason</tt> argument will be passed into any focus event sent from this function, it is used to give an explanation of what caused the widget to get focus.</p>
<p>First, a focus out event is sent to the focus widget (if any) to tell it that it is about to lose the focus. Then a focus in event is sent to this widget to tell it that it just received the focus. (Nothing happens if the focus in and focus out widgets are the same.)</p>
<p><a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> gives focus to a widget regardless of its focus policy, but does not clear any keyboard grab (see <a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a>).</p>
<p>Be aware that if the widget is hidden, it will not accept focus until it is shown.</p>
<p><b>Warning:</b> If you call <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> in a function which may itself be called from <a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a> or <a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, you may get an infinite recursion.</p>
<p><a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a> QApplication::focusWidget() <a href="QWidget.html#grabKeyboard()"><tt>grabKeyboard</tt></a> <a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, {Keyboard Focus}</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#hasFocus()"><tt>hasFocus</tt></a>, 
<a href="QWidget.html#clearFocus()"><tt>clearFocus</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><!-- --></A><H3>
setFocusPolicy</H3>
<PRE>
public final void <B>setFocusPolicy</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusPolicy.html" title="enum in com.trolltech.qt.core">Qt.FocusPolicy</A>&nbsp;policy)</PRE>
<DL>
<DD><p>Sets the way the widget accepts keyboard focus to <tt>policy</tt>.</p>
<p>The policy is Qt::TabFocus if the widget accepts keyboard focus by tabbing, Qt::ClickFocus if the widget accepts focus by clicking, Qt::StrongFocus if it accepts both, and Qt::NoFocus (the default) if it does not accept focus at all.</p>
<p>You must enable keyboard focus for a widget if it processes keyboard events. This is normally done from the widget's constructor. For instance, the <a href="QLineEdit.html"><tt>QLineEdit</tt></a> constructor calls <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>(Qt::StrongFocus).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusPolicy()"><tt>focusPolicy</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<CODE>enabled</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setFocusProxy(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setFocusProxy</H3>
<PRE>
public final void <B>setFocusProxy</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's focus proxy to widget <tt>arg__1</tt>. If <tt>arg__1</tt> is 0, the function resets this widget to have no focus proxy.</p>
<p>Some widgets can &quot;have focus&quot;, but create a child widget, such as <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, to actually handle the focus. In this case, the widget can set the line edit to be its focus proxy.</p>
<p><a href="QWidget.html#setFocusProxy(com.trolltech.qt.gui.QWidget)"><tt>setFocusProxy</tt></a> sets the widget which will actually get focus when &quot;this widget&quot; gets it. If there is a focus proxy, <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> and <a href="QWidget.html#hasFocus()"><tt>hasFocus</tt></a> operate on the focus proxy.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusProxy()"><tt>focusProxy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
setFont</H3>
<PRE>
public final void <B>setFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the font currently set for the widget to <tt>arg__1</tt>.</p>
<p>The <a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a> function reports the actual font that is being used by the widget.</p>
<p>As long as no special font has been set, or after <a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>(<a href="%2E%2E/porting4.html#qfont"><tt>QFont</tt></a>) is called, this is either a special font for the widget class, the parent's font or (if this widget is a top level widget), the default application font.</p>
<p>This code fragment sets a 12 point helvetica bold font:</p>
<pre>    QFont font(&quot;Helvetica&quot;, 12, QFont::Bold);
    setFont(font);</pre>
<p>Note that when a child widget is given a different font to that of its parent widget, it will still inherit the parent's font <i>properties</i> unless these have been set explicitly on the child's font. For example, if the parent's font is bold, the child widget's font will be bold as well if not specified otherwise like this:</p>
<pre>    QFont font;
    font.setBold(false);
    setFont(font);</pre>
<p>In addition to setting the font, <a href="QWidget.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a> informs all children about the change.</p>
<p><b>Warning:</b> Do not use this function in conjunction with <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. The font of a widget can be customized using the &quot;font&quot; style sheet property.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#fontInfo()"><tt>fontInfo</tt></a>, 
<a href="QWidget.html#fontMetrics()"><tt>fontMetrics</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setForegroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><!-- --></A><H3>
setForegroundRole</H3>
<PRE>
public final void <B>setForegroundRole</B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the foreground role of the widget to <tt>arg__1</tt>.</p>
<p>The foreground role defines the color from the widget's <a href="QWidget.html#palette()">palette</tt></a> that is used to draw the foreground.</p>
<p>If <tt>arg__1</tt> is QPalette::NoRole, the widget uses a foreground role that contrasts with the background role.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#foregroundRole()"><tt>foregroundRole</tt></a>, 
<a href="QWidget.html#backgroundRole()"><tt>backgroundRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGeometry(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
setGeometry</H3>
<PRE>
public final void <B>setGeometry</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the geometry of the widget relative to its parent and excluding the window frame to <tt>arg__1</tt>.</p>
<p>When changing the geometry, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) and/or a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive appropriate events before it is shown.</p>
<p>The size component is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> or <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#geometry()"><tt>geometry</tt></a>, 
<a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#rect()"><tt>rect</tt></a>, 
<a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a>, 
<a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, 
<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGeometry(int, int, int, int)"><!-- --></A><H3>
setGeometry</H3>
<PRE>
public final void <B>setGeometry</B>(int&nbsp;x,
                              int&nbsp;y,
                              int&nbsp;w,
                              int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the geometry of the widget relative to its parent and excluding the window frame.</p>
<p>When changing the geometry, the widget, if visible, receives a move event (<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>) and/or a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive appropriate events before it is shown.</p>
<p>The size component is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> or <a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a> can lead to infinite recursion.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#rect()"><tt>rect</tt></a>, 
<a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a>, 
<a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, 
<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHidden(boolean)"><!-- --></A><H3>
setHidden</H3>
<PRE>
public final void <B>setHidden</B>(boolean&nbsp;hidden)</PRE>
<DL>
<DD><p>Convenience function, equivalent to <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(!<tt>hidden</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isHidden()"><tt>isHidden</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setInputContext(com.trolltech.qt.gui.QInputContext)"><!-- --></A><H3>
setInputContext</H3>
<PRE>
public final void <B>setInputContext</B>(<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function sets the input context <tt>arg__1</tt> on this widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#inputContext()"><tt>inputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setLayout(com.trolltech.qt.gui.QLayout)"><!-- --></A><H3>
setLayout</H3>
<PRE>
public final void <B>setLayout</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the layout manager for this widget to <tt>arg__1</tt>.</p>
<p>If there already is a layout manager installed on this widget, <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> won't let you install another. You must first delete the existing layout manager (returned by <a href="QWidget.html#layout()"><tt>layout</tt></a>) before you can call <a href="QWidget.html#setLayout(com.trolltech.qt.gui.QLayout)"><tt>setLayout</tt></a> with the new layout.</p>
<p>Example:</p>
<pre>        QVBoxLayout *layout = new QVBoxLayout;
        layout-&gt;addWidget(lcd);
        layout-&gt;addWidget(slider);
        setLayout(layout);</pre>
<p>An alternative to calling this function is to pass this widget to the layout's constructor.</p>
<p>The <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> will take ownership of <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#layout()"><tt>layout</tt></a>, 
<a href="%2E%2E/layout.html">Layout Classes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><!-- --></A><H3>
setLayoutDirection</H3>
<PRE>
public final void <B>setLayoutDirection</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</PRE>
<DL>
<DD><p>Sets the layout direction for this widget to <tt>direction</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::layoutDirection</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setLocale(com.trolltech.qt.core.QLocale)"><!-- --></A><H3>
setLocale</H3>
<PRE>
public final void <B>setLocale</B>(<A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A>&nbsp;locale)</PRE>
<DL>
<DD><p>Sets the widget's locale to <tt>locale</tt>.</p>
<p>As long as no special locale has been set, this is either the parent's locale or (if this widget is a top level widget), the default locale.</p>
<p>If the widget displays dates or numbers, these should be formatted using the widget's locale.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#locale()"><tt>locale</tt></a>, 
<a href="%2E%2E/core/QLocale.html"><tt>QLocale</tt></a>, 
<tt>QLocale::setDefault</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setMask(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
setMask</H3>
<PRE>
public final void <B>setMask</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Causes only the parts of the widget which overlap <tt>arg__1</tt> to be visible. If the region includes pixels outside the <a href="QWidget.html#rect()"><tt>rect</tt></a> of the widget, window system controls in that area may or may not be visible, depending on the platform.</p>
<p>Note that this effect can be slow if the region is particularly complex.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mask()"><tt>mask</tt></a>, 
<a href="QWidget.html#windowOpacity()"><tt>windowOpacity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMask(com.trolltech.qt.gui.QBitmap)"><!-- --></A><H3>
setMask</H3>
<PRE>
public final void <B>setMask</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Causes only the pixels of the widget for which <tt>arg__1</tt> has a corresponding 1 bit to be visible. If the region includes pixels outside the <a href="QWidget.html#rect()"><tt>rect</tt></a> of the widget, window system controls in that area may or may not be visible, depending on the platform.</p>
<p>Note that this effect can be slow if the region is particularly complex.</p>
<p>The following code shows how an image with an alpha channel can be used to generate a mask for a widget:</p>
<pre>        QLabel topLevelLabel;
        QPixmap pixmap(&quot;:/images/tux.png&quot;);
        topLevelLabel.setPixmap(pixmap);
        topLevelLabel.setMask(pixmap.mask());</pre>
<p>The label shown by this code is masked using the image it contains, giving the appearance that an irregularly-shaped image is being drawn directly onto the screen.</p>
<p>Masked widgets receive mouse events only on their visible portions.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#clearMask()"><tt>clearMask</tt></a>, 
<a href="QWidget.html#windowOpacity()"><tt>windowOpacity</tt></a>, 
<a href="%2E%2E/qtjambi-shapedclock.html">Shaped Clock Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMaximumHeight(int)"><!-- --></A><H3>
setMaximumHeight</H3>
<PRE>
public final void <B>setMaximumHeight</B>(int&nbsp;maxh)</PRE>
<DL>
<DD><p>Sets the widget's maximum height to <tt>maxh</tt>.</p>
<p>This property corresponds to <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a>. It is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed height is 16777215.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMaximumSize(int, int)"><!-- --></A><H3>
setMaximumSize</H3>
<PRE>
public final void <B>setMaximumSize</B>(int&nbsp;maxw,
                                 int&nbsp;maxh)</PRE>
<DL>
<DD><p>Sets the widget's maximum size.</p>
<p>The widget cannot be resized to a larger size than the maximum widget size.</p>
<p>The property is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed size is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(16777215, 16777215).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a>, 
<a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMaximumSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setMaximumSize</H3>
<PRE>
public final void <B>setMaximumSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's maximum size to <tt>arg__1</tt>.</p>
<p>The widget cannot be resized to a larger size than the maximum widget size.</p>
<p>The property is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed size is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(16777215, 16777215).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a>, 
<a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMaximumWidth(int)"><!-- --></A><H3>
setMaximumWidth</H3>
<PRE>
public final void <B>setMaximumWidth</B>(int&nbsp;maxw)</PRE>
<DL>
<DD><p>Sets the widget's maximum width to <tt>maxw</tt>.</p>
<p>This property corresponds to <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a>. It is limited by the QWIDGETSIZE_MAX macro, i.e&#x2e; the largest allowed width is 16777215.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#maximumWidth()"><tt>maximumWidth</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#maximumHeight()"><tt>maximumHeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMinimumHeight(int)"><!-- --></A><H3>
setMinimumHeight</H3>
<PRE>
public final void <B>setMinimumHeight</B>(int&nbsp;minh)</PRE>
<DL>
<DD><p>Sets the widget's minimum height to <tt>minh</tt>.</p>
<p>This property corresponds to <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMinimumSize(int, int)"><!-- --></A><H3>
setMinimumSize</H3>
<PRE>
public final void <B>setMinimumSize</B>(int&nbsp;minw,
                                 int&nbsp;minh)</PRE>
<DL>
<DD><p>Sets the widget's minimum size.</p>
<p>The widget cannot be resized to a smaller size than the minimum widget size. The widget's size is forced to the minimum size if the current size is smaller.</p>
<p>The minimum size set by this function will override the minimum size defined by <a href="QLayout.html"><tt>QLayout</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a>, 
<a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMinimumSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setMinimumSize</H3>
<PRE>
public final void <B>setMinimumSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's minimum size to <tt>arg__1</tt>.</p>
<p>The widget cannot be resized to a smaller size than the minimum widget size. The widget's size is forced to the minimum size if the current size is smaller.</p>
<p>The minimum size set by this function will override the minimum size defined by <a href="QLayout.html"><tt>QLayout</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a>, 
<a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMinimumWidth(int)"><!-- --></A><H3>
setMinimumWidth</H3>
<PRE>
public final void <B>setMinimumWidth</B>(int&nbsp;minw)</PRE>
<DL>
<DD><p>Sets the widget's minimum width to <tt>minw</tt>.</p>
<p>This property corresponds to <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#minimumWidth()"><tt>minimumWidth</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#minimumHeight()"><tt>minimumHeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMouseTracking(boolean)"><!-- --></A><H3>
setMouseTracking</H3>
<PRE>
public final void <B>setMouseTracking</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Sets whether mouse tracking is enabled for the widget to <tt>enable</tt>.</p>
<p>If mouse tracking is disabled (the default), the widget only receives mouse move events when at least one mouse button is pressed while the mouse is being moved.</p>
<p>If mouse tracking is enabled, the widget receives mouse move events even if no buttons are pressed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#hasMouseTracking()"><tt>hasMouseTracking</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPalette(com.trolltech.qt.gui.QPalette)"><!-- --></A><H3>
setPalette</H3>
<PRE>
public final void <B>setPalette</B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's palette to <tt>arg__1</tt>.</p>
<p>As long as no special palette has been set, this is either a special palette for the widget class, the parent's palette or (if this widget is a top level widget), the default application palette.</p>
<p><b>Note:</b> The palette's background color will only have an effect on the appearance of the widget if the <a href="QWidget.html#autoFillBackground()"><tt>autoFillBackground</tt></a> property is set.</p>
<p><b>Warning:</b> Do not use this function in conjunction with <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a>. When using style sheets, the palette of a widget can be customized using the &quot;color&quot;, &quot;background-color&quot;, &quot;selection-color&quot;, &quot;selection-background-color&quot; and &quot;alternate-background-color&quot;.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::palette</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setParent(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setParent</H3>
<PRE>
public final void <B>setParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Sets the parent of the widget to <tt>parent</tt>, and resets the window flags. The widget is moved to position (0, 0) in its new parent.</p>
<p>If the new parent widget is in a different window, the reparented widget and its children are appended to the end of the <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)">tab chain</tt></a> of the new parent widget, in the same internal order as before. If one of the moved widgets had keyboard focus, <a href="QWidget.html#setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>setParent</tt></a> calls <a href="QWidget.html#clearFocus()"><tt>clearFocus</tt></a> for that widget.</p>
<p>If the new parent widget is in the same window as the old parent, setting the parent doesn't change the tab order or keyboard focus.</p>
<p>If the &quot;new&quot; parent widget is the old parent widget, this function does nothing.</p>
<p><b>Warning:</b> It is very unlikely that you will ever need this function. If you have a widget that changes its content dynamically, it is far easier to use <a href="QStackedWidget.html"><tt>QStackedWidget</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><tt>setWindowFlags</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowType...)"><!-- --></A><H3>
setParent</H3>
<PRE>
public final void <B>setParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;f)</PRE>
<DL>
<DD><p>This function also takes widget flags, <tt>f</tt> as an argument.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setParent(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><!-- --></A><H3>
setParent</H3>
<PRE>
public final void <B>setParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;f)</PRE>
<DL>
<DD><p>This function also takes widget flags, <tt>f</tt> as an argument.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setShortcutAutoRepeat(int)"><!-- --></A><H3>
setShortcutAutoRepeat</H3>
<PRE>
public final void <B>setShortcutAutoRepeat</B>(int&nbsp;id)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#setShortcutAutoRepeat(int, boolean)"><tt>setShortcutAutoRepeat</tt></a>(<tt>id</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setShortcutAutoRepeat(int, boolean)"><!-- --></A><H3>
setShortcutAutoRepeat</H3>
<PRE>
public final void <B>setShortcutAutoRepeat</B>(int&nbsp;id,
                                        boolean&nbsp;enable)</PRE>
<DL>
<DD><p>If <tt>enable</tt> is true, auto repeat of the shortcut with the given <tt>id</tt> is enabled; otherwise it is disabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><tt>grabShortcut</tt></a>, 
<a href="QWidget.html#releaseShortcut(int)"><tt>releaseShortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setShortcutEnabled(int)"><!-- --></A><H3>
setShortcutEnabled</H3>
<PRE>
public final void <B>setShortcutEnabled</B>(int&nbsp;id)</PRE>
<DL>
<DD><p>Equivalent to <a href="QWidget.html#setShortcutEnabled(int, boolean)"><tt>setShortcutEnabled</tt></a>(<tt>id</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setShortcutEnabled(int, boolean)"><!-- --></A><H3>
setShortcutEnabled</H3>
<PRE>
public final void <B>setShortcutEnabled</B>(int&nbsp;id,
                                     boolean&nbsp;enable)</PRE>
<DL>
<DD><p>If <tt>enable</tt> is true, the shortcut with the given <tt>id</tt> is enabled; otherwise the shortcut is disabled.</p>
<p><b>Warning:</b> You should not normally need to use this function since Qt's shortcut system enables/disables shortcuts automatically as widgets become hidden/visible and gain or lose focus. It is best to use <a href="QAction.html"><tt>QAction</tt></a> or <a href="QShortcut.html"><tt>QShortcut</tt></a> to handle shortcuts, since they are easier to use than this low-level function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabShortcut(com.trolltech.qt.gui.QKeySequence, com.trolltech.qt.core.Qt.ShortcutContext)"><tt>grabShortcut</tt></a>, 
<a href="QWidget.html#releaseShortcut(int)"><tt>releaseShortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSizeIncrement(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setSizeIncrement</H3>
<PRE>
public final void <B>setSizeIncrement</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the size increment of the widget to <tt>arg__1</tt>.</p>
<p>When the user resizes the window, the size will move in steps of <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a> pixels horizontally and <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a> pixels vertically, with <a href="QWidget.html#baseSize()"><tt>baseSize</tt></a> as the basis. Preferred widget sizes are for non-negative integers <i>i</i> and <i>j</i>:</p>
<pre>    width = baseSize().width() + i * sizeIncrement().width();
    height = baseSize().height() + j * sizeIncrement().height();</pre>
<p>Note that while you can set the size increment for all widgets, it only affects windows.</p>
<p><b>Warning:</b> The size increment has no effect under Windows, and may be disregarded by the window manager on X.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>, 
<a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSizeIncrement(int, int)"><!-- --></A><H3>
setSizeIncrement</H3>
<PRE>
public final void <B>setSizeIncrement</B>(int&nbsp;w,
                                   int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the size increment of the widget.</p>
<p>When the user resizes the window, the size will move in steps of <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a> pixels horizontally and <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a> pixels vertically, with <a href="QWidget.html#baseSize()"><tt>baseSize</tt></a> as the basis. Preferred widget sizes are for non-negative integers <i>i</i> and <i>j</i>:</p>
<pre>    width = baseSize().width() + i * sizeIncrement().width();
    height = baseSize().height() + j * sizeIncrement().height();</pre>
<p>Note that while you can set the size increment for all widgets, it only affects windows.</p>
<p><b>Warning:</b> The size increment has no effect under Windows, and may be disregarded by the window manager on X.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><!-- --></A><H3>
setSizePolicy</H3>
<PRE>
public final void <B>setSizePolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
                                <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical)</PRE>
<DL>
<DD><p>Sets the default layout behavior of the widget.</p>
<p>If there is a <a href="QLayout.html"><tt>QLayout</tt></a> that manages this widget's children, the size policy specified by that layout is used. If there is no such <a href="QLayout.html"><tt>QLayout</tt></a>, the result of this function is used.</p>
<p>The default policy is Preferred/Preferred, which means that the widget can be freely resized, but prefers to be the size <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> returns. Button-like widgets set the size policy to specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, <a href="QSpinBox.html"><tt>QSpinBox</tt></a> or an editable <a href="QComboBox.html"><tt>QComboBox</tt></a>) and other horizontally orientated widgets (such as <a href="QProgressBar.html"><tt>QProgressBar</tt></a>). <a href="QToolButton.html"><tt>QToolButton</tt></a>'s are normally square, so they allow growth in both directions. Widgets that support different directions (such as <a href="QSlider.html"><tt>QSlider</tt></a>, <a href="QScrollBar.html"><tt>QScrollBar</tt></a> or <a href="%2E%2E/porting4.html#qheader"><tt>QHeader</tt></a>) specify stretching in the respective direction only. Widgets that can provide scroll bars (usually subclasses of <a href="QScrollArea.html"><tt>QScrollArea</tt></a>) tend to specify that they can use additional space, and that they can make do with less than <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QLayout.html"><tt>QLayout</tt></a>, 
<a href="QSizePolicy.html"><tt>QSizePolicy</tt></a>, 
<a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSizePolicy(com.trolltech.qt.gui.QSizePolicy)"><!-- --></A><H3>
setSizePolicy</H3>
<PRE>
public final void <B>setSizePolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the default layout behavior of the widget to <tt>arg__1</tt>.</p>
<p>If there is a <a href="QLayout.html"><tt>QLayout</tt></a> that manages this widget's children, the size policy specified by that layout is used. If there is no such <a href="QLayout.html"><tt>QLayout</tt></a>, the result of this function is used.</p>
<p>The default policy is Preferred/Preferred, which means that the widget can be freely resized, but prefers to be the size <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> returns. Button-like widgets set the size policy to specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, <a href="QSpinBox.html"><tt>QSpinBox</tt></a> or an editable <a href="QComboBox.html"><tt>QComboBox</tt></a>) and other horizontally orientated widgets (such as <a href="QProgressBar.html"><tt>QProgressBar</tt></a>). <a href="QToolButton.html"><tt>QToolButton</tt></a>'s are normally square, so they allow growth in both directions. Widgets that support different directions (such as <a href="QSlider.html"><tt>QSlider</tt></a>, <a href="QScrollBar.html"><tt>QScrollBar</tt></a> or <a href="%2E%2E/porting4.html#qheader"><tt>QHeader</tt></a>) specify stretching in the respective direction only. Widgets that can provide scroll bars (usually subclasses of <a href="QScrollArea.html"><tt>QScrollArea</tt></a>) tend to specify that they can use additional space, and that they can make do with less than <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a>, 
<a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QLayout.html"><tt>QLayout</tt></a>, 
<a href="QSizePolicy.html"><tt>QSizePolicy</tt></a>, 
<a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStatusTip(java.lang.String)"><!-- --></A><H3>
setStatusTip</H3>
<PRE>
public final void <B>setStatusTip</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's status tip to <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#statusTip()"><tt>statusTip</tt></a>, 
<a href="QWidget.html#toolTip()"><tt>toolTip</tt></a>, 
<a href="QWidget.html#whatsThis()"><tt>whatsThis</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyle(com.trolltech.qt.gui.QStyle)"><!-- --></A><H3>
setStyle</H3>
<PRE>
public final void <B>setStyle</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's GUI style to <tt>arg__1</tt>. The ownership of the style object is not transferred.</p>
<p>If no style is set, the widget uses the application's style, QApplication::style() instead.</p>
<p>Setting a widget's style has no effect on existing or future child widgets.</p>
<p><b>Warning:</b> This function is particularly useful for demonstration purposes, where you want to show Qt's styling capabilities. Real applications should avoid it and use one consistent GUI style instead.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#style()"><tt>style</tt></a>, 
<a href="QStyle.html"><tt>QStyle</tt></a>, 
<tt>QApplication::style</tt>, 
<tt>QApplication::setStyle</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setStyleSheet(java.lang.String)"><!-- --></A><H3>
setStyleSheet</H3>
<PRE>
public final void <B>setStyleSheet</B>(java.lang.String&nbsp;styleSheet)</PRE>
<DL>
<DD><p>Sets the widget's style sheet to <tt>styleSheet</tt>.</p>
<p>The style sheet contains a textual description of customizations to the widget's style, as described in the <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a> document.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setStyle(com.trolltech.qt.gui.QStyle)"><tt>setStyle</tt></a>, 
<tt>QApplication::styleSheet</tt>, 
<a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setToolTip(java.lang.String)"><!-- --></A><H3>
setToolTip</H3>
<PRE>
public final void <B>setToolTip</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's tooltip to <tt>arg__1</tt>.</p>
<p>Note that by default tooltips are only shown for widgets that are children of the active window. You can change this behavior by setting the attribute Qt::WA_AlwaysShowToolTips on the <i>window</i>, not on the widget with the tooltip.</p>
<p>If you want to control a tooltip's behavior, you can intercept the <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> function and catch the QEvent::ToolTip event (e.g&#x2e;, if you want to customize the area for which the tooltip should be shown).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#toolTip()"><tt>toolTip</tt></a>, 
<a href="QToolTip.html"><tt>QToolTip</tt></a>, 
<a href="QWidget.html#statusTip()"><tt>statusTip</tt></a>, 
<a href="QWidget.html#whatsThis()"><tt>whatsThis</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUpdatesEnabled(boolean)"><!-- --></A><H3>
setUpdatesEnabled</H3>
<PRE>
public final void <B>setUpdatesEnabled</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Sets whether updates are enabled to <tt>enable</tt>.</p>
<p>An updates enabled widget receives paint events and has a system background; a disabled widget does not. This also implies that calling <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> and <a href="QWidget.html#repaint()"><tt>repaint</tt></a> has no effect if updates are disabled.</p>
<p><a href="QWidget.html#setUpdatesEnabled(boolean)"><tt>setUpdatesEnabled</tt></a> is normally used to disable updates for a short period of time, for instance to avoid screen flicker during large changes. In Qt, widgets normally do not generate screen flicker, but on X11 the server might erase regions on the screen when widgets get hidden before they can be replaced by other widgets. Disabling updates solves this.</p>
<p>Example:</p>
<pre>    setUpdatesEnabled(false);
    bigVisualChanges();
    setUpdatesEnabled(true);</pre>
<p>Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled. Re-enabling updates implicitly calls <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> on the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#updatesEnabled()"><tt>updatesEnabled</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWhatsThis(java.lang.String)"><!-- --></A><H3>
setWhatsThis</H3>
<PRE>
public final void <B>setWhatsThis</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's What's This help text. to <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#whatsThis()"><tt>whatsThis</tt></a>, 
<a href="QWhatsThis.html"><tt>QWhatsThis</tt></a>, 
<tt>QWidget::toolTip</tt>, 
<tt>QWidget::statusTip</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowFlags(com.trolltech.qt.core.Qt.WindowType...)"><!-- --></A><H3>
setWindowFlags</H3>
<PRE>
public final void <B>setWindowFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A>...&nbsp;type)</PRE>
<DL>
<DD><p>Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</p>
<p>If the widget had type Qt::Widget or Qt::SubWindow and becomes a window (<a href="%2E%2E/winsystem.html#qt-windows">Qt::Window</tt></a>, Qt::Dialog, etc.), it is put at position (0, 0) on the desktop. If the widget is a window and becomes a Qt::Widget or Qt::SubWindow, it is put at position (0, 0) relative to its parent widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowFlags()"><tt>windowFlags</tt></a>, 
<a href="QWidget.html#windowType()"><tt>windowType</tt></a>, 
<CODE>Flags Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><!-- --></A><H3>
setWindowFlags</H3>
<PRE>
public final void <B>setWindowFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>&nbsp;type)</PRE>
<DL>
<DD><p>Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</p>
<p>If the widget had type Qt::Widget or Qt::SubWindow and becomes a window (<a href="%2E%2E/winsystem.html#qt-windows">Qt::Window</tt></a>, Qt::Dialog, etc.), it is put at position (0, 0) on the desktop. If the widget is a window and becomes a Qt::Widget or Qt::SubWindow, it is put at position (0, 0) relative to its parent widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowFlags()"><tt>windowFlags</tt></a>, 
<a href="QWidget.html#windowType()"><tt>windowType</tt></a>, 
<CODE>Flags Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowIcon(com.trolltech.qt.gui.QIcon)"><!-- --></A><H3>
setWindowIcon</H3>
<PRE>
public final void <B>setWindowIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon)</PRE>
<DL>
<DD><p>Sets the widget's icon to <tt>icon</tt>.</p>
<p>This property only makes sense for windows. If no icon has been set, <a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a> returns the application icon (QApplication::windowIcon()).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowIconText(java.lang.String)"><!-- --></A><H3>
setWindowIconText</H3>
<PRE>
public final void <B>setWindowIconText</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the widget's icon text to <tt>arg__1</tt>.</p>
<p>This property only makes sense for windows. If no icon text has been set, this functions returns an empty string.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, 
<a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowModality(com.trolltech.qt.core.Qt.WindowModality)"><!-- --></A><H3>
setWindowModality</H3>
<PRE>
public final void <B>setWindowModality</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowModality.html" title="enum in com.trolltech.qt.core">Qt.WindowModality</A>&nbsp;windowModality)</PRE>
<DL>
<DD><p>Sets which windows are blocked by the modal widget to <tt>windowModality</tt>.</p>
<p>This property only makes sense for windows. A modal widget prevents widgets in other windows from getting input. The value of this property controls which windows are blocked when the widget is visible. Changing this property while the window is visible has no effect; you must <a href="QWidget.html#hide()"><tt>hide</tt></a> the widget first, then <a href="QWidget.html#show()"><tt>show</tt></a> it again.</p>
<p>By default, this property is Qt::NonModal.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowModality()"><tt>windowModality</tt></a>, 
<a href="QWidget.html#isWindow()"><tt>isWindow</tt></a>, 
<tt>QWidget::modal</tt>, 
<a href="QDialog.html"><tt>QDialog</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowModified(boolean)"><!-- --></A><H3>
setWindowModified</H3>
<PRE>
public final void <B>setWindowModified</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the document shown in the window has unsaved changes to <tt>arg__1</tt>.</p>
<p>A modified window is a window whose content has changed but has not been saved to disk. This flag will have different effects varied by the platform. On Mac OS X the close button will have a modified look; on other platforms, the window title will have an '*' (asterisk).</p>
<p>The window title must contain a &quot;[*]&quot; placeholder, which indicates where the '*' should appear. Normally, it should appear right after the file name (e.g&#x2e;, &quot;document1.txt[*] - Text Editor&quot;). If the window isn't modified, the placeholder is simply removed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isWindowModified()"><tt>isWindowModified</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a>, 
<a href="%2E%2E/qtjambi-application.html">Application Example</tt></a>, 
<CODE>Example</tt></CODE>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowOpacity(double)"><!-- --></A><H3>
setWindowOpacity</H3>
<PRE>
public final void <B>setWindowOpacity</B>(double&nbsp;level)</PRE>
<DL>
<DD><p>Sets The level of opacity for the window. to <tt>level</tt>.</p>
<p>The valid range of opacity is from 1.0 (completely opaque) to 0.0 (completely transparent).</p>
<p>By default the value of this property is 1.0&#x2e;</p>
<p>This feature is available on Mac OS X, X11 platforms that support the Composite extension, and Windows 2000 and later.</p>
<p>Note that under X11 you need to have a composite manager running, and the X11 specific _NET_WM_WINDOW_OPACITY atom needs to be supported by the window manager you are using.</p>
<p><b>Warning:</b> Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of QPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantly slower than opaque windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowOpacity()"><tt>windowOpacity</tt></a>, 
<a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowRole(java.lang.String)"><!-- --></A><H3>
setWindowRole</H3>
<PRE>
public final void <B>setWindowRole</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the window's role to <tt>arg__1</tt>. This only makes sense for windows on X11.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowRole()"><tt>windowRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowState(com.trolltech.qt.core.Qt.WindowState...)"><!-- --></A><H3>
setWindowState</H3>
<PRE>
public final void <B>setWindowState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowState.html" title="enum in com.trolltech.qt.core">Qt.WindowState</A>...&nbsp;state)</PRE>
<DL>
<DD><p>Sets the window state to <tt>state</tt>. The window state is a OR'ed combination of Qt::WindowState: Qt::WindowMinimized, Qt::WindowMaximized, Qt::WindowFullScreen, and Qt::WindowActive.</p>
<p>If the window is not visible (i.e&#x2e; <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a> returns false), the window state will take effect when <a href="QWidget.html#show()"><tt>show</tt></a> is called. For visible windows, the change is immediate. For example, to toggle between full-screen and mormal mode, use the following code:</p>
<pre>    w-&gt;setWindowState(w-&gt;windowState() ^ Qt::WindowFullScreen);</pre>
<p>In order to restore and activate a minimized window (while preserving its maximized and/or full-screen state), use the following:</p>
<pre>    w-&gt;setWindowState(w-&gt;windowState() &amp; ~Qt::WindowMinimized | Qt::WindowActive);</pre>
<p>Note: On some window systems Qt::WindowActive is not immediate, and may be ignored in certain cases.</p>
<p>When the window state changes, the widget receives a <a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a> of type QEvent::WindowStateChange.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WindowState</tt>, 
<a href="QWidget.html#windowState()"><tt>windowState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowState(com.trolltech.qt.core.Qt.WindowStates)"><!-- --></A><H3>
setWindowState</H3>
<PRE>
public final void <B>setWindowState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A>&nbsp;state)</PRE>
<DL>
<DD><p>Sets the window state to <tt>state</tt>. The window state is a OR'ed combination of Qt::WindowState: Qt::WindowMinimized, Qt::WindowMaximized, Qt::WindowFullScreen, and Qt::WindowActive.</p>
<p>If the window is not visible (i.e&#x2e; <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a> returns false), the window state will take effect when <a href="QWidget.html#show()"><tt>show</tt></a> is called. For visible windows, the change is immediate. For example, to toggle between full-screen and mormal mode, use the following code:</p>
<pre>    w-&gt;setWindowState(w-&gt;windowState() ^ Qt::WindowFullScreen);</pre>
<p>In order to restore and activate a minimized window (while preserving its maximized and/or full-screen state), use the following:</p>
<pre>    w-&gt;setWindowState(w-&gt;windowState() &amp; ~Qt::WindowMinimized | Qt::WindowActive);</pre>
<p>Note: On some window systems Qt::WindowActive is not immediate, and may be ignored in certain cases.</p>
<p>When the window state changes, the widget receives a <a href="QWidget.html#changeEvent(com.trolltech.qt.core.QEvent)"><tt>changeEvent</tt></a> of type QEvent::WindowStateChange.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WindowState</tt>, 
<a href="QWidget.html#windowState()"><tt>windowState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowTitle(java.lang.String)"><!-- --></A><H3>
setWindowTitle</H3>
<PRE>
public final void <B>setWindowTitle</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the window title (caption) to <tt>arg__1</tt>.</p>
<p>This property only makes sense for windows. If no caption has been set, the title is an empty string.</p>
<p>If you use the <tt>windowModified</tt> mechanism, the window title must contain a &quot;[*]&quot; placeholder, which indicates where the '*' should appear. Normally, it should appear right after the file name (e.g&#x2e;, &quot;document1.txt[*] - Text Editor&quot;). If the <tt>windowModified</tt> property is false (the default), the placeholder is simply removed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a>, 
<a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, 
<a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, 
<tt>windowModified</tt></DL>
</DD>
</DL>
<HR>

<A NAME="show()"><!-- --></A><H3>
show</H3>
<PRE>
public final void <B>show</B>()</PRE>
<DL>
<DD><p>Shows the widget and its child widgets. This function is equivalent to <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(true).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>, 
<a href="QWidget.html#showMinimized()"><tt>showMinimized</tt></a>, 
<a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, 
<a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showFullScreen()"><!-- --></A><H3>
showFullScreen</H3>
<PRE>
public final void <B>showFullScreen</B>()</PRE>
<DL>
<DD><p>Shows the widget in full-screen mode.</p>
<p>Calling this function only affects <a href="QWidget.html#isWindow()">windows</tt></a>.</p>
<p>To return from full-screen mode, call <a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>.</p>
<p>Full-screen mode works fine under Windows, but has certain problems under X. These problems are due to limitations of the ICCCM protocol that specifies the communication between X11 clients and the window manager. ICCCM simply does not understand the concept of non-decorated full-screen windows. Therefore, the best we can do is to request a borderless window and place and resize it to fill the entire screen. Depending on the window manager, this may or may not work. The borderless window is requested using MOTIF hints, which are at least partially supported by virtually all modern window managers.</p>
<p>An alternative would be to bypass the window manager entirely and create a window with the Qt::X11BypassWindowManagerHint flag. This has other severe problems though, like totally broken keyboard focus and very strange effects on desktop changes or when the user raises other windows.</p>
<p>X11 window managers that follow modern post-ICCCM specifications support full-screen mode properly.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showMaximized()"><!-- --></A><H3>
showMaximized</H3>
<PRE>
public final void <B>showMaximized</B>()</PRE>
<DL>
<DD><p>Shows the widget maximized.</p>
<p>Calling this function only affects <a href="QWidget.html#isWindow()">windows</tt></a>.</p>
<p>On X11, this function may not work properly with certain window managers. See <a href="%2E%2E/geometry.html">Window Geometry</tt></a> for an explanation.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowState(com.trolltech.qt.core.Qt.WindowStates)"><tt>setWindowState</tt></a>, 
<a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<a href="QWidget.html#showMinimized()"><tt>showMinimized</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showMinimized()"><!-- --></A><H3>
showMinimized</H3>
<PRE>
public final void <B>showMinimized</B>()</PRE>
<DL>
<DD><p>Shows the widget minimized, as an icon.</p>
<p>Calling this function only affects <a href="QWidget.html#isWindow()">windows</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#showNormal()"><tt>showNormal</tt></a>, 
<a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>, 
<a href="QWidget.html#isMinimized()"><tt>isMinimized</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showNormal()"><!-- --></A><H3>
showNormal</H3>
<PRE>
public final void <B>showNormal</B>()</PRE>
<DL>
<DD><p>Restores the widget after it has been maximized or minimized.</p>
<p>Calling this function only affects <a href="QWidget.html#isWindow()">windows</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowState(com.trolltech.qt.core.Qt.WindowStates)"><tt>setWindowState</tt></a>, 
<a href="QWidget.html#showMinimized()"><tt>showMinimized</tt></a>, 
<a href="QWidget.html#showMaximized()"><tt>showMaximized</tt></a>, 
<a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>size</B>()</PRE>
<DL>
<DD><p>Returns the size of the widget excluding any window frame.</p>
<p>If the widget is visible when it is being resized, it receives a resize event (<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>) immediately. If the widget is not currently visible, it is guaranteed to receive an event before it is shown.</p>
<p>The size is adjusted if it lies outside the range defined by <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> and <a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>.</p>
<p><b>Warning:</b> Calling <a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a> or <a href="QWidget.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a> inside <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> can lead to infinite recursion.</p>
<p>Note that setting size to <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(0, 0) will cause the widget to not appear on screen. This also applies to windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#pos()">pos</tt></a>, 
<a href="QWidget.html#geometry()">geometry</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sizeIncrement()"><!-- --></A><H3>
sizeIncrement</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeIncrement</B>()</PRE>
<DL>
<DD><p>Returns the size increment of the widget.</p>
<p>When the user resizes the window, the size will move in steps of <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#width()"><tt>width</tt></a> pixels horizontally and <a href="QWidget.html#sizeIncrement()"><tt>sizeIncrement</tt></a>.<a href="QWidget.html#height()"><tt>height</tt></a> pixels vertically, with <a href="QWidget.html#baseSize()"><tt>baseSize</tt></a> as the basis. Preferred widget sizes are for non-negative integers <i>i</i> and <i>j</i>:</p>
<pre>    width = baseSize().width() + i * sizeIncrement().width();
    height = baseSize().height() + j * sizeIncrement().height();</pre>
<p>Note that while you can set the size increment for all widgets, it only affects windows.</p>
<p><b>Warning:</b> The size increment has no effect under Windows, and may be disregarded by the window manager on X.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setSizeIncrement(com.trolltech.qt.core.QSize)"><tt>setSizeIncrement</tt></a>, 
<a href="QWidget.html#size()">size</tt></a>, 
<a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a>, 
<a href="QWidget.html#maximumSize()"><tt>maximumSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sizePolicy()"><!-- --></A><H3>
sizePolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A> <B>sizePolicy</B>()</PRE>
<DL>
<DD><p>Returns the default layout behavior of the widget.</p>
<p>If there is a <a href="QLayout.html"><tt>QLayout</tt></a> that manages this widget's children, the size policy specified by that layout is used. If there is no such <a href="QLayout.html"><tt>QLayout</tt></a>, the result of this function is used.</p>
<p>The default policy is Preferred/Preferred, which means that the widget can be freely resized, but prefers to be the size <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> returns. Button-like widgets set the size policy to specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, <a href="QSpinBox.html"><tt>QSpinBox</tt></a> or an editable <a href="QComboBox.html"><tt>QComboBox</tt></a>) and other horizontally orientated widgets (such as <a href="QProgressBar.html"><tt>QProgressBar</tt></a>). <a href="QToolButton.html"><tt>QToolButton</tt></a>'s are normally square, so they allow growth in both directions. Widgets that support different directions (such as <a href="QSlider.html"><tt>QSlider</tt></a>, <a href="QScrollBar.html"><tt>QScrollBar</tt></a> or <a href="%2E%2E/porting4.html#qheader"><tt>QHeader</tt></a>) specify stretching in the respective direction only. Widgets that can provide scroll bars (usually subclasses of <a href="QScrollArea.html"><tt>QScrollArea</tt></a>) tend to specify that they can use additional space, and that they can make do with less than <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setSizePolicy(com.trolltech.qt.gui.QSizePolicy)"><tt>setSizePolicy</tt></a>, 
<a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a>, 
<a href="QLayout.html"><tt>QLayout</tt></a>, 
<a href="QSizePolicy.html"><tt>QSizePolicy</tt></a>, 
<a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="stackUnder(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
stackUnder</H3>
<PRE>
public final void <B>stackUnder</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Places the widget under <tt>arg__1</tt> in the parent widget's stack.</p>
<p>To make this work, the widget itself and <tt>arg__1</tt> must be siblings.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#raise()"><tt>raise</tt></a>, 
<a href="QWidget.html#lower()"><tt>lower</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="statusTip()"><!-- --></A><H3>
statusTip</H3>
<PRE>
public final java.lang.String <B>statusTip</B>()</PRE>
<DL>
<DD><p>Returns the widget's status tip.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, 
<a href="QWidget.html#toolTip()"><tt>toolTip</tt></a>, 
<a href="QWidget.html#whatsThis()"><tt>whatsThis</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="style()"><!-- --></A><H3>
style</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A> <B>style</B>()</PRE>
<DL>
<DD>Returns the widget's style object, i.e., the style in which the widget is
drawn.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleSheet()"><!-- --></A><H3>
styleSheet</H3>
<PRE>
public final java.lang.String <B>styleSheet</B>()</PRE>
<DL>
<DD><p>Returns the widget's style sheet.</p>
<p>The style sheet contains a textual description of customizations to the widget's style, as described in the <a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a> document.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setStyleSheet(java.lang.String)"><tt>setStyleSheet</tt></a>, 
<a href="QWidget.html#setStyle(com.trolltech.qt.gui.QStyle)"><tt>setStyle</tt></a>, 
<tt>QApplication::styleSheet</tt>, 
<a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="testAttribute(com.trolltech.qt.core.Qt.WidgetAttribute)"><!-- --></A><H3>
testAttribute</H3>
<PRE>
public final boolean <B>testAttribute</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.WidgetAttribute.html" title="enum in com.trolltech.qt.core">Qt.WidgetAttribute</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns true if attribute <tt>arg__1</tt> is set on this widget; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><tt>setAttribute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toolTip()"><!-- --></A><H3>
toolTip</H3>
<PRE>
public final java.lang.String <B>toolTip</B>()</PRE>
<DL>
<DD><p>Returns the widget's tooltip.</p>
<p>Note that by default tooltips are only shown for widgets that are children of the active window. You can change this behavior by setting the attribute Qt::WA_AlwaysShowToolTips on the <i>window</i>, not on the widget with the tooltip.</p>
<p>If you want to control a tooltip's behavior, you can intercept the <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> function and catch the QEvent::ToolTip event (e.g&#x2e;, if you want to customize the area for which the tooltip should be shown).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QToolTip.html"><tt>QToolTip</tt></a>, 
<a href="QWidget.html#statusTip()"><tt>statusTip</tt></a>, 
<a href="QWidget.html#whatsThis()"><tt>whatsThis</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="underMouse()"><!-- --></A><H3>
underMouse</H3>
<PRE>
public final boolean <B>underMouse</B>()</PRE>
<DL>
<DD><p>Returns true if the widget is under the mouse cursor; otherwise returns false.</p>
<p>This value is not updated properly during drag and drop operations.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)"><tt>enterEvent</tt></a>, 
<a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="unsetCursor()"><!-- --></A><H3>
unsetCursor</H3>
<PRE>
public final void <B>unsetCursor</B>()</PRE>
<DL>
<DD><p>Resets the cursor shape for this widget.</p>
<p>The mouse cursor will assume this shape when it's over this widget. See the list of predefined cursor objects</tt> for a range of useful shapes.</p>
<p>An editor widget might use an I-beam cursor:</p>
<pre>    setCursor(Qt::IBeamCursor);</pre>
<p>If no cursor has been set, or after a call to <a href="QWidget.html#unsetCursor()"><tt>unsetCursor</tt></a>, the parent's cursor is used.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::setOverrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="unsetLayoutDirection()"><!-- --></A><H3>
unsetLayoutDirection</H3>
<PRE>
public final void <B>unsetLayoutDirection</B>()</PRE>
<DL>
<DD><p>Resets the layout direction for this widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::layoutDirection</tt></DL>
</DD>
</DL>
<HR>

<A NAME="unsetLocale()"><!-- --></A><H3>
unsetLocale</H3>
<PRE>
public final void <B>unsetLocale</B>()</PRE>
<DL>
<DD><p>Resets the widget's locale.</p>
<p>As long as no special locale has been set, this is either the parent's locale or (if this widget is a top level widget), the default locale.</p>
<p>If the widget displays dates or numbers, these should be formatted using the widget's locale.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/QLocale.html"><tt>QLocale</tt></a>, 
<tt>QLocale::setDefault</tt></DL>
</DD>
</DL>
<HR>

<A NAME="update(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This version repaints a region <tt>arg__1</tt> inside the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="update(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This version updates a rectangle <tt>arg__1</tt> inside the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="update(int, int, int, int)"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>(int&nbsp;x,
                         int&nbsp;y,
                         int&nbsp;w,
                         int&nbsp;h)</PRE>
<DL>
<DD><p>This version updates a rectangle (<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>) inside the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="update()"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>()</PRE>
<DL>
<DD><p>Updates the widget unless updates are disabled or the widget is hidden.</p>
<p>This function does not cause an immediate repaint; instead it schedules a paint event for processing when Qt returns to the main event loop. This permits Qt to optimize for more speed and less flicker than a call to <a href="QWidget.html#repaint()"><tt>repaint</tt></a> does.</p>
<p>Calling <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> several times normally results in just one <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> call.</p>
<p>Qt normally erases the widget's area before the <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> call. If the Qt::WA_OpaquePaintEvent widget attribute is set, the widget is responsible for painting all its pixels with an opaque color.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#repaint()"><tt>repaint</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, 
<a href="QWidget.html#setUpdatesEnabled(boolean)"><tt>setUpdatesEnabled</tt></a>, 
<a href="%2E%2E/qtjambi-analogclock.html">Analog Clock Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="updateGeometry()"><!-- --></A><H3>
updateGeometry</H3>
<PRE>
public final void <B>updateGeometry</B>()</PRE>
<DL>
<DD><p>Notifies the layout system that this widget has changed and may need to change geometry.</p>
<p>Call this function if the <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> or <a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a> have changed.</p>
<p>For explicitly hidden widgets, <a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a> is a no-op. The layout system will be notified as soon as the widget is shown.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="updateMicroFocus()"><!-- --></A><H3>
updateMicroFocus</H3>
<PRE>
protected final void <B>updateMicroFocus</B>()</PRE>
<DL>
<DD><p>Updates the widget's micro focus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QInputContext.html"><tt>QInputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="updatesEnabled()"><!-- --></A><H3>
updatesEnabled</H3>
<PRE>
public final boolean <B>updatesEnabled</B>()</PRE>
<DL>
<DD><p>Returns whether updates are enabled.</p>
<p>An updates enabled widget receives paint events and has a system background; a disabled widget does not. This also implies that calling <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> and <a href="QWidget.html#repaint()"><tt>repaint</tt></a> has no effect if updates are disabled.</p>
<p><a href="QWidget.html#setUpdatesEnabled(boolean)"><tt>setUpdatesEnabled</tt></a> is normally used to disable updates for a short period of time, for instance to avoid screen flicker during large changes. In Qt, widgets normally do not generate screen flicker, but on X11 the server might erase regions on the screen when widgets get hidden before they can be replaced by other widgets. Disabling updates solves this.</p>
<p>Example:</p>
<pre>    setUpdatesEnabled(false);
    bigVisualChanges();
    setUpdatesEnabled(true);</pre>
<p>Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled. Re-enabling updates implicitly calls <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> on the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setUpdatesEnabled(boolean)"><tt>setUpdatesEnabled</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="visibleRegion()"><!-- --></A><H3>
visibleRegion</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>visibleRegion</B>()</PRE>
<DL>
<DD><p>Returns the unobscured region where paint events can occur.</p>
<p>For visible widgets, this is an approximation of the area not covered by other widgets; otherwise, this is an empty region.</p>
<p>The <a href="QWidget.html#repaint()"><tt>repaint</tt></a> function calls this function if necessary, so in general you do not need to call it.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="whatsThis()"><!-- --></A><H3>
whatsThis</H3>
<PRE>
public final java.lang.String <B>whatsThis</B>()</PRE>
<DL>
<DD><p>Returns the widget's What's This help text..</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a>, 
<a href="QWhatsThis.html"><tt>QWhatsThis</tt></a>, 
<tt>QWidget::toolTip</tt>, 
<tt>QWidget::statusTip</tt></DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final int <B>width</B>()</PRE>
<DL>
<DD><p>Returns the width of the widget excluding any window frame.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#width()">width</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#geometry()">geometry</tt></a>, 
<a href="QWidget.html#height()">height</tt></a>, 
<a href="QWidget.html#size()">size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widthMM()"><!-- --></A><H3>
widthMM</H3>
<PRE>
public final int <B>widthMM</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#widthMM()">widthMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#width()"><tt>width</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="winId()"><!-- --></A><H3>
winId</H3>
<PRE>
public final long <B>winId</B>()</PRE>
<DL>
<DD><p>Returns the window system identifier of the widget.</p>
<p>Portable in principle, but if you use it you are probably about to do something non-portable. Be careful.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>find</tt></DL>
</DD>
</DL>
<HR>

<A NAME="window()"><!-- --></A><H3>
window</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>window</B>()</PRE>
<DL>
<DD><p>Returns the window for this widget, i.e&#x2e; the next ancestor widget that has (or could have) a window-system frame.</p>
<p>If the widget is a window, the widget itself is returned.</p>
<p>Typical usage is changing the window title:</p>
<pre>    aWidget-&gt;window()-&gt;setWindowTitle(&quot;New Window Title&quot;);</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#isWindow()"><tt>isWindow</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowFlags()"><!-- --></A><H3>
windowFlags</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A> <B>windowFlags</B>()</PRE>
<DL>
<DD><p>Window flags are a combination of a type (e.g&#x2e; Qt::Dialog) and zero or more hints to the window system (e.g&#x2e; Qt::FramelessWindowHint).</p>
<p>If the widget had type Qt::Widget or Qt::SubWindow and becomes a window (<a href="%2E%2E/winsystem.html#qt-windows">Qt::Window</tt></a>, Qt::Dialog, etc.), it is put at position (0, 0) on the desktop. If the widget is a window and becomes a Qt::Widget or Qt::SubWindow, it is put at position (0, 0) relative to its parent widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowFlags(com.trolltech.qt.core.Qt.WindowFlags)"><tt>setWindowFlags</tt></a>, 
<a href="QWidget.html#windowType()"><tt>windowType</tt></a>, 
<CODE>Flags Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="windowIcon()"><!-- --></A><H3>
windowIcon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>windowIcon</B>()</PRE>
<DL>
<DD><p>Returns the widget's icon.</p>
<p>This property only makes sense for windows. If no icon has been set, <a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a> returns the application icon (QApplication::windowIcon()).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowIcon(com.trolltech.qt.gui.QIcon)"><tt>setWindowIcon</tt></a>, 
<a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowIconText()"><!-- --></A><H3>
windowIconText</H3>
<PRE>
public final java.lang.String <B>windowIconText</B>()</PRE>
<DL>
<DD><p>Returns the widget's icon text.</p>
<p>This property only makes sense for windows. If no icon text has been set, this functions returns an empty string.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowIconText(java.lang.String)"><tt>setWindowIconText</tt></a>, 
<a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowModality()"><!-- --></A><H3>
windowModality</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.WindowModality.html" title="enum in com.trolltech.qt.core">Qt.WindowModality</A> <B>windowModality</B>()</PRE>
<DL>
<DD><p>Returns which windows are blocked by the modal widget.</p>
<p>This property only makes sense for windows. A modal widget prevents widgets in other windows from getting input. The value of this property controls which windows are blocked when the widget is visible. Changing this property while the window is visible has no effect; you must <a href="QWidget.html#hide()"><tt>hide</tt></a> the widget first, then <a href="QWidget.html#show()"><tt>show</tt></a> it again.</p>
<p>By default, this property is Qt::NonModal.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowModality(com.trolltech.qt.core.Qt.WindowModality)"><tt>setWindowModality</tt></a>, 
<a href="QWidget.html#isWindow()"><tt>isWindow</tt></a>, 
<tt>QWidget::modal</tt>, 
<a href="QDialog.html"><tt>QDialog</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowOpacity()"><!-- --></A><H3>
windowOpacity</H3>
<PRE>
public final double <B>windowOpacity</B>()</PRE>
<DL>
<DD><p>Returns The level of opacity for the window..</p>
<p>The valid range of opacity is from 1.0 (completely opaque) to 0.0 (completely transparent).</p>
<p>By default the value of this property is 1.0&#x2e;</p>
<p>This feature is available on Mac OS X, X11 platforms that support the Composite extension, and Windows 2000 and later.</p>
<p>Note that under X11 you need to have a composite manager running, and the X11 specific _NET_WM_WINDOW_OPACITY atom needs to be supported by the window manager you are using.</p>
<p><b>Warning:</b> Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of QPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantly slower than opaque windows.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowOpacity(double)"><tt>setWindowOpacity</tt></a>, 
<a href="QWidget.html#setMask(com.trolltech.qt.gui.QRegion)"><tt>setMask</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowRole()"><!-- --></A><H3>
windowRole</H3>
<PRE>
public final java.lang.String <B>windowRole</B>()</PRE>
<DL>
<DD><p>Returns the window's role, or an empty string.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowRole(java.lang.String)"><tt>setWindowRole</tt></a>, 
<a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, 
<a href="QWidget.html#windowTitle()"><tt>windowTitle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowState()"><!-- --></A><H3>
windowState</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A> <B>windowState</B>()</PRE>
<DL>
<DD><p>Returns the current window state. The window state is a OR'ed combination of Qt::WindowState: Qt::WindowMinimized, Qt::WindowMaximized, Qt::WindowFullScreen, and Qt::WindowActive.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WindowState</tt>, 
<a href="QWidget.html#setWindowState(com.trolltech.qt.core.Qt.WindowStates)"><tt>setWindowState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="windowTitle()"><!-- --></A><H3>
windowTitle</H3>
<PRE>
public final java.lang.String <B>windowTitle</B>()</PRE>
<DL>
<DD><p>Returns the window title (caption).</p>
<p>This property only makes sense for windows. If no caption has been set, the title is an empty string.</p>
<p>If you use the <tt>windowModified</tt> mechanism, the window title must contain a &quot;[*]&quot; placeholder, which indicates where the '*' should appear. Normally, it should appear right after the file name (e.g&#x2e;, &quot;document1.txt[*] - Text Editor&quot;). If the <tt>windowModified</tt> property is false (the default), the placeholder is simply removed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setWindowTitle(java.lang.String)"><tt>setWindowTitle</tt></a>, 
<a href="QWidget.html#windowIcon()"><tt>windowIcon</tt></a>, 
<a href="QWidget.html#windowIconText()"><tt>windowIconText</tt></a>, 
<tt>windowModified</tt></DL>
</DD>
</DL>
<HR>

<A NAME="windowType()"><!-- --></A><H3>
windowType</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.WindowType.html" title="enum in com.trolltech.qt.core">Qt.WindowType</A> <B>windowType</B>()</PRE>
<DL>
<DD><p>Returns the window type of this widget. This is identical to <a href="QWidget.html#windowFlags()"><tt>windowFlags</tt></a> &amp; Qt::WindowType_Mask.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#windowFlags()"><tt>windowFlags</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="x()"><!-- --></A><H3>
x</H3>
<PRE>
public final int <B>x</B>()</PRE>
<DL>
<DD><p>Returns the x coordinate of the widget relative to its parent including any window frame.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#y()">y</tt></a>, 
<a href="QWidget.html#pos()">pos</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="y()"><!-- --></A><H3>
y</H3>
<PRE>
public final int <B>y</B>()</PRE>
<DL>
<DD><p>Returns the y coordinate of the widget relative to its parent and including any window frame.</p>
<p>See the <a href="%2E%2E/geometry.html">Window Geometry documentation</tt></a> for an overview of window geometry.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#frameGeometry()"><tt>frameGeometry</tt></a>, 
<a href="QWidget.html#x()">x</tt></a>, 
<a href="QWidget.html#pos()">pos</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="actionEvent(com.trolltech.qt.gui.QActionEvent)"><!-- --></A><H3>
actionEvent</H3>
<PRE>
protected void <B>actionEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QActionEvent.html" title="class in com.trolltech.qt.gui">QActionEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler is called with the given <tt>arg__1</tt> whenever the widget's actions are changed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#addAction(com.trolltech.qt.gui.QAction)"><tt>addAction</tt></a>, 
<a href="QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)"><tt>insertAction</tt></a>, 
<a href="QWidget.html#removeAction(com.trolltech.qt.gui.QAction)"><tt>removeAction</tt></a>, 
<a href="QWidget.html#actions()"><tt>actions</tt></a>, 
<a href="QActionEvent.html"><tt>QActionEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="changeEvent(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
changeEvent</H3>
<PRE>
protected void <B>changeEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented to handle state changes.</p>
<p>The state being changed in this event can be retrieved through event <tt>arg__1</tt>.</p>
<p>Change events include: QEvent::ToolBarChange, QEvent::ActivationChange, QEvent::EnabledChange, QEvent::FontChange, QEvent::StyleChange, QEvent::PaletteChange, QEvent::WindowTitleChange, QEvent::IconTextChange, QEvent::ModifiedChange, QEvent::MouseTrackingChange, QEvent::ParentChange, QEvent::WindowStateChange, QEvent::LanguageChange, QEvent::LocaleChange, QEvent::LayoutDirectionChange.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="closeEvent(com.trolltech.qt.gui.QCloseEvent)"><!-- --></A><H3>
closeEvent</H3>
<PRE>
protected void <B>closeEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QCloseEvent.html" title="class in com.trolltech.qt.gui">QCloseEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive widget close events.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#close()"><tt>close</tt></a>, 
<a href="QCloseEvent.html"><tt>QCloseEvent</tt></a>, 
<a href="%2E%2E/qtjambi-application.html">Application Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)"><!-- --></A><H3>
contextMenuEvent</H3>
<PRE>
protected void <B>contextMenuEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QContextMenuEvent.html" title="class in com.trolltech.qt.gui">QContextMenuEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive widget context menu events.</p>
<p>The handler is called when the widget's <a href="QWidget.html#contextMenuPolicy()"><tt>contextMenuPolicy</tt></a> is Qt::DefaultContextMenu.</p>
<p>The default implementation ignores the context event. See the <a href="QContextMenuEvent.html"><tt>QContextMenuEvent</tt></a> documentation for more details.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QContextMenuEvent.html"><tt>QContextMenuEvent</tt></a>, 
<a href="QWidget.html#customContextMenuRequested(com.trolltech.qt.core.QPoint)"><tt>customContextMenuRequested</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="devType()"><!-- --></A><H3>
devType</H3>
<PRE>
public int <B>devType</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#devType()">devType</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent)"><!-- --></A><H3>
dragEnterEvent</H3>
<PRE>
protected void <B>dragEnterEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QDragEnterEvent.html" title="class in com.trolltech.qt.gui">QDragEnterEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler is called when a drag is in progress and the mouse enters this widget. The event is passed in the <tt>arg__1</tt> parameter.</p>
<p>If the event is ignored, the widget won't receive any <a href="QWidget.html#dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent)">drag move events</tt></a>.</p>
<p>See the <a href="%2E%2E/dnd.html">Drag-and-drop documentation</tt></a> for an overview of how to provide drag-and-drop in your application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/porting4.html#qtextdrag"><tt>QTextDrag</tt></a>, 
<a href="%2E%2E/porting4.html#qimagedrag"><tt>QImageDrag</tt></a>, 
<a href="QDragEnterEvent.html"><tt>QDragEnterEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragLeaveEvent(com.trolltech.qt.gui.QDragLeaveEvent)"><!-- --></A><H3>
dragLeaveEvent</H3>
<PRE>
protected void <B>dragLeaveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QDragLeaveEvent.html" title="class in com.trolltech.qt.gui">QDragLeaveEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler is called when a drag is in progress and the mouse leaves this widget. The event is passed in the <tt>arg__1</tt> parameter.</p>
<p>See the <a href="%2E%2E/dnd.html">Drag-and-drop documentation</tt></a> for an overview of how to provide drag-and-drop in your application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/porting4.html#qtextdrag"><tt>QTextDrag</tt></a>, 
<a href="%2E%2E/porting4.html#qimagedrag"><tt>QImageDrag</tt></a>, 
<a href="QDragLeaveEvent.html"><tt>QDragLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent)"><!-- --></A><H3>
dragMoveEvent</H3>
<PRE>
protected void <B>dragMoveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QDragMoveEvent.html" title="class in com.trolltech.qt.gui">QDragMoveEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler is called if a drag is in progress, and when any of the following conditions occurs: the cursor enters this widget, the cursor moves within this widget, or a modifier key is pressed on the keyboard while this widget has the focus. The event is passed in the <tt>arg__1</tt> parameter.</p>
<p>See the <a href="%2E%2E/dnd.html">Drag-and-drop documentation</tt></a> for an overview of how to provide drag-and-drop in your application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/porting4.html#qtextdrag"><tt>QTextDrag</tt></a>, 
<a href="%2E%2E/porting4.html#qimagedrag"><tt>QImageDrag</tt></a>, 
<a href="QDragMoveEvent.html"><tt>QDragMoveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dropEvent(com.trolltech.qt.gui.QDropEvent)"><!-- --></A><H3>
dropEvent</H3>
<PRE>
protected void <B>dropEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html" title="class in com.trolltech.qt.gui">QDropEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler is called when the drag is dropped on this widget which are passed in the <tt>arg__1</tt> parameter.</p>
<p>See the <a href="%2E%2E/dnd.html">Drag-and-drop documentation</tt></a> for an overview of how to provide drag-and-drop in your application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/porting4.html#qtextdrag"><tt>QTextDrag</tt></a>, 
<a href="%2E%2E/porting4.html#qimagedrag"><tt>QImageDrag</tt></a>, 
<a href="QDropEvent.html"><tt>QDropEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="enterEvent(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
enterEvent</H3>
<PRE>
protected void <B>enterEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget enter events which are passed in the <tt>arg__1</tt> parameter.</p>
<p>An event is sent to the widget when the mouse cursor enters the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="event(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
event</H3>
<PRE>
public boolean <B>event</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This is the main event handler; it handles event <tt>arg__1</tt>. You can reimplement this function in a subclass, but we recommend using one of the specialized event handlers instead.</p>
<p>Key press and release events are treated differently from other events. <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> checks for Tab and Shift+Tab and tries to move the focus appropriately. If there is no widget to move the focus to (or the key press is not Tab or Shift+Tab), <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> calls <a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>.</p>
<p>Mouse and tablet event handling is also slightly special: only when the widget is enabled</tt>, <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> will call the specialized handlers such as <a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>; otherwise it will discard the event.</p>
<p>This function returns true if the event was recognized, otherwise it returns false. If the recognized event was accepted (see <tt>QEvent::accepted</tt>), any further processing such as event propagation to the parent widget stops.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#closeEvent(com.trolltech.qt.gui.QCloseEvent)"><tt>closeEvent</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)"><tt>enterEvent</tt></a>, 
<a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<a href="QWidget.html#leaveEvent(com.trolltech.qt.core.QEvent)"><tt>leaveEvent</tt></a>, 
<a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, 
<a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, 
<tt>QObject::event</tt>, 
<tt>QObject::timerEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusInEvent</H3>
<PRE>
protected void <B>focusInEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive keyboard focus events (focus received) for the widget. The event is passed in the <tt>arg__1</tt> parameter</p>
<p>A widget normally must <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a> to something other than Qt::NoFocus in order to receive focus events. (Note that the application programmer can call <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> on any widget, even those that do not normally accept focus.)</p>
<p>The default implementation updates the widget (except for windows that do not specify a <a href="QWidget.html#focusPolicy()"><tt>focusPolicy</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QFocusEvent.html"><tt>QFocusEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusNextPrevChild(boolean)"><!-- --></A><H3>
focusNextPrevChild</H3>
<PRE>
protected boolean <B>focusNextPrevChild</B>(boolean&nbsp;next)</PRE>
<DL>
<DD><p>Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns true if it can find a new widget, or false if it can't.</p>
<p>If <tt>next</tt> is true, this function searches forward, if <tt>next</tt> is false, it searches backward.</p>
<p>Sometimes, you will want to reimplement this function. For example, a web browser might reimplement it to move its &quot;current active link&quot; forward or backward, and call <a href="QWidget.html#focusNextPrevChild(boolean)"><tt>focusNextPrevChild</tt></a> only when it reaches the last or first link on the &quot;page&quot;.</p>
<p>Child widgets call <a href="QWidget.html#focusNextPrevChild(boolean)"><tt>focusNextPrevChild</tt></a> on their parent widgets, but only the window that contains the child widgets decides where to redirect focus. By reimplementing this function for an object, you thus gain control of focus traversal for all child widgets.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusNextChild()"><tt>focusNextChild</tt></a>, 
<a href="QWidget.html#focusPreviousChild()"><tt>focusPreviousChild</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusOutEvent</H3>
<PRE>
protected void <B>focusOutEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive keyboard focus events (focus lost) for the widget. The events is passed in the <tt>arg__1</tt> parameter.</p>
<p>A widget normally must <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a> to something other than Qt::NoFocus in order to receive focus events. (Note that the application programmer can call <a href="QWidget.html#setFocus()"><tt>setFocus</tt></a> on any widget, even those that do not normally accept focus.)</p>
<p>The default implementation updates the widget (except for windows that do not specify a <a href="QWidget.html#focusPolicy()"><tt>focusPolicy</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QFocusEvent.html"><tt>QFocusEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="heightForWidth(int)"><!-- --></A><H3>
heightForWidth</H3>
<PRE>
public int <B>heightForWidth</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the preferred height for this widget, given the width <tt>arg__1</tt>.</p>
<p>If this widget has a layout, the default implementation returns the layout's preferred height. if there is no layout, the default implementation returns -1 indicating that the preferred height does not depend on the width.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hideEvent(com.trolltech.qt.gui.QHideEvent)"><!-- --></A><H3>
hideEvent</H3>
<PRE>
protected void <B>hideEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QHideEvent.html" title="class in com.trolltech.qt.gui">QHideEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget hide events. The event is passed in the <tt>arg__1</tt> parameter.</p>
<p>Hide events are sent to widgets immediately after they have been hidden.</p>
<p>Note: A widget receives spontaneous show and hide events when its mapping status is changed by the window system, e.g&#x2e; a spontaneous hide event when the user minimizes the window, and a spontaneous show event when the window is restored again. After receiving a spontaneous hide event, a widget is still considered visible in the sense of <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>visible</tt></CODE>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QHideEvent.html"><tt>QHideEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><!-- --></A><H3>
inputMethodEvent</H3>
<PRE>
protected void <B>inputMethodEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QInputMethodEvent.html" title="class in com.trolltech.qt.gui">QInputMethodEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive Input Method composition events. This handler is called when the state of the input method changes.</p>
<p>Note that when creating custom text editing widgets, the Qt::WA_InputMethodEnabled window attribute must be set explicitly (using the <a href="QWidget.html#setAttribute(com.trolltech.qt.core.Qt.WidgetAttribute, boolean)"><tt>setAttribute</tt></a> function) in order to receive input method events.</p>
<p>The default implementation calls event-&gt;ignore(), which rejects the Input Method event. See the <a href="QInputMethodEvent.html"><tt>QInputMethodEvent</tt></a> documentation for more details.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QInputMethodEvent.html"><tt>QInputMethodEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)"><!-- --></A><H3>
inputMethodQuery</H3>
<PRE>
public java.lang.Object <B>inputMethodQuery</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core">Qt.InputMethodQuery</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This method is only relevant for input widgets. It is used by the input method to query a set of properties of the widget to be able to support complex input method operations as support for surrounding text and reconversions.</p>
<p><tt>arg__1</tt> specifies which property is queried.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><tt>inputMethodEvent</tt></a>, 
<a href="QInputMethodEvent.html"><tt>QInputMethodEvent</tt></a>, 
<a href="QInputContext.html"><tt>QInputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyPressEvent</H3>
<PRE>
protected void <B>keyPressEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive key press events for the widget.</p>
<p>A widget must call <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a> to accept focus initially and have focus in order to receive a key press event.</p>
<p>If you reimplement this handler, it is very important that you <a href="QKeyEvent.html">ignore()</a> the event if you do not understand it, so that the widget's parent can interpret it.</p>
<p>The default implementation closes popup widgets if the user presses Esc. Otherwise the event is ignored.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<tt>QKeyEvent::ignore</tt>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QKeyEvent.html"><tt>QKeyEvent</tt></a>, 
<a href="%2E%2E/qtjambi-tetrix.html">Tetrix Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyReleaseEvent</H3>
<PRE>
protected void <B>keyReleaseEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive key release events for the widget.</p>
<p>A widget must <a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)">accept focus</tt></a> initially and <a href="QWidget.html#hasFocus()">have focus</tt></a> in order to receive a key release event.</p>
<p>If you reimplement this handler, it is very important that you <a href="QKeyEvent.html">ignore()</a> the release if you do not understand it, so that the widget's parent can interpret it.</p>
<p>The default implementation ignores the event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<tt>QKeyEvent::ignore</tt>, 
<a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QWidget.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QKeyEvent.html"><tt>QKeyEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="leaveEvent(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
leaveEvent</H3>
<PRE>
protected void <B>leaveEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget leave events which are passed in the <tt>arg__1</tt> parameter.</p>
<p>A leave event is sent to the widget when the mouse cursor leaves the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#enterEvent(com.trolltech.qt.core.QEvent)"><tt>enterEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)"><!-- --></A><H3>
metric</H3>
<PRE>
public int <B>metric</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Internal implementation of the virtual QPaintDevice::metric() function.</p>
<p><tt>arg__1</tt> is the metric to get.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>PaintDeviceMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="minimumSizeHint()"><!-- --></A><H3>
minimumSizeHint</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>minimumSizeHint</B>()</PRE>
<DL>
<DD><p>Returns the recommended minimum size for the widget.</p>
<p>If the value of this property is an invalid size, no minimum size is recommended.</p>
<p>The default implementation of <a href="QWidget.html#minimumSizeHint()"><tt>minimumSizeHint</tt></a> returns an invalid size if there is no layout for this widget, and returns the layout's minimum size otherwise. Most built-in widgets reimplement <a href="QWidget.html#minimumSizeHint()"><tt>minimumSizeHint</tt></a>.</p>
<p><a href="QLayout.html"><tt>QLayout</tt></a> will never resize a widget to a size smaller than the minimum size hint unless <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> is set or the size policy is set to QSizePolicy::Ignore. If <a href="QWidget.html#minimumSize()"><tt>minimumSize</tt></a> is set, the minimum size hint will be ignored.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSize::isValid</tt>, 
<a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, 
<a href="QWidget.html#setMinimumSize(int, int)"><tt>setMinimumSize</tt></a>, 
<a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><!-- --></A><H3>
mouseDoubleClickEvent</H3>
<PRE>
protected void <B>mouseDoubleClickEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse double click events for the widget.</p>
<p>The default implementation generates a normal mouse press event.</p>
<p>Note that the widgets gets a <a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a> and a <a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a> before the <a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><!-- --></A><H3>
mouseMoveEvent</H3>
<PRE>
protected void <B>mouseMoveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse move events for the widget.</p>
<p>If mouse tracking is switched off, mouse move events only occur if a mouse button is pressed while the mouse is being moved. If mouse tracking is switched on, mouse move events occur even if no mouse button is pressed.</p>
<p>QMouseEvent::pos() reports the position of the mouse cursor, relative to this widget. For press and release events, the position is usually the same as the position of the last mouse move event, but it might be different if the user's hand shakes. This is a feature of the underlying window system, not Qt.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setMouseTracking(boolean)"><tt>setMouseTracking</tt></a>, 
<a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><!-- --></A><H3>
mousePressEvent</H3>
<PRE>
protected void <B>mousePressEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse press events for the widget.</p>
<p>If you create new widgets in the <a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a> the <a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a> may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more.</p>
<p>The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent)"><!-- --></A><H3>
mouseReleaseEvent</H3>
<PRE>
protected void <B>mouseReleaseEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class in com.trolltech.qt.gui">QMouseEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive mouse release events for the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#mousePressEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QWidget.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QWidget.html#mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QMouseEvent.html"><tt>QMouseEvent</tt></a>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="moveEvent(com.trolltech.qt.gui.QMoveEvent)"><!-- --></A><H3>
moveEvent</H3>
<PRE>
protected void <B>moveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QMoveEvent.html" title="class in com.trolltech.qt.gui">QMoveEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget move events which are passed in the <tt>arg__1</tt> parameter. When the widget receives this event, it is already at the new position.</p>
<p>The old position is accessible through QMoveEvent::oldPos().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QWidget.html#move(com.trolltech.qt.core.QPoint)"><tt>move</tt></a>, 
<a href="QMoveEvent.html"><tt>QMoveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paintEngine()"><!-- --></A><H3>
paintEngine</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>paintEngine</B>()</PRE>
<DL>
<DD><p>Returns the widget's paint engine.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintEngine()">paintEngine</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="paintEvent(com.trolltech.qt.gui.QPaintEvent)"><!-- --></A><H3>
paintEvent</H3>
<PRE>
protected void <B>paintEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintEvent.html" title="class in com.trolltech.qt.gui">QPaintEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive paint events which are passed in the <tt>arg__1</tt> parameter.</p>
<p>A paint event is a request to repaint all or part of the widget. It can happen as a result of <a href="QWidget.html#repaint()"><tt>repaint</tt></a> or <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a>, or because the widget was obscured and has now been uncovered, or for many other reasons.</p>
<p>Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: QPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. <a href="QListView.html"><tt>QListView</tt></a> and <a href="QTableView.html"><tt>QTableView</tt></a> do this, for example.</p>
<p>Qt also tries to speed up painting by merging multiple paint events into one. When <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> is called several times or the window system sends several paint events, Qt merges these events into one event with a larger region (see QRegion::united()). <a href="QWidget.html#repaint()"><tt>repaint</tt></a> does not permit this optimization, so we suggest using <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> whenever possible.</p>
<p>When the paint event occurs, the update region has normally been erased, so that you're painting on the widget's background.</p>
<p>The background can be set using <a href="QWidget.html#setBackgroundRole(com.trolltech.qt.gui.QPalette.ColorRole)"><tt>setBackgroundRole</tt></a> and <a href="QWidget.html#setPalette(com.trolltech.qt.gui.QPalette)"><tt>setPalette</tt></a>.</p>
<p>From Qt 4.0, <a href="QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)"><tt>QWidget</tt></a> automatically double-buffers its painting, so there's no need to write double-buffering code in <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> to avoid flicker.</p>
<p>Note: Under X11 it is possible to toggle the global double buffering by calling <tt>qt_x11_set_global_double_buffer()</tt>. Example usage:</p>
<pre>    ...
    extern void qt_x11_set_global_double_buffer(bool);
    qt_x11_set_global_double_buffer(false);
    ...</pre>
<p>Note: In general, one should refrain from calling <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> or <a href="QWidget.html#repaint()"><tt>repaint</tt></a> <b>inside</b> of <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>. For example, calling <a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a> or <a href="QWidget.html#repaint()"><tt>repaint</tt></a> on children inside a <a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a> results in undefined behavior; the child may or may not get a paint event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QWidget.html#repaint()"><tt>repaint</tt></a>, 
<a href="QWidget.html#update(com.trolltech.qt.gui.QRegion)"><tt>update</tt></a>, 
<a href="QPainter.html"><tt>QPainter</tt></a>, 
<a href="QPixmap.html"><tt>QPixmap</tt></a>, 
<a href="QPaintEvent.html"><tt>QPaintEvent</tt></a>, 
<a href="%2E%2E/qtjambi-analogclock.html">Analog Clock Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><!-- --></A><H3>
resizeEvent</H3>
<PRE>
protected void <B>resizeEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QResizeEvent.html" title="class in com.trolltech.qt.gui">QResizeEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget resize events which are passed in the <tt>arg__1</tt> parameter. When <a href="QWidget.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)"><tt>resizeEvent</tt></a> is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().</p>
<p>The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#moveEvent(com.trolltech.qt.gui.QMoveEvent)"><tt>moveEvent</tt></a>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QWidget.html#resize(com.trolltech.qt.core.QSize)"><tt>resize</tt></a>, 
<a href="QResizeEvent.html"><tt>QResizeEvent</tt></a>, 
<a href="QWidget.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)"><tt>paintEvent</tt></a>, 
<CODE>Example</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setVisible(boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(boolean&nbsp;visible)</PRE>
<DL>
<DD><p>Sets whether the widget is visible to <tt>visible</tt>.</p>
<p>Calling <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(true) or <a href="QWidget.html#show()"><tt>show</tt></a> sets the widget to visible status if all its parent widgets up to the window are visible. If an ancestor is not visible, the widget won't become visible until all its ancestors are shown. If its size or position has changed, Qt guarantees that a widget gets move and resize events just before it is shown. If the widget has not been resized yet, Qt will adjust the widget's size to a useful default using <a href="QWidget.html#adjustSize()"><tt>adjustSize</tt></a>.</p>
<p>Calling <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a>(false) or <a href="QWidget.html#hide()"><tt>hide</tt></a> hides a widget explicitly. An explicitly hidden widget will never become visible, even if all its ancestors become visible, unless you show it.</p>
<p>A widget receives show and hide events when its visibility status changes. Between a hide and a show event, there is no need to waste CPU cycles preparing or displaying information to the user. A video application, for example, might simply stop generating new frames.</p>
<p>A widget that happens to be obscured by other windows on the screen is considered to be visible. The same applies to iconified windows and windows that exist on another virtual desktop (on platforms that support this concept). A widget receives spontaneous show and hide events when its mapping status is changed by the window system, e.g&#x2e; a spontaneous hide event when the user minimizes the window, and a spontaneous show event when the window is restored again.</p>
<p>You almost never have to reimplement the <a href="QWidget.html#setVisible(boolean)"><tt>setVisible</tt></a> function. If you need to change some settings before a widget is shown, use <a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a> instead. If you need to do some delayed initialization use the Polish event delivered to the <a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#show()"><tt>show</tt></a>, 
<a href="QWidget.html#hide()"><tt>hide</tt></a>, 
<a href="QWidget.html#isHidden()"><tt>isHidden</tt></a>, 
<a href="QWidget.html#isVisibleTo(com.trolltech.qt.gui.QWidget)"><tt>isVisibleTo</tt></a>, 
<a href="QWidget.html#isMinimized()"><tt>isMinimized</tt></a>, 
<a href="QWidget.html#showEvent(com.trolltech.qt.gui.QShowEvent)"><tt>showEvent</tt></a>, 
<a href="QWidget.html#hideEvent(com.trolltech.qt.gui.QHideEvent)"><tt>hideEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showEvent(com.trolltech.qt.gui.QShowEvent)"><!-- --></A><H3>
showEvent</H3>
<PRE>
protected void <B>showEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QShowEvent.html" title="class in com.trolltech.qt.gui">QShowEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to receive widget show events which are passed in the <tt>arg__1</tt> parameter.</p>
<p>Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of windows are delivered afterwards.</p>
<p>Note: A widget receives spontaneous show and hide events when its mapping status is changed by the window system, e.g&#x2e; a spontaneous hide event when the user minimizes the window, and a spontaneous show event when the window is restored again. After receiving a spontaneous hide event, a widget is still considered visible in the sense of <a href="QWidget.html#isVisible()"><tt>isVisible</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>visible</tt></CODE>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QShowEvent.html"><tt>QShowEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sizeHint()"><!-- --></A><H3>
sizeHint</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeHint</B>()</PRE>
<DL>
<DD><p>Returns the recommended size for the widget.</p>
<p>If the value of this property is an invalid size, no size is recommended.</p>
<p>The default implementation of <a href="QWidget.html#sizeHint()"><tt>sizeHint</tt></a> returns an invalid size if there is no layout for this widget, and returns the layout's preferred size otherwise.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSize::isValid</tt>, 
<a href="QWidget.html#minimumSizeHint()"><tt>minimumSizeHint</tt></a>, 
<a href="QWidget.html#sizePolicy()"><tt>sizePolicy</tt></a>, 
<a href="QWidget.html#setMinimumSize(int, int)"><tt>setMinimumSize</tt></a>, 
<a href="QWidget.html#updateGeometry()"><tt>updateGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="tabletEvent(com.trolltech.qt.gui.QTabletEvent)"><!-- --></A><H3>
tabletEvent</H3>
<PRE>
protected void <B>tabletEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QTabletEvent.html" title="class in com.trolltech.qt.gui">QTabletEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive tablet events for the widget.</p>
<p>If you reimplement this handler, it is very important that you <a href="QTabletEvent.html">ignore()</a> the event if you do not handle it, so that the widget's parent can interpret it.</p>
<p>The default implementation ignores the event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QTabletEvent::ignore</tt>, 
<tt>QTabletEvent::accept</tt>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QTabletEvent.html"><tt>QTabletEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="wheelEvent(com.trolltech.qt.gui.QWheelEvent)"><!-- --></A><H3>
wheelEvent</H3>
<PRE>
protected void <B>wheelEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QWheelEvent.html" title="class in com.trolltech.qt.gui">QWheelEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This event handler, for event <tt>arg__1</tt>, can be reimplemented in a subclass to receive wheel events for the widget.</p>
<p>If you reimplement this handler, it is very important that you <a href="QWheelEvent.html">ignore()</a> the event if you do not handle it, so that the widget's parent can interpret it.</p>
<p>The default implementation ignores the event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWheelEvent::ignore</tt>, 
<tt>QWheelEvent::accept</tt>, 
<a href="QWidget.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a>, 
<a href="QWheelEvent.html"><tt>QWheelEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyboardGrabber()"><!-- --></A><H3>
keyboardGrabber</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>keyboardGrabber</B>()</PRE>
<DL>
<DD><p>Returns the widget that is currently grabbing the keyboard input.</p>
<p>If no widget in this application is currently grabbing the keyboard, 0 is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, 
<a href="QWidget.html#mouseGrabber()"><tt>mouseGrabber</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseGrabber()"><!-- --></A><H3>
mouseGrabber</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>mouseGrabber</B>()</PRE>
<DL>
<DD><p>Returns the widget that is currently grabbing the mouse input.</p>
<p>If no widget in this application is currently grabbing the mouse, 0 is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#grabMouse(com.trolltech.qt.gui.QCursor)"><tt>grabMouse</tt></a>, 
<a href="QWidget.html#keyboardGrabber()"><tt>keyboardGrabber</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setTabOrder(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setTabOrder</H3>
<PRE>
public static void <B>setTabOrder</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1,
                               <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Moves the <tt>arg__2</tt> widget around the ring of focus widgets so that keyboard focus moves from the <tt>arg__1</tt> widget to the <tt>arg__2</tt> widget when the Tab key is pressed.</p>
<p>Note that since the tab order of the <tt>arg__2</tt> widget is changed, you should order a chain like this:</p>
<pre>    setTabOrder(a, b); <span class="comment">// a to b</span>
    setTabOrder(b, c); <span class="comment">// a to b to c</span>
    setTabOrder(c, d); <span class="comment">// a to b to c to d</span></pre>
<p><i>not</i> like this:</p>
<pre><span class="comment">    // WRONG</span>
    setTabOrder(c, d); <span class="comment">// c to d</span>
    setTabOrder(a, b); <span class="comment">// a to b AND c to d</span>
    setTabOrder(b, c); <span class="comment">// a to b to c, but not c to d</span></pre>
<p>If <tt>arg__1</tt> or <tt>arg__2</tt> has a focus proxy, <a href="QWidget.html#setTabOrder(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QWidget)"><tt>setTabOrder</tt></a> correctly substitutes the proxy.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)"><tt>setFocusPolicy</tt></a>, 
<a href="QWidget.html#setFocusProxy(com.trolltech.qt.gui.QWidget)"><tt>setFocusProxy</tt></a>, 
<a href="%2E%2E/focus.html">Keyboard Focus</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QWidget instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="getContentsMargins()"><!-- --></A><H3>
getContentsMargins</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A> <B>getContentsMargins</B>()</PRE>
<DL>
<DD>Returns the widget's contents margins.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setContentsMargins(com.trolltech.qt.gui.QContentsMargins)"><!-- --></A><H3>
setContentsMargins</H3>
<PRE>
public final void <B>setContentsMargins</B>(<A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A>&nbsp;margins)</PRE>
<DL>
<DD>Sets the <tt>margins</tt> around the contents of the widget. The
margins are used by the layout system, and may be used by subclasses
to specify the area to draw in (e.g. excluding the frame).
<p>
Changing the margins will trigger a resizeEvent().
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWheelEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.RenderFlag.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QWidget.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QWidget.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>