#include <qvsrcplugin.h>
Inheritance diagram for QVSourcePlugin::
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 |
|
To get various values.
Reimplemented in QtVisionV4L, and QtVisionXv. |
|
True if the CURRENT RUNNING device is a tuner device.
Reimplemented in QtVisionV4L, and QtVisionXv. |
|
True if this device is a tuner device. Do not override this. Provide this information in _tuners. |
|
Sets the device to use.
Reimplemented in QtVisionV4L, and QtVisionXv. |
|
Sets the source to use.
Reimplemented in QtVisionV4L, and QtVisionXv. |
|
Sets the current current channel.
Reimplemented in QtVisionV4L, and QtVisionXv. |
|
Set the norm for the plugin. (NTSC, PAL, SECAM, etc) Reimplemented in QtVisionV4L. |
|
Mutes the sound.
Reimplemented in QtVisionV4L, and QtVisionXv. |