Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 945

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KPopupFrame</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KPopupFrame</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Frame with popup menu behaviour. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kdatetbl_h.html">kdatetbl.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qframe.html">QFrame</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KPopupFrame.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref5">KPopupFrame</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent=0, const char*  name=0) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref6">setMainWidget</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* m) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref7">resizeEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qresizeevent.html">QResizeEvent</A>*) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref8">popup</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> &pos) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref9">exec</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> p) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref10">exec</A></b> (int x, int y) 
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref4">close</A></b> (int r) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>void &nbsp;<b><A HREF="#ref2">keyPressEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qkeyevent.html">QKeyEvent</A>* e) 
</LI>
</ul><h4>Protected Members</h4><ul><LI>int <b><A HREF="#ref1">result</A></b></LI>
<LI>QWidget *<b><A HREF="#ref3">main</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Frame with popup menu behaviour.
</p>
<A NAME="result"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int  <strong>result</strong>
</td><td align="right"><h3><strong>result</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="keyPressEvent"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>keyPressEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qkeyevent.html">QKeyEvent</A>* e)
<br></td><td align="right"><h3><strong>keyPressEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="main"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * <strong>main</strong>
</td><td align="right"><h3><strong>main</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="close"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>close</strong> (int r)
<br></td><td align="right"><h3><strong>close</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Close the popup window. This is called from the main widget, usually.
      r is the result returned from exec(). </p>
<A NAME="KPopupFrame"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KPopupFrame</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent=0, const char*  name=0)
<br></td><td align="right"><h3><strong>KPopupFrame</strong></h3></td></tr></table><p></p><A NAME="setMainWidget"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setMainWidget</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* m)
<br></td><td align="right"><h3><strong>setMainWidget</strong></h3></td></tr></table><p></p><p> Set the main widget. You cannot set the main widget from the constructor,
      since it must be a child of the frame itselfes.
      Be careful: the size is set to the main widgets size. It is up to you to
      set the main widgets correct size before setting it as the main
      widget. </p>
<A NAME="resizeEvent"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>resizeEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qresizeevent.html">QResizeEvent</A>*)
<br></td><td align="right"><h3><strong>resizeEvent</strong></h3></td></tr></table><p></p><p> The resize event. Simply resizes the main widget to the whole
      widgets client size. </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qframe.html#e92816">QFrame</A>.</p>
<A NAME="popup"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>popup</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> &pos)
<br></td><td align="right"><h3><strong>popup</strong></h3></td></tr></table><p></p><A NAME="exec"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>exec</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> p)
<br></td><td align="right"><h3><strong>exec</strong></h3></td></tr></table><p></p><A NAME="exec"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>exec</strong> (int x, int y)
<br></td><td align="right"><h3><strong>exec</strong></h3></td></tr></table><p></p><HR><UL><LI><i>Version</i>: $Id: kdatetbl.h,v 1.20 2001/05/03 00:18:49 mirko Exp $
</LI><LI><i>Author</i>: Tim Gilman, Mirko Boehm
</LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>