IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QVideoDeviceSelectorControl Class

The QVideoDeviceSelectorControl class provides an video device selector media control.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QVideoDeviceSelectorControl Class

  • Header: QVideoDeviceSelectorControl

  • qmake: QT += multimedia

  • Inherits: QMediaControl

  • Inherited By:

  • Group: QVideoDeviceSelectorControl is part of multimedia_control

Detailed Description

The QVideoDeviceSelectorControl class provides descriptions of the video devices available on a system and allows one to be selected as the endpoint of a media service.

The interface name of QVideoDeviceSelectorControl is org.qt-project.qt.videodeviceselectorcontrol/5.0 as defined in QVideoDeviceSelectorControl_iid.

Member Function Documentation

 

[explicit protected] QVideoDeviceSelectorControl::QVideoDeviceSelectorControl(QObject *parent = nullptr)

Constructs a video device selector control with the given parent.

[virtual] QVideoDeviceSelectorControl::~QVideoDeviceSelectorControl()

Destroys a video device selector control.

[pure virtual] int QVideoDeviceSelectorControl::defaultDevice() const

Returns the index of the default video device.

[pure virtual] int QVideoDeviceSelectorControl::deviceCount() const

Returns the number of available video devices;

[pure virtual] QString QVideoDeviceSelectorControl::deviceDescription(int index) const

Returns a description of the video device at index.

[pure virtual] QString QVideoDeviceSelectorControl::deviceName(int index) const

Returns the name of the video device at index.

void QVideoDeviceSelectorControl::devicesChanged()

Signals that the list of available video devices has changed.

[pure virtual] int QVideoDeviceSelectorControl::selectedDevice() const

Returns the index of the selected video device.

See Also

See also setSelectedDevice()

void QVideoDeviceSelectorControl::selectedDeviceChanged(int index)

Signals that the selected video device index has changed.

void QVideoDeviceSelectorControl::selectedDeviceChanged(const QString &name)

Signals that the selected video device name has changed.

[pure virtual] void QVideoDeviceSelectorControl::setSelectedDevice(int index)

Sets the selected video device index.

See Also

See also selectedDevice()

Macro Documentation

 

QCameraInfoControl_iid

org.qt-project.qt.camerainfocontrol/5.3

Defines the interface name of the QCameraInfoControl class.

QVideoDeviceSelectorControl_iid

org.qt-project.qt.videodeviceselectorcontrol/5.0

Defines the interface name of the QVideoDeviceSelectorControl class.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+