<html> <head> <title>Camstream: CamStream API documentation</title> <link rel="stylesheet" href="../../tech.css" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.2.6 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>CCamWindow Class Reference</h1>Base class for use on <a class="el" href="class_ccamstreammainwindow.html">CCamStreamMainWindow</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="camwindow_h-source.html">CamWindow.h</a>></code> <p> <p>Inheritance diagram for CCamWindow:: <p><center><img src="class_ccamwindow.gif" usemap="#CCamWindow_map" border="0"></center> <map name="CCamWindow_map"> <area href="class_qmainwindow.html" alt="QMainWindow" shape="rect" coords="0,0,111,24"> <area href="class_cwebcamviewer.html" alt="CWebCamViewer" shape="rect" coords="0,112,111,136"> </map> <a href="class_ccamwindow-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li>virtual <a class="el" href="class_ccamwindow.html#a0">~CCamWindow</a> () </ul> <h2>Protected Methods</h2> <ul> <li><a class="el" href="class_ccamwindow.html#b0">CCamWindow</a> (<a class="el" href="class_qwidget.html">QWidget</a> *parent=0, const char *name=0) </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> Base class for use on <a class="el" href="class_ccamstreammainwindow.html">CCamStreamMainWindow</a>. <p> <p> This class includes a gross hack :-) <p> I wanted a MDI (multiple document interface) application; each window would then show a webcam viewer, a video-conferencing receiver, etc. But I wanted each class of windows to have their own toolbar(s) and status bar. The only Qt class that maintains toolbars properly is the <a class="el" href="class_qmainwindow.html">QMainWindow</a> class. However, <a class="el" href="class_qmainwindow.html">QMainWindow</a> is normally used as the app's main window, and therefor a <a class="el" href="class_qmainwindow.html">QMainWindow</a> is a top-level window by default. But by surpressing the top-level flag, I can create QMainWindows upon other widgets. <p> In fact, CamStream's main window (<a class="el" href="class_ccamstreammainwindow.html">CCamStreamMainWindow</a>) is a <a class="el" href="class_qmainwindow.html">QMainWindow</a>, with a QWorkspace as central widget (for the MDI stuff). The windows placed on this central widget/workspace are themselves now QMainWindows, but as a simple child-class. The full functionality of the <a class="el" href="class_qmainwindow.html">QMainWindow</a> is still available. <p> The only thing that should not be used is a Menu on these child windows, because it would be VERY confusing to have menubars on MDI windows. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="b0" doxytag="CCamWindow::CCamWindow"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> CCamWindow::CCamWindow ( </b></td> <td valign="bottom"><b> <a class="el" href="class_qwidget.html">QWidget</a> * <em>parent</em> = 0, </b></td> </tr> <tr> <td></td> <td><b> const char * <em>name</em> = 0 )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> constructor. <p> <p> This constructor is protected since calling this class directly is useless. </td> </tr> </table> <a name="a0" doxytag="CCamWindow::~CCamWindow"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual CCamWindow::~CCamWindow ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="camwindow_cc.html">CamWindow.cc</a><li><a class="el" href="camwindow_h-source.html">CamWindow.h</a></ul> <hr><address><small>Generated at Sat May 18 02:56:55 2002 for Camstream by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>