Main Page   Class Hierarchy   Compound List   File List   Compound Members  

QVSourcePlugin Class Reference

Video source plugin base class. More...

#include <qvsrcplugin.h>

Inheritance diagram for QVSourcePlugin::

QVPluginBase QtVisionV4L QtVisionXv List of all members.

Public Slots

virtual int setDevice (const QString &dev)=0
virtual int setSource (const QString &src)=0
virtual void setFrequency (int freq)=0
virtual void setNorm (int norm)
virtual void setMuted (bool muted)=0
virtual void setBrightness (int val)=0
virtual void setColour (int val)=0
virtual void setHue (int val)=0
virtual void setContrast (int val)=0
virtual void setWhiteness (int val)=0
virtual int startVideo ()=0
virtual int stopVideo ()=0
virtual void viewResized (int w, int h)=0
virtual void viewMoved (int x, int y)
virtual int setVideoDesktop (bool on)=0

Public Methods

 QVSourcePlugin (QtVision *qtv, const QString &cfgkey, QObject *parent=0, const char *name=0)
virtual ~QVSourcePlugin ()
virtual int brightness ()=0
virtual int colour ()=0
virtual int hue ()=0
virtual int contrast ()=0
virtual int whiteness ()=0
virtual int frequency ()=0
virtual int signal ()=0
virtual bool muted ()=0
virtual int tunerMode ()=0
virtual bool isTuner ()=0
virtual QColor colourKey ()=0
virtual bool needsNorm () const
virtual int norm () const
bool isTuner (const QString &dev)
virtual const QStringList & deviceList () const
virtual const QStringList & sourceList (const QString &dev) const
virtual QString device () const
virtual QString source () const
virtual int probeDevices ()=0
void setWidget (QWidget *w)
virtual bool videoPlaying () const=0
virtual bool canVideoDesktop () const
virtual bool canGrabStill () const
virtual bool grabStill (QPixmap *pix)

Protected Attributes

QStringList _devices
QMap< QString, QStringList > _sources
QMap< QString, bool > _tuners
QString _device
QString _source
QWidget * _widget
bool _isVideoDesktop
bool _isTuner

Detailed Description

Video source plugin base class.


Member Function Documentation

virtual int QVSourcePlugin::brightness [pure virtual]
 

To get various values.

Reimplemented in QtVisionV4L, and QtVisionXv.

virtual bool QVSourcePlugin::isTuner [pure virtual]
 

True if the CURRENT RUNNING device is a tuner device.

Reimplemented in QtVisionV4L, and QtVisionXv.

bool QVSourcePlugin::isTuner const QString & dev
 

True if this device is a tuner device.

Do not override this. Provide this information in _tuners.

virtual int QVSourcePlugin::setDevice const QString & dev [pure virtual, slot]
 

Sets the device to use.

Reimplemented in QtVisionV4L, and QtVisionXv.

virtual int QVSourcePlugin::setSource const QString & src [pure virtual, slot]
 

Sets the source to use.

Reimplemented in QtVisionV4L, and QtVisionXv.

virtual void QVSourcePlugin::setFrequency int freq [pure virtual, slot]
 

Sets the current current channel.

Reimplemented in QtVisionV4L, and QtVisionXv.

virtual void QVSourcePlugin::setNorm int n [virtual, slot]
 

Set the norm for the plugin.

(NTSC, PAL, SECAM, etc)

Reimplemented in QtVisionV4L.

virtual void QVSourcePlugin::setMuted bool muted [pure virtual, slot]
 

Mutes the sound.

Reimplemented in QtVisionV4L, and QtVisionXv.


The documentation for this class was generated from the following file:
Generated at Thu Jan 30 02:56:03 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001