~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qfocusframe.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/gui/widgets/qfocusframe.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QFocusFrame Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QFocusFrame Class Reference</h1>
 
21
<p>The QFocusFrame widget provides a focus frame which can be outside of a widget's normal paintable area. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QFocusFrame&gt;</pre><p>Part of the <a href="qtgui.html">QtGui</a> module.</p>
 
23
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
 
24
<ul>
 
25
<li><a href="qfocusframe-members.html">List of all members, including inherited members</a></li>
 
26
</ul>
 
27
<a name="public-functions"></a>
 
28
<h3>Public Functions</h3>
 
29
<ul>
 
30
<li><div class="fn"/><b><a href="qfocusframe.html#QFocusFrame">QFocusFrame</a></b> ( QWidget * <i>parent</i> = 0 )</li>
 
31
<li><div class="fn"/><b><a href="qfocusframe.html#dtor.QFocusFrame">~QFocusFrame</a></b> ()</li>
 
32
<li><div class="fn"/>void <b><a href="qfocusframe.html#setWidget">setWidget</a></b> ( QWidget * <i>widget</i> )</li>
 
33
<li><div class="fn"/>QWidget * <b><a href="qfocusframe.html#widget">widget</a></b> () const</li>
 
34
</ul>
 
35
<ul>
 
36
<li><div class="fn"/>183 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
 
37
<li><div class="fn"/>28 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
38
<li><div class="fn"/>10 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
 
39
</ul>
 
40
<h3>Additional Inherited Members</h3>
 
41
<ul>
 
42
<li><div class="fn"/>52 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
 
43
<li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
44
<li><div class="fn"/>17 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
 
45
<li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
 
46
<li><div class="fn"/>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
 
47
<li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
 
48
<li><div class="fn"/>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
 
49
<li><div class="fn"/>4 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
 
50
<li><div class="fn"/>39 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
 
51
<li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
52
</ul>
 
53
<a name="details"></a>
 
54
<hr />
 
55
<h2>Detailed Description</h2>
 
56
<p>The QFocusFrame widget provides a focus frame which can be outside of a widget's normal paintable area.</p>
 
57
<p>Normally an application will not need to create its own QFocusFrame as <a href="qstyle.html">QStyle</a> will handle this detail for you. A style writer can optionally use a QFocusFrame 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 <a href="qwidget.html">QWidget</a> with QFocusFrame::setWidget. It is, however, legal to create your own QFocusFrame 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.</p>
 
58
<hr />
 
59
<h2>Member Function Documentation</h2>
 
60
<h3 class="fn"><a name="QFocusFrame"></a>QFocusFrame::QFocusFrame ( <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
 
61
<p>Constructs a <a href="qfocusframe.html">QFocusFrame</a>.</p>
 
62
<p>The focus frame will not monitor <i>parent</i> for updates but rather can be placed manually or by using QFocusFrame::setWidget. A <a href="qfocusframe.html">QFocusFrame</a> sets <a href="qt.html#WidgetAttribute-enum">Qt::WA_NoChildEventsForParent</a> attribute; as a result the parent will not receive a <a href="qevent.html#Type-enum">QEvent::ChildInserted</a> event, this will make it possible to manually set the geometry of the <a href="qfocusframe.html">QFocusFrame</a> inside of a <a href="qsplitter.html">QSplitter</a> or other child event monitoring widget.</p>
 
63
<p>See also <a href="qfocusframe.html#setWidget">QFocusFrame::setWidget</a>().</p>
 
64
<h3 class="fn"><a name="dtor.QFocusFrame"></a>QFocusFrame::~QFocusFrame ()</h3>
 
65
<p>Destructor.</p>
 
66
<h3 class="fn"><a name="setWidget"></a>void QFocusFrame::setWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i> )</h3>
 
67
<p><a href="qfocusframe.html">QFocusFrame</a> will track changes to <i>widget</i> and resize itself automatically. If the monitored widget's parent changes, <a href="qfocusframe.html">QFocusFrame</a> will follow the widget and place itself around the widget automatically. If the monitored widget is deleted, <a href="qfocusframe.html">QFocusFrame</a> will set it to zero.</p>
 
68
<p>See also <a href="qfocusframe.html#widget">QFocusFrame::widget</a>().</p>
 
69
<h3 class="fn"><a name="widget"></a><a href="qwidget.html">QWidget</a> * QFocusFrame::widget () const</h3>
 
70
<p>Returns the currently monitored widget for automatically resize and update.</p>
 
71
<p>See also <a href="qfocusframe.html#setWidget">QFocusFrame::setWidget</a>().</p>
 
72
<p /><address><hr /><div align="center">
 
73
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
74
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
75
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
76
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
77
</tr></table></div></address></body>
 
78
</html>