Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CWebCamViewer Class Reference

#include <WebCamViewer.h>

Inheritance diagram for CWebCamViewer::

CCamWindow QMainWindow List of all members.

Public Types

Public Methods

Public Attributes

Protected Methods

Protected Slots


Detailed Description

A class for the usual webcam activity: take pictures, save them do disk and/or upload to a server.


Constructor & Destructor Documentation

CWebCamViewer::CWebCamViewer ( CVideoDevice * video,
const QSize & hint_size,
QWidget * parent = 0,
const char * name = 0 )
 

CWebCamViewer::~CWebCamViewer ( )
 


Member Function Documentation

void CWebCamViewer::CallAdjustSize ( ) [protected, slot]
 

Work around for adjustSize().

Because sometimes adjustSize() doesn't have the desired (or a delayed) effect, we call it through a single-shot timer. Unfortunately adjustSize() isn't a slot, so this is just a wrapper function.

void CWebCamViewer::DeviceChangedSize ( const QSize & new_size ) [protected, slot]
 

Called from CVideoDevice::Resized

void CWebCamViewer::DeviceError ( int err_no ) [protected, slot]
 

void CWebCamViewer::RecalcTotalViewSize ( ) [protected]
 

Calculate the total required viewing area, based on video image and 'last snapshot'.


Member Data Documentation

bool CWebCamViewer::ErrorCondition
 

QUrl CWebCamViewer::LocalUrl
 

QUrl CWebCamViewer::RemoteUrl
 

time_t CWebCamViewer::StartTime
 

int CWebCamViewer::State
 

QUrlOperator* CWebCamViewer::pClient
 


The documentation for this class was generated from the following files:
Generated at Wed Jun 20 02:51:26 2001 for Camstream by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001