]> git.defcon.no Git - qopencamwidget/blobdiff - doc/html/classQOpenCamWidget.html
Removing the docs from svn. These are generatet using doxygen anyways.
[qopencamwidget] / doc / html / classQOpenCamWidget.html
diff --git a/doc/html/classQOpenCamWidget.html b/doc/html/classQOpenCamWidget.html
deleted file mode 100644 (file)
index a9aecff..0000000
+++ /dev/null
@@ -1,530 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>QOpenCamWidget: QOpenCamWidget Class Reference</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
-<link href="tabs.css" rel="stylesheet" type="text/css">
-</head><body>
-<!-- Generated by Doxygen 1.5.6 -->
-<div class="navigation" id="top">
-  <div class="tabs">
-    <ul>
-      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
-      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
-      <li><a href="files.html"><span>Files</span></a></li>
-    </ul>
-  </div>
-  <div class="tabs">
-    <ul>
-      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
-      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
-    </ul>
-  </div>
-</div>
-<div class="contents">
-<h1>QOpenCamWidget Class Reference</h1><!-- doxytag: class="QOpenCamWidget" --><code>#include &lt;<a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>&gt;</code>
-<p>
-
-<p>
-<a href="classQOpenCamWidget-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
-<tr><td></td></tr>
-<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#27c30cec9a8d44c1802e4218bea7bdb4">grabFrame</a> (void)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Grabs a frame and causes an update() when triggered.  <a href="#27c30cec9a8d44c1802e4218bea7bdb4"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#82540c90d3efa85631f13af3a60fa94b">startSnap</a> ()</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Trigger this slot to save a frame from the widget.  <a href="#82540c90d3efa85631f13af3a60fa94b"></a><br></td></tr>
-<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#d410be92ce25ff591726ba255070d09e">imageReady</a> (QImage snapshot)</td></tr>
-
-<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#5835e06a54f1b09b4fd157d88dc72b6e">QOpenCamWidget</a> (QWidget *parent=0)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Consctructs a QWidget based widget for displaying video coming from an OpenCV capture source.  <a href="#5835e06a54f1b09b4fd157d88dc72b6e"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#b0ad4890d7d638354289e074a6f71a3f">~QOpenCamWidget</a> (void)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#c6186d1e510b5c8635b2d3bf5d94def6">paintEvent</a> (QPaintEvent *event)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A paint event is a request to repaint all or part of a widget.  <a href="#c6186d1e510b5c8635b2d3bf5d94def6"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#8f885a8bb88870cd19cfc9eb4e02e2ce">setSnapshotVisible</a> (bool visible)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the visibility of the optional built-in "Take snapshot" button.  <a href="#8f885a8bb88870cd19cfc9eb4e02e2ce"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#23574314cbd7a74bc6f32a640041d55a">grabCapture</a> (int source)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Grabs an OpenCV video capture source.  <a href="#23574314cbd7a74bc6f32a640041d55a"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#b378daa447e8d9b94e1c7c8c6853b880">startCapture</a> (void)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Starts up grabbing of video frames.  <a href="#b378daa447e8d9b94e1c7c8c6853b880"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QImage *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#aba8721f46b41d76326e048e3c876f1d">Ipl2QImage</a> (const IplImage *img)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts from the OpenCV IplImage data structure to a QImage.  <a href="#aba8721f46b41d76326e048e3c876f1d"></a><br></td></tr>
-<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">CvCapture *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#fde0c9d47e2ea44f2aeea499fd570368">capture</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QTimer *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#2e70551b39fd2bd15fc99ca4fa12107f">frametimer</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QImage *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#92dab283a477c1b8a6d6d5470d5ef94d">nextFrame</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QLabel *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#7ac719f26d5f4a0a80ac6e4ffd4fe46d">canvas</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QVBoxLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#e91d147fdd20819b56ebd7861d7ab44e">layout</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">QPushButton *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#a0aaf9bfc43d01979a7af03741620624">trigger</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQOpenCamWidget.html#1718e4971977520cfe642daa78e1997e">trigger_active</a></td></tr>
-
-</table>
-<hr><a name="_details"></a><h2>Detailed Description</h2>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00029">29</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-<hr><h2>Constructor &amp; Destructor Documentation</h2>
-<a class="anchor" name="5835e06a54f1b09b4fd157d88dc72b6e"></a><!-- doxytag: member="QOpenCamWidget::QOpenCamWidget" ref="5835e06a54f1b09b4fd157d88dc72b6e" args="(QWidget *parent=0)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QOpenCamWidget::QOpenCamWidget           </td>
-          <td>(</td>
-          <td class="paramtype">QWidget *&nbsp;</td>
-          <td class="paramname"> <em>parent</em> = <code>0</code>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Consctructs a QWidget based widget for displaying video coming from an OpenCV capture source. 
-<p>
-Including webcam data in a Qt application can be problematic, at least as long as Phonon does not support webcams, and the Phonon GStreamer backend only supports simple pipelines.<p>
-This class solves the complexity of adding a webcam view, by using the cross-platform available OpenCV library.<p>
-Limitations, i.e. reasons to read this code and reimplement, are: saving or streaming video is not really available (unless you do repeated timer-triggered connections to the startSnap slot), the widget size is identical to the video source dimensions (it resizes the wodget using setMinimuSize to the video dimensions, and does not handle resizing to sizes above this dimension.<p>
-A brief summary of how to use this class: <div class="fragment"><pre class="fragment"> <a class="code" href="classQOpenCamWidget.html">QOpenCamWidget</a> *cw = <span class="keyword">new</span> <a class="code" href="classQOpenCamWidget.html#5835e06a54f1b09b4fd157d88dc72b6e" title="Consctructs a QWidget based widget for displaying video coming from an OpenCV capture...">QOpenCamWidget</a>(<span class="keyword">this</span>);
- <span class="keywordflow">if</span> ( cw-&gt;<a class="code" href="classQOpenCamWidget.html#23574314cbd7a74bc6f32a640041d55a" title="Grabs an OpenCV video capture source.">grabCapture</a>(-1) ) {
-   cw-&gt;<a class="code" href="classQOpenCamWidget.html#8f885a8bb88870cd19cfc9eb4e02e2ce" title="Changes the visibility of the optional built-in &amp;quot;Take snapshot&amp;quot; button...">setSnapshotVisible</a>(<span class="keyword">true</span>);
-   cw-&gt;<a class="code" href="classQOpenCamWidget.html#b378daa447e8d9b94e1c7c8c6853b880" title="Starts up grabbing of video frames.">startCapture</a>();
- }
- connect( cw, SIGNAL(<a class="code" href="classQOpenCamWidget.html#d410be92ce25ff591726ba255070d09e">imageReady</a>(QImage)), <span class="keyword">this</span>, SLOT(saveImage(QImage)));
-</pre></div><p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>*parent</em>&nbsp;</td><td>The parent widget containing this widget, defaults to NULL. </td></tr>
-  </table>
-</dl>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00060">60</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00039">canvas</a>, <a class="el" href="qopencamwidget_8h-source.html#l00036">frametimer</a>, <a class="el" href="qopencamwidget_8h-source.html#l00040">layout</a>, <a class="el" href="qopencamwidget_8h-source.html#l00037">nextFrame</a>, <a class="el" href="qopencamwidget_8h-source.html#l00041">trigger</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00042">trigger_active</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="b0ad4890d7d638354289e074a6f71a3f"></a><!-- doxytag: member="QOpenCamWidget::~QOpenCamWidget" ref="b0ad4890d7d638354289e074a6f71a3f" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QOpenCamWidget::~QOpenCamWidget           </td>
-          <td>(</td>
-          <td class="paramtype">void&nbsp;</td>
-          <td class="paramname">          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00088">88</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00039">canvas</a>, <a class="el" href="qopencamwidget_8h-source.html#l00035">capture</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00041">trigger</a>.</p>
-
-</div>
-</div><p>
-<hr><h2>Member Function Documentation</h2>
-<a class="anchor" name="c6186d1e510b5c8635b2d3bf5d94def6"></a><!-- doxytag: member="QOpenCamWidget::paintEvent" ref="c6186d1e510b5c8635b2d3bf5d94def6" args="(QPaintEvent *event)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::paintEvent           </td>
-          <td>(</td>
-          <td class="paramtype">QPaintEvent *&nbsp;</td>
-          <td class="paramname"> <em>event</em>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-A paint event is a request to repaint all or part of a widget. 
-<p>
-It can happen for one of the following reasons:<p>
-<ul>
-<li>repaint() or update() was invoked, </li>
-<li>the widget was obscured and has now been uncovered, or </li>
-<li>many other reasons.</li>
-</ul>
-<a class="el" href="classQOpenCamWidget.html">QOpenCamWidget</a> uses the paintEvent to draw each frame onto the screen. The paintEvent itself is regularily triggered by explicit update() calls in <a class="el" href="classQOpenCamWidget.html#27c30cec9a8d44c1802e4218bea7bdb4" title="Grabs a frame and causes an update() when triggered.">QOpenCamWidget::grabFrame()</a>. 
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00144">144</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00039">canvas</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00037">nextFrame</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="8f885a8bb88870cd19cfc9eb4e02e2ce"></a><!-- doxytag: member="QOpenCamWidget::setSnapshotVisible" ref="8f885a8bb88870cd19cfc9eb4e02e2ce" args="(bool visible)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::setSnapshotVisible           </td>
-          <td>(</td>
-          <td class="paramtype">bool&nbsp;</td>
-          <td class="paramname"> <em>visible</em>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Changes the visibility of the optional built-in "Take snapshot" button. 
-<p>
-The widget contains a push-button that optionally can be displayed. When visible, this button is located at the bottom of the widget, and causes the SLOT <a class="el" href="classQOpenCamWidget.html#82540c90d3efa85631f13af3a60fa94b" title="Trigger this slot to save a frame from the widget.">QOpenCamWidget::startSnap</a> to be triggered when clicked.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>visible</em>&nbsp;</td><td>True makes the button display, and trigger, false turns the feature off. False, i.e. no button, is default. </td></tr>
-  </table>
-</dl>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00110">110</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00040">layout</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00306">startSnap()</a>, <a class="el" href="qopencamwidget_8h-source.html#l00041">trigger</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00042">trigger_active</a>.</p>
-
-<p>Referenced by <a class="el" href="view_8cpp-source.html#l00032">View::View()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="23574314cbd7a74bc6f32a640041d55a"></a><!-- doxytag: member="QOpenCamWidget::grabCapture" ref="23574314cbd7a74bc6f32a640041d55a" args="(int source)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">bool QOpenCamWidget::grabCapture           </td>
-          <td>(</td>
-          <td class="paramtype">int&nbsp;</td>
-          <td class="paramname"> <em>source</em>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Grabs an OpenCV video capture source. 
-<p>
-By grabbing a source, it is meant to open the capture source, and have it ready to start streaming/capturing frames. Returns true on success, false on error. The grabCapture is separated from the constructor and/or frame-grabbing, so that you may do the error-checking you really should do before proceeding.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The OpenCV capture source enumeration index to open </td></tr>
-  </table>
-</dl>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00183">183</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00039">canvas</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00035">capture</a>.</p>
-
-<p>Referenced by <a class="el" href="view_8cpp-source.html#l00032">View::View()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="b378daa447e8d9b94e1c7c8c6853b880"></a><!-- doxytag: member="QOpenCamWidget::startCapture" ref="b378daa447e8d9b94e1c7c8c6853b880" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::startCapture           </td>
-          <td>(</td>
-          <td class="paramtype">void&nbsp;</td>
-          <td class="paramname">          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Starts up grabbing of video frames. 
-<p>
-The actual grabbing and displaying of video frames is performed by a QTimer triggering the SLOT <a class="el" href="classQOpenCamWidget.html#27c30cec9a8d44c1802e4218bea7bdb4" title="Grabs a frame and causes an update() when triggered.">QOpenCamWidget::grabFrame()</a>. <a class="el" href="classQOpenCamWidget.html#b378daa447e8d9b94e1c7c8c6853b880" title="Starts up grabbing of video frames.">startCapture()</a> sets up the timer running this captureFrame loop.<p>
-The SLOT <a class="el" href="classQOpenCamWidget.html#82540c90d3efa85631f13af3a60fa94b" title="Trigger this slot to save a frame from the widget.">QOpenCamWidget::startSnap()</a> is used to get image frames out from the widget for other uses, like saving or processing. This function relies on the timer created and configured by <a class="el" href="classQOpenCamWidget.html#b378daa447e8d9b94e1c7c8c6853b880" title="Starts up grabbing of video frames.">startCapture()</a>, and as such, this function is the only permitted way to start the actual capture/streaming of video from the source. 
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00217">217</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00036">frametimer</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00266">grabFrame()</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00041">trigger</a>.</p>
-
-<p>Referenced by <a class="el" href="view_8cpp-source.html#l00032">View::View()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="aba8721f46b41d76326e048e3c876f1d"></a><!-- doxytag: member="QOpenCamWidget::Ipl2QImage" ref="aba8721f46b41d76326e048e3c876f1d" args="(const IplImage *img)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QImage * QOpenCamWidget::Ipl2QImage           </td>
-          <td>(</td>
-          <td class="paramtype">const IplImage *&nbsp;</td>
-          <td class="paramname"> <em>img</em>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Converts from the OpenCV IplImage data structure to a QImage. 
-<p>
-OpenCV uses a data strcuture calles IplImage, optimized for computer vision image processing tasks. This code was adapted from kcamwidget.cpp, part of the KDE SVN at playground/multimedia/kcam/kcamwidget.cpp<p>
-In regard that the IplImage can be forced into a format that aligns well with a RBG888-format, the conversion becomes one of the shortes, simples IplImage-&gt;QImage I've seen.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>*img</em>&nbsp;</td><td>The IplImage to be converted to a QImage. </td></tr>
-  </table>
-</dl>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00241">241</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00266">grabFrame()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="27c30cec9a8d44c1802e4218bea7bdb4"></a><!-- doxytag: member="QOpenCamWidget::grabFrame" ref="27c30cec9a8d44c1802e4218bea7bdb4" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::grabFrame           </td>
-          <td>(</td>
-          <td class="paramtype">void&nbsp;</td>
-          <td class="paramname">          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td><code> [slot]</code></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Grabs a frame and causes an update() when triggered. 
-<p>
-This is the SLOT that actually reads the video source and causes the widget to display live video. Preferably this slot will never be called my any other signal that a timeout() on the frametimer, which is controlled by <a class="el" href="classQOpenCamWidget.html#b378daa447e8d9b94e1c7c8c6853b880" title="Starts up grabbing of video frames.">QOpenCamWidget::startCapture()</a> 
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00266">266</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00035">capture</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00241">Ipl2QImage()</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00037">nextFrame</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00217">startCapture()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="82540c90d3efa85631f13af3a60fa94b"></a><!-- doxytag: member="QOpenCamWidget::startSnap" ref="82540c90d3efa85631f13af3a60fa94b" args="()" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::startSnap           </td>
-          <td>(</td>
-          <td class="paramtype">void&nbsp;</td>
-          <td class="paramname">          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td><code> [slot]</code></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-Trigger this slot to save a frame from the widget. 
-<p>
-When this slot is triggered, the widgets capture loop is temporarily stopped, and the last displayed frame is "captured", and made available through the emitting of the class imageReady SIGNAL.<p>
-With the "Take snapshot" button visible (setSnapshotVisible(true)), this SLOT is triggered when the user clicks on the trigger button. If you do not wish to use the internal trigger button, you will have to add a different mechanism to trigger this SLOT.<p>
-It is possible, though I would not recommend, to use repeated triggering of this slot to do repeated frame-capture, and thus make a form of "Animation" or "Video" capture. 
-<p>Definition at line <a class="el" href="qopencamwidget_8cpp-source.html#l00306">306</a> of file <a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a>.</p>
-
-<p>References <a class="el" href="qopencamwidget_8h-source.html#l00036">frametimer</a>, <a class="el" href="classQOpenCamWidget.html#d410be92ce25ff591726ba255070d09e">imageReady()</a>, and <a class="el" href="qopencamwidget_8h-source.html#l00037">nextFrame</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00110">setSnapshotVisible()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="d410be92ce25ff591726ba255070d09e"></a><!-- doxytag: member="QOpenCamWidget::imageReady" ref="d410be92ce25ff591726ba255070d09e" args="(QImage snapshot)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">void QOpenCamWidget::imageReady           </td>
-          <td>(</td>
-          <td class="paramtype">QImage&nbsp;</td>
-          <td class="paramname"> <em>snapshot</em>          </td>
-          <td>&nbsp;)&nbsp;</td>
-          <td><code> [signal]</code></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00306">startSnap()</a>.</p>
-
-</div>
-</div><p>
-<hr><h2>Member Data Documentation</h2>
-<a class="anchor" name="fde0c9d47e2ea44f2aeea499fd570368"></a><!-- doxytag: member="QOpenCamWidget::capture" ref="fde0c9d47e2ea44f2aeea499fd570368" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">CvCapture* <a class="el" href="classQOpenCamWidget.html#fde0c9d47e2ea44f2aeea499fd570368">QOpenCamWidget::capture</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00035">35</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00183">grabCapture()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00266">grabFrame()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00088">~QOpenCamWidget()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="2e70551b39fd2bd15fc99ca4fa12107f"></a><!-- doxytag: member="QOpenCamWidget::frametimer" ref="2e70551b39fd2bd15fc99ca4fa12107f" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QTimer* <a class="el" href="classQOpenCamWidget.html#2e70551b39fd2bd15fc99ca4fa12107f">QOpenCamWidget::frametimer</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00036">36</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00217">startCapture()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00306">startSnap()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="92dab283a477c1b8a6d6d5470d5ef94d"></a><!-- doxytag: member="QOpenCamWidget::nextFrame" ref="92dab283a477c1b8a6d6d5470d5ef94d" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QImage* <a class="el" href="classQOpenCamWidget.html#92dab283a477c1b8a6d6d5470d5ef94d">QOpenCamWidget::nextFrame</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00037">37</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00266">grabFrame()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00144">paintEvent()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00306">startSnap()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="7ac719f26d5f4a0a80ac6e4ffd4fe46d"></a><!-- doxytag: member="QOpenCamWidget::canvas" ref="7ac719f26d5f4a0a80ac6e4ffd4fe46d" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QLabel* <a class="el" href="classQOpenCamWidget.html#7ac719f26d5f4a0a80ac6e4ffd4fe46d">QOpenCamWidget::canvas</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00039">39</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00183">grabCapture()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00144">paintEvent()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00088">~QOpenCamWidget()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="e91d147fdd20819b56ebd7861d7ab44e"></a><!-- doxytag: member="QOpenCamWidget::layout" ref="e91d147fdd20819b56ebd7861d7ab44e" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QVBoxLayout* <a class="el" href="classQOpenCamWidget.html#e91d147fdd20819b56ebd7861d7ab44e">QOpenCamWidget::layout</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00040">40</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00110">setSnapshotVisible()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="a0aaf9bfc43d01979a7af03741620624"></a><!-- doxytag: member="QOpenCamWidget::trigger" ref="a0aaf9bfc43d01979a7af03741620624" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">QPushButton* <a class="el" href="classQOpenCamWidget.html#a0aaf9bfc43d01979a7af03741620624">QOpenCamWidget::trigger</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00041">41</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00110">setSnapshotVisible()</a>, <a class="el" href="qopencamwidget_8cpp-source.html#l00217">startCapture()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00088">~QOpenCamWidget()</a>.</p>
-
-</div>
-</div><p>
-<a class="anchor" name="1718e4971977520cfe642daa78e1997e"></a><!-- doxytag: member="QOpenCamWidget::trigger_active" ref="1718e4971977520cfe642daa78e1997e" args="" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">bool <a class="el" href="classQOpenCamWidget.html#1718e4971977520cfe642daa78e1997e">QOpenCamWidget::trigger_active</a><code> [private]</code>          </td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>Definition at line <a class="el" href="qopencamwidget_8h-source.html#l00042">42</a> of file <a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a>.</p>
-
-<p>Referenced by <a class="el" href="qopencamwidget_8cpp-source.html#l00060">QOpenCamWidget()</a>, and <a class="el" href="qopencamwidget_8cpp-source.html#l00110">setSnapshotVisible()</a>.</p>
-
-</div>
-</div><p>
-<hr>The documentation for this class was generated from the following files:<ul>
-<li><a class="el" href="qopencamwidget_8h-source.html">qopencamwidget.h</a><li><a class="el" href="qopencamwidget_8cpp-source.html">qopencamwidget.cpp</a></ul>
-</div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 11 01:49:57 2009 for QOpenCamWidget by&nbsp;
-<a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
-</body>
-</html>