<class name="QFocusFrame" doc="/**
&lt;p&gt;The &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; widget provides a focus frame which can be outside of a widget's normal paintable area.&lt;/p&gt;
&lt;p&gt;Normally an application will not need to create its own &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; as &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; will handle this detail for you. A style writer can optionally use a &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; to have a focus area outside of the widget's paintable geometry. In this way space need not be reserved for the widget to have focus but only set on a &lt;a href=&quot;QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; with QFocusFrame::setWidget. It is, however, legal to create your own &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; on a custom widget and set its geometry manually via QWidget::setGeometry however you will not get auto-placement when the focused widget changes size or placement.&lt;/p&gt;
 */">
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QFocusFrame(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The focus frame will not monitor &lt;tt&gt;parent&lt;/tt&gt; for updates but rather can be placed manually or by using QFocusFrame::setWidget. A &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; sets Qt::WA_NoChildEventsForParent attribute; as a result the parent will not receive a QEvent::ChildInserted event, this will make it possible to manually set the geometry of the &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; inside of a &lt;a href=&quot;QSplitter.html&quot;&gt;&lt;tt&gt;QSplitter&lt;/tt&gt;&lt;/a&gt; or other child event monitoring widget.&lt;/p&gt;

@see &lt;tt&gt;QFocusFrame::setWidget&lt;/tt&gt; */"/>
    <method name="public QFocusFrame()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final void setWidget(com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;&lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; will track changes to &lt;tt&gt;widget&lt;/tt&gt; and resize itself automatically. If the monitored widget's parent changes, &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; will follow the widget and place itself around the widget automatically. If the monitored widget is deleted, &lt;a href=&quot;QFocusFrame.html#QFocusFrame(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFocusFrame&lt;/tt&gt;&lt;/a&gt; will set it to zero.&lt;/p&gt;

@see &lt;tt&gt;QFocusFrame::widget&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget widget()" doc="/**
&lt;p&gt;Returns the currently monitored widget for automatically resize and update.&lt;/p&gt;

@see &lt;tt&gt;QFocusFrame::setWidget&lt;/tt&gt; */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean eventFilter(com.trolltech.qt.core.QObject arg__1, com.trolltech.qt.core.QEvent arg__2)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>
