1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6from QtWidgets import * 7 8import datetime 9 10class QAbstractVideoBuffer(): 11 """""" 12 # Enum QAbstractVideoBuffer.MapMode 13 NotMapped = 0 14 ReadOnly = 0 15 WriteOnly = 0 16 ReadWrite = 0 17 18 # Enum QAbstractVideoBuffer.HandleType 19 NoHandle = 0 20 GLTextureHandle = 0 21 XvShmImageHandle = 0 22 CoreImageHandle = 0 23 QPixmapHandle = 0 24 EGLImageHandle = 0 25 UserHandle = 0 26 27 def __init__(self, type): 28 '''void QAbstractVideoBuffer.__init__(QAbstractVideoBuffer.HandleType type)''' 29 def release(self): 30 '''void QAbstractVideoBuffer.release()''' 31 def handle(self): 32 '''QVariant QAbstractVideoBuffer.handle()''' 33 return QVariant() 34 def unmap(self): 35 '''abstract void QAbstractVideoBuffer.unmap()''' 36 def map(self, mode, numBytes, bytesPerLine): 37 '''abstract sip.voidptr QAbstractVideoBuffer.map(QAbstractVideoBuffer.MapMode mode, int numBytes, int bytesPerLine)''' 38 return sip.voidptr() 39 def mapMode(self): 40 '''abstract QAbstractVideoBuffer.MapMode QAbstractVideoBuffer.mapMode()''' 41 return QAbstractVideoBuffer.MapMode() 42 def handleType(self): 43 '''QAbstractVideoBuffer.HandleType QAbstractVideoBuffer.handleType()''' 44 return QAbstractVideoBuffer.HandleType() 45 46 47class QVideoFilterRunnable(): 48 """""" 49 # Enum QVideoFilterRunnable.RunFlag 50 LastInChain = 0 51 52 def __init__(self): 53 '''void QVideoFilterRunnable.__init__()''' 54 def __init__(self): 55 '''QVideoFilterRunnable QVideoFilterRunnable.__init__()''' 56 return QVideoFilterRunnable() 57 def run(self, input, surfaceFormat, flags): 58 '''abstract QVideoFrame QVideoFilterRunnable.run(QVideoFrame input, QVideoSurfaceFormat surfaceFormat, QVideoFilterRunnable.RunFlags flags)''' 59 return QVideoFrame() 60 class RunFlags(): 61 """""" 62 def __init__(self): 63 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__init__()''' 64 return QVideoFilterRunnable.RunFlags() 65 def __init__(self): 66 '''int QVideoFilterRunnable.RunFlags.__init__()''' 67 return int() 68 def __init__(self): 69 '''void QVideoFilterRunnable.RunFlags.__init__()''' 70 def __bool__(self): 71 '''int QVideoFilterRunnable.RunFlags.__bool__()''' 72 return int() 73 def __ne__(self, f): 74 '''bool QVideoFilterRunnable.RunFlags.__ne__(QVideoFilterRunnable.RunFlags f)''' 75 return bool() 76 def __eq__(self, f): 77 '''bool QVideoFilterRunnable.RunFlags.__eq__(QVideoFilterRunnable.RunFlags f)''' 78 return bool() 79 def __invert__(self): 80 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__invert__()''' 81 return QVideoFilterRunnable.RunFlags() 82 def __and__(self, mask): 83 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__and__(int mask)''' 84 return QVideoFilterRunnable.RunFlags() 85 def __xor__(self, f): 86 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__xor__(QVideoFilterRunnable.RunFlags f)''' 87 return QVideoFilterRunnable.RunFlags() 88 def __xor__(self, f): 89 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__xor__(int f)''' 90 return QVideoFilterRunnable.RunFlags() 91 def __or__(self, f): 92 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__or__(QVideoFilterRunnable.RunFlags f)''' 93 return QVideoFilterRunnable.RunFlags() 94 def __or__(self, f): 95 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__or__(int f)''' 96 return QVideoFilterRunnable.RunFlags() 97 def __int__(self): 98 '''int QVideoFilterRunnable.RunFlags.__int__()''' 99 return int() 100 def __ixor__(self, f): 101 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__ixor__(QVideoFilterRunnable.RunFlags f)''' 102 return QVideoFilterRunnable.RunFlags() 103 def __ior__(self, f): 104 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__ior__(QVideoFilterRunnable.RunFlags f)''' 105 return QVideoFilterRunnable.RunFlags() 106 def __iand__(self, mask): 107 '''QVideoFilterRunnable.RunFlags QVideoFilterRunnable.RunFlags.__iand__(int mask)''' 108 return QVideoFilterRunnable.RunFlags() 109 110 111class QAbstractVideoFilter(QObject): 112 """""" 113 def __init__(self, parent = None): 114 '''void QAbstractVideoFilter.__init__(QObject parent = None)''' 115 activeChanged = pyqtSignal() # void activeChanged() - signal 116 def createFilterRunnable(self): 117 '''abstract QVideoFilterRunnable QAbstractVideoFilter.createFilterRunnable()''' 118 return QVideoFilterRunnable() 119 def isActive(self): 120 '''bool QAbstractVideoFilter.isActive()''' 121 return bool() 122 123 124class QAbstractVideoSurface(QObject): 125 """""" 126 # Enum QAbstractVideoSurface.Error 127 NoError = 0 128 UnsupportedFormatError = 0 129 IncorrectFormatError = 0 130 StoppedError = 0 131 ResourceError = 0 132 133 def __init__(self, parent = None): 134 '''void QAbstractVideoSurface.__init__(QObject parent = None)''' 135 nativeResolutionChanged = pyqtSignal() # void nativeResolutionChanged(const QSizeamp;) - signal 136 def setNativeResolution(self, resolution): 137 '''void QAbstractVideoSurface.setNativeResolution(QSize resolution)''' 138 def nativeResolution(self): 139 '''QSize QAbstractVideoSurface.nativeResolution()''' 140 return QSize() 141 def setError(self, error): 142 '''void QAbstractVideoSurface.setError(QAbstractVideoSurface.Error error)''' 143 supportedFormatsChanged = pyqtSignal() # void supportedFormatsChanged() - signal 144 surfaceFormatChanged = pyqtSignal() # void surfaceFormatChanged(const QVideoSurfaceFormatamp;) - signal 145 activeChanged = pyqtSignal() # void activeChanged(bool) - signal 146 def error(self): 147 '''QAbstractVideoSurface.Error QAbstractVideoSurface.error()''' 148 return QAbstractVideoSurface.Error() 149 def present(self, frame): 150 '''abstract bool QAbstractVideoSurface.present(QVideoFrame frame)''' 151 return bool() 152 def isActive(self): 153 '''bool QAbstractVideoSurface.isActive()''' 154 return bool() 155 def stop(self): 156 '''void QAbstractVideoSurface.stop()''' 157 def start(self, format): 158 '''bool QAbstractVideoSurface.start(QVideoSurfaceFormat format)''' 159 return bool() 160 def surfaceFormat(self): 161 '''QVideoSurfaceFormat QAbstractVideoSurface.surfaceFormat()''' 162 return QVideoSurfaceFormat() 163 def nearestFormat(self, format): 164 '''QVideoSurfaceFormat QAbstractVideoSurface.nearestFormat(QVideoSurfaceFormat format)''' 165 return QVideoSurfaceFormat() 166 def isFormatSupported(self, format): 167 '''bool QAbstractVideoSurface.isFormatSupported(QVideoSurfaceFormat format)''' 168 return bool() 169 def supportedPixelFormats(self, type = None): 170 '''abstract list-of-QVideoFrame.PixelFormat QAbstractVideoSurface.supportedPixelFormats(QAbstractVideoBuffer.HandleType type = QAbstractVideoBuffer.NoHandle)''' 171 return [QVideoFrame.PixelFormat()] 172 173 174class QAudio(): 175 """""" 176 # Enum QAudio.Mode 177 AudioInput = 0 178 AudioOutput = 0 179 180 # Enum QAudio.State 181 ActiveState = 0 182 SuspendedState = 0 183 StoppedState = 0 184 IdleState = 0 185 186 # Enum QAudio.Error 187 NoError = 0 188 OpenError = 0 189 IOError = 0 190 UnderrunError = 0 191 FatalError = 0 192 193 194 195class QAudioBuffer(): 196 """""" 197 def __init__(self): 198 '''void QAudioBuffer.__init__()''' 199 def __init__(self, data, format, startTime = None): 200 '''void QAudioBuffer.__init__(QByteArray data, QAudioFormat format, int startTime = -1)''' 201 def __init__(self, numFrames, format, startTime = None): 202 '''void QAudioBuffer.__init__(int numFrames, QAudioFormat format, int startTime = -1)''' 203 def __init__(self, other): 204 '''void QAudioBuffer.__init__(QAudioBuffer other)''' 205 def data(self): 206 '''sip.voidptr QAudioBuffer.data()''' 207 return sip.voidptr() 208 def constData(self): 209 '''sip.voidptr QAudioBuffer.constData()''' 210 return sip.voidptr() 211 def startTime(self): 212 '''int QAudioBuffer.startTime()''' 213 return int() 214 def duration(self): 215 '''int QAudioBuffer.duration()''' 216 return int() 217 def byteCount(self): 218 '''int QAudioBuffer.byteCount()''' 219 return int() 220 def sampleCount(self): 221 '''int QAudioBuffer.sampleCount()''' 222 return int() 223 def frameCount(self): 224 '''int QAudioBuffer.frameCount()''' 225 return int() 226 def format(self): 227 '''QAudioFormat QAudioBuffer.format()''' 228 return QAudioFormat() 229 def isValid(self): 230 '''bool QAudioBuffer.isValid()''' 231 return bool() 232 233 234class QMediaObject(QObject): 235 """""" 236 def __init__(self, parent, service): 237 '''void QMediaObject.__init__(QObject parent, QMediaService service)''' 238 def removePropertyWatch(self, name): 239 '''void QMediaObject.removePropertyWatch(QByteArray name)''' 240 def addPropertyWatch(self, name): 241 '''void QMediaObject.addPropertyWatch(QByteArray name)''' 242 availabilityChanged = pyqtSignal() # void availabilityChanged(QMultimedia::AvailabilityStatus) - signal 243 metaDataChanged = pyqtSignal() # void metaDataChanged() - signal 244 metaDataChanged = pyqtSignal() # void metaDataChanged(const QStringamp;,const QVariantamp;) - signal 245 metaDataAvailableChanged = pyqtSignal() # void metaDataAvailableChanged(bool) - signal 246 notifyIntervalChanged = pyqtSignal() # void notifyIntervalChanged(int) - signal 247 def availableMetaData(self): 248 '''list-of-str QMediaObject.availableMetaData()''' 249 return [str()] 250 def metaData(self, key): 251 '''QVariant QMediaObject.metaData(str key)''' 252 return QVariant() 253 def isMetaDataAvailable(self): 254 '''bool QMediaObject.isMetaDataAvailable()''' 255 return bool() 256 def unbind(self): 257 '''QObject QMediaObject.unbind()''' 258 return QObject() 259 def bind(self): 260 '''QObject QMediaObject.bind()''' 261 return QObject() 262 def setNotifyInterval(self, milliSeconds): 263 '''void QMediaObject.setNotifyInterval(int milliSeconds)''' 264 def notifyInterval(self): 265 '''int QMediaObject.notifyInterval()''' 266 return int() 267 def service(self): 268 '''QMediaService QMediaObject.service()''' 269 return QMediaService() 270 def availability(self): 271 '''QMultimedia.AvailabilityStatus QMediaObject.availability()''' 272 return QMultimedia.AvailabilityStatus() 273 def isAvailable(self): 274 '''bool QMediaObject.isAvailable()''' 275 return bool() 276 277 278class QAudioDecoder(QMediaObject): 279 """""" 280 # Enum QAudioDecoder.Error 281 NoError = 0 282 ResourceError = 0 283 FormatError = 0 284 AccessDeniedError = 0 285 ServiceMissingError = 0 286 287 # Enum QAudioDecoder.State 288 StoppedState = 0 289 DecodingState = 0 290 291 def __init__(self, parent = None): 292 '''void QAudioDecoder.__init__(QObject parent = None)''' 293 def unbind(self): 294 '''QObject QAudioDecoder.unbind()''' 295 return QObject() 296 def bind(self): 297 '''QObject QAudioDecoder.bind()''' 298 return QObject() 299 durationChanged = pyqtSignal() # void durationChanged(qint64) - signal 300 positionChanged = pyqtSignal() # void positionChanged(qint64) - signal 301 sourceChanged = pyqtSignal() # void sourceChanged() - signal 302 formatChanged = pyqtSignal() # void formatChanged(const QAudioFormatamp;) - signal 303 stateChanged = pyqtSignal() # void stateChanged(QAudioDecoder::State) - signal 304 finished = pyqtSignal() # void finished() - signal 305 bufferReady = pyqtSignal() # void bufferReady() - signal 306 bufferAvailableChanged = pyqtSignal() # void bufferAvailableChanged(bool) - signal 307 def stop(self): 308 '''void QAudioDecoder.stop()''' 309 def start(self): 310 '''void QAudioDecoder.start()''' 311 def duration(self): 312 '''int QAudioDecoder.duration()''' 313 return int() 314 def position(self): 315 '''int QAudioDecoder.position()''' 316 return int() 317 def bufferAvailable(self): 318 '''bool QAudioDecoder.bufferAvailable()''' 319 return bool() 320 def read(self): 321 '''QAudioBuffer QAudioDecoder.read()''' 322 return QAudioBuffer() 323 def errorString(self): 324 '''str QAudioDecoder.errorString()''' 325 return str() 326 def error(self): 327 '''QAudioDecoder.Error QAudioDecoder.error()''' 328 return QAudioDecoder.Error() 329 error = pyqtSignal() # void error(QAudioDecoder::Error) - signal 330 def setAudioFormat(self, format): 331 '''void QAudioDecoder.setAudioFormat(QAudioFormat format)''' 332 def audioFormat(self): 333 '''QAudioFormat QAudioDecoder.audioFormat()''' 334 return QAudioFormat() 335 def setSourceDevice(self, device): 336 '''void QAudioDecoder.setSourceDevice(QIODevice device)''' 337 def sourceDevice(self): 338 '''QIODevice QAudioDecoder.sourceDevice()''' 339 return QIODevice() 340 def setSourceFilename(self, fileName): 341 '''void QAudioDecoder.setSourceFilename(str fileName)''' 342 def sourceFilename(self): 343 '''str QAudioDecoder.sourceFilename()''' 344 return str() 345 def state(self): 346 '''QAudioDecoder.State QAudioDecoder.state()''' 347 return QAudioDecoder.State() 348 def hasSupport(self, mimeType, codecs = strList()): 349 '''static QMultimedia.SupportEstimate QAudioDecoder.hasSupport(str mimeType, list-of-str codecs = strList())''' 350 return QMultimedia.SupportEstimate() 351 352 353class QAudioDeviceInfo(): 354 """""" 355 def __init__(self): 356 '''void QAudioDeviceInfo.__init__()''' 357 def __init__(self, other): 358 '''void QAudioDeviceInfo.__init__(QAudioDeviceInfo other)''' 359 def __ne__(self, other): 360 '''bool QAudioDeviceInfo.__ne__(QAudioDeviceInfo other)''' 361 return bool() 362 def __eq__(self, other): 363 '''bool QAudioDeviceInfo.__eq__(QAudioDeviceInfo other)''' 364 return bool() 365 def supportedChannelCounts(self): 366 '''list-of-int QAudioDeviceInfo.supportedChannelCounts()''' 367 return [int()] 368 def supportedSampleRates(self): 369 '''list-of-int QAudioDeviceInfo.supportedSampleRates()''' 370 return [int()] 371 def availableDevices(self, mode): 372 '''static list-of-QAudioDeviceInfo QAudioDeviceInfo.availableDevices(QAudio.Mode mode)''' 373 return [QAudioDeviceInfo()] 374 def defaultOutputDevice(self): 375 '''static QAudioDeviceInfo QAudioDeviceInfo.defaultOutputDevice()''' 376 return QAudioDeviceInfo() 377 def defaultInputDevice(self): 378 '''static QAudioDeviceInfo QAudioDeviceInfo.defaultInputDevice()''' 379 return QAudioDeviceInfo() 380 def supportedSampleTypes(self): 381 '''list-of-QAudioFormat.SampleType QAudioDeviceInfo.supportedSampleTypes()''' 382 return [QAudioFormat.SampleType()] 383 def supportedByteOrders(self): 384 '''list-of-QAudioFormat.Endian QAudioDeviceInfo.supportedByteOrders()''' 385 return [QAudioFormat.Endian()] 386 def supportedSampleSizes(self): 387 '''list-of-int QAudioDeviceInfo.supportedSampleSizes()''' 388 return [int()] 389 def supportedCodecs(self): 390 '''list-of-str QAudioDeviceInfo.supportedCodecs()''' 391 return [str()] 392 def nearestFormat(self, format): 393 '''QAudioFormat QAudioDeviceInfo.nearestFormat(QAudioFormat format)''' 394 return QAudioFormat() 395 def preferredFormat(self): 396 '''QAudioFormat QAudioDeviceInfo.preferredFormat()''' 397 return QAudioFormat() 398 def isFormatSupported(self, format): 399 '''bool QAudioDeviceInfo.isFormatSupported(QAudioFormat format)''' 400 return bool() 401 def deviceName(self): 402 '''str QAudioDeviceInfo.deviceName()''' 403 return str() 404 def isNull(self): 405 '''bool QAudioDeviceInfo.isNull()''' 406 return bool() 407 408 409class QAudioFormat(): 410 """""" 411 # Enum QAudioFormat.Endian 412 BigEndian = 0 413 LittleEndian = 0 414 415 # Enum QAudioFormat.SampleType 416 Unknown = 0 417 SignedInt = 0 418 UnSignedInt = 0 419 Float = 0 420 421 def __init__(self): 422 '''void QAudioFormat.__init__()''' 423 def __init__(self, other): 424 '''void QAudioFormat.__init__(QAudioFormat other)''' 425 def bytesPerFrame(self): 426 '''int QAudioFormat.bytesPerFrame()''' 427 return int() 428 def durationForFrames(self, frameCount): 429 '''int QAudioFormat.durationForFrames(int frameCount)''' 430 return int() 431 def framesForDuration(self, duration): 432 '''int QAudioFormat.framesForDuration(int duration)''' 433 return int() 434 def framesForBytes(self, byteCount): 435 '''int QAudioFormat.framesForBytes(int byteCount)''' 436 return int() 437 def bytesForFrames(self, frameCount): 438 '''int QAudioFormat.bytesForFrames(int frameCount)''' 439 return int() 440 def durationForBytes(self, byteCount): 441 '''int QAudioFormat.durationForBytes(int byteCount)''' 442 return int() 443 def bytesForDuration(self, duration): 444 '''int QAudioFormat.bytesForDuration(int duration)''' 445 return int() 446 def channelCount(self): 447 '''int QAudioFormat.channelCount()''' 448 return int() 449 def setChannelCount(self, channelCount): 450 '''void QAudioFormat.setChannelCount(int channelCount)''' 451 def sampleRate(self): 452 '''int QAudioFormat.sampleRate()''' 453 return int() 454 def setSampleRate(self, sampleRate): 455 '''void QAudioFormat.setSampleRate(int sampleRate)''' 456 def sampleType(self): 457 '''QAudioFormat.SampleType QAudioFormat.sampleType()''' 458 return QAudioFormat.SampleType() 459 def setSampleType(self, sampleType): 460 '''void QAudioFormat.setSampleType(QAudioFormat.SampleType sampleType)''' 461 def byteOrder(self): 462 '''QAudioFormat.Endian QAudioFormat.byteOrder()''' 463 return QAudioFormat.Endian() 464 def setByteOrder(self, byteOrder): 465 '''void QAudioFormat.setByteOrder(QAudioFormat.Endian byteOrder)''' 466 def codec(self): 467 '''str QAudioFormat.codec()''' 468 return str() 469 def setCodec(self, codec): 470 '''void QAudioFormat.setCodec(str codec)''' 471 def sampleSize(self): 472 '''int QAudioFormat.sampleSize()''' 473 return int() 474 def setSampleSize(self, sampleSize): 475 '''void QAudioFormat.setSampleSize(int sampleSize)''' 476 def isValid(self): 477 '''bool QAudioFormat.isValid()''' 478 return bool() 479 def __ne__(self, other): 480 '''bool QAudioFormat.__ne__(QAudioFormat other)''' 481 return bool() 482 def __eq__(self, other): 483 '''bool QAudioFormat.__eq__(QAudioFormat other)''' 484 return bool() 485 486 487class QAudioInput(QObject): 488 """""" 489 def __init__(self, format = QAudioFormat(), parent = None): 490 '''void QAudioInput.__init__(QAudioFormat format = QAudioFormat(), QObject parent = None)''' 491 def __init__(self, audioDevice, format = QAudioFormat(), parent = None): 492 '''void QAudioInput.__init__(QAudioDeviceInfo audioDevice, QAudioFormat format = QAudioFormat(), QObject parent = None)''' 493 def volume(self): 494 '''float QAudioInput.volume()''' 495 return float() 496 def setVolume(self, volume): 497 '''void QAudioInput.setVolume(float volume)''' 498 notify = pyqtSignal() # void notify() - signal 499 stateChanged = pyqtSignal() # void stateChanged(QAudio::State) - signal 500 def state(self): 501 '''QAudio.State QAudioInput.state()''' 502 return QAudio.State() 503 def error(self): 504 '''QAudio.Error QAudioInput.error()''' 505 return QAudio.Error() 506 def elapsedUSecs(self): 507 '''int QAudioInput.elapsedUSecs()''' 508 return int() 509 def processedUSecs(self): 510 '''int QAudioInput.processedUSecs()''' 511 return int() 512 def notifyInterval(self): 513 '''int QAudioInput.notifyInterval()''' 514 return int() 515 def setNotifyInterval(self, milliSeconds): 516 '''void QAudioInput.setNotifyInterval(int milliSeconds)''' 517 def periodSize(self): 518 '''int QAudioInput.periodSize()''' 519 return int() 520 def bytesReady(self): 521 '''int QAudioInput.bytesReady()''' 522 return int() 523 def bufferSize(self): 524 '''int QAudioInput.bufferSize()''' 525 return int() 526 def setBufferSize(self, bytes): 527 '''void QAudioInput.setBufferSize(int bytes)''' 528 def resume(self): 529 '''void QAudioInput.resume()''' 530 def suspend(self): 531 '''void QAudioInput.suspend()''' 532 def reset(self): 533 '''void QAudioInput.reset()''' 534 def stop(self): 535 '''void QAudioInput.stop()''' 536 def start(self, device): 537 '''void QAudioInput.start(QIODevice device)''' 538 def start(self): 539 '''QIODevice QAudioInput.start()''' 540 return QIODevice() 541 def format(self): 542 '''QAudioFormat QAudioInput.format()''' 543 return QAudioFormat() 544 545 546class QAudioOutput(QObject): 547 """""" 548 def __init__(self, format = QAudioFormat(), parent = None): 549 '''void QAudioOutput.__init__(QAudioFormat format = QAudioFormat(), QObject parent = None)''' 550 def __init__(self, audioDevice, format = QAudioFormat(), parent = None): 551 '''void QAudioOutput.__init__(QAudioDeviceInfo audioDevice, QAudioFormat format = QAudioFormat(), QObject parent = None)''' 552 def setCategory(self, category): 553 '''void QAudioOutput.setCategory(str category)''' 554 def category(self): 555 '''str QAudioOutput.category()''' 556 return str() 557 def volume(self): 558 '''float QAudioOutput.volume()''' 559 return float() 560 def setVolume(self): 561 '''float QAudioOutput.setVolume()''' 562 return float() 563 notify = pyqtSignal() # void notify() - signal 564 stateChanged = pyqtSignal() # void stateChanged(QAudio::State) - signal 565 def state(self): 566 '''QAudio.State QAudioOutput.state()''' 567 return QAudio.State() 568 def error(self): 569 '''QAudio.Error QAudioOutput.error()''' 570 return QAudio.Error() 571 def elapsedUSecs(self): 572 '''int QAudioOutput.elapsedUSecs()''' 573 return int() 574 def processedUSecs(self): 575 '''int QAudioOutput.processedUSecs()''' 576 return int() 577 def notifyInterval(self): 578 '''int QAudioOutput.notifyInterval()''' 579 return int() 580 def setNotifyInterval(self, milliSeconds): 581 '''void QAudioOutput.setNotifyInterval(int milliSeconds)''' 582 def periodSize(self): 583 '''int QAudioOutput.periodSize()''' 584 return int() 585 def bytesFree(self): 586 '''int QAudioOutput.bytesFree()''' 587 return int() 588 def bufferSize(self): 589 '''int QAudioOutput.bufferSize()''' 590 return int() 591 def setBufferSize(self, bytes): 592 '''void QAudioOutput.setBufferSize(int bytes)''' 593 def resume(self): 594 '''void QAudioOutput.resume()''' 595 def suspend(self): 596 '''void QAudioOutput.suspend()''' 597 def reset(self): 598 '''void QAudioOutput.reset()''' 599 def stop(self): 600 '''void QAudioOutput.stop()''' 601 def start(self, device): 602 '''void QAudioOutput.start(QIODevice device)''' 603 def start(self): 604 '''QIODevice QAudioOutput.start()''' 605 return QIODevice() 606 def format(self): 607 '''QAudioFormat QAudioOutput.format()''' 608 return QAudioFormat() 609 610 611class QAudioProbe(QObject): 612 """""" 613 def __init__(self, parent = None): 614 '''void QAudioProbe.__init__(QObject parent = None)''' 615 flush = pyqtSignal() # void flush() - signal 616 audioBufferProbed = pyqtSignal() # void audioBufferProbed(const QAudioBufferamp;) - signal 617 def isActive(self): 618 '''bool QAudioProbe.isActive()''' 619 return bool() 620 def setSource(self, source): 621 '''bool QAudioProbe.setSource(QMediaObject source)''' 622 return bool() 623 def setSource(self, source): 624 '''bool QAudioProbe.setSource(QMediaRecorder source)''' 625 return bool() 626 627 628class QMediaBindableInterface(): 629 """""" 630 def __init__(self): 631 '''void QMediaBindableInterface.__init__()''' 632 def __init__(self): 633 '''QMediaBindableInterface QMediaBindableInterface.__init__()''' 634 return QMediaBindableInterface() 635 def setMediaObject(self, object): 636 '''abstract bool QMediaBindableInterface.setMediaObject(QMediaObject object)''' 637 return bool() 638 def mediaObject(self): 639 '''abstract QMediaObject QMediaBindableInterface.mediaObject()''' 640 return QMediaObject() 641 642 643class QMediaRecorder(QObject, QMediaBindableInterface): 644 """""" 645 # Enum QMediaRecorder.Error 646 NoError = 0 647 ResourceError = 0 648 FormatError = 0 649 OutOfSpaceError = 0 650 651 # Enum QMediaRecorder.Status 652 UnavailableStatus = 0 653 UnloadedStatus = 0 654 LoadingStatus = 0 655 LoadedStatus = 0 656 StartingStatus = 0 657 RecordingStatus = 0 658 PausedStatus = 0 659 FinalizingStatus = 0 660 661 # Enum QMediaRecorder.State 662 StoppedState = 0 663 RecordingState = 0 664 PausedState = 0 665 666 def __init__(self, mediaObject, parent = None): 667 '''void QMediaRecorder.__init__(QMediaObject mediaObject, QObject parent = None)''' 668 def setMediaObject(self, object): 669 '''bool QMediaRecorder.setMediaObject(QMediaObject object)''' 670 return bool() 671 availabilityChanged = pyqtSignal() # void availabilityChanged(QMultimedia::AvailabilityStatus) - signal 672 metaDataChanged = pyqtSignal() # void metaDataChanged(const QStringamp;,const QVariantamp;) - signal 673 metaDataWritableChanged = pyqtSignal() # void metaDataWritableChanged(bool) - signal 674 metaDataAvailableChanged = pyqtSignal() # void metaDataAvailableChanged(bool) - signal 675 actualLocationChanged = pyqtSignal() # void actualLocationChanged(const QUrlamp;) - signal 676 volumeChanged = pyqtSignal() # void volumeChanged(qreal) - signal 677 mutedChanged = pyqtSignal() # void mutedChanged(bool) - signal 678 durationChanged = pyqtSignal() # void durationChanged(qint64) - signal 679 statusChanged = pyqtSignal() # void statusChanged(QMediaRecorder::Status) - signal 680 stateChanged = pyqtSignal() # void stateChanged(QMediaRecorder::State) - signal 681 def setVolume(self, volume): 682 '''void QMediaRecorder.setVolume(float volume)''' 683 def setMuted(self, muted): 684 '''void QMediaRecorder.setMuted(bool muted)''' 685 def stop(self): 686 '''void QMediaRecorder.stop()''' 687 def pause(self): 688 '''void QMediaRecorder.pause()''' 689 def record(self): 690 '''void QMediaRecorder.record()''' 691 def availableMetaData(self): 692 '''list-of-str QMediaRecorder.availableMetaData()''' 693 return [str()] 694 def setMetaData(self, key, value): 695 '''void QMediaRecorder.setMetaData(str key, QVariant value)''' 696 def metaData(self, key): 697 '''QVariant QMediaRecorder.metaData(str key)''' 698 return QVariant() 699 def isMetaDataWritable(self): 700 '''bool QMediaRecorder.isMetaDataWritable()''' 701 return bool() 702 def isMetaDataAvailable(self): 703 '''bool QMediaRecorder.isMetaDataAvailable()''' 704 return bool() 705 def setEncodingSettings(self, audio, video = QVideoEncoderSettings(), container = str()): 706 '''void QMediaRecorder.setEncodingSettings(QAudioEncoderSettings audio, QVideoEncoderSettings video = QVideoEncoderSettings(), str container = str())''' 707 def setContainerFormat(self, container): 708 '''void QMediaRecorder.setContainerFormat(str container)''' 709 def setVideoSettings(self, videoSettings): 710 '''void QMediaRecorder.setVideoSettings(QVideoEncoderSettings videoSettings)''' 711 def setAudioSettings(self, audioSettings): 712 '''void QMediaRecorder.setAudioSettings(QAudioEncoderSettings audioSettings)''' 713 def containerFormat(self): 714 '''str QMediaRecorder.containerFormat()''' 715 return str() 716 def videoSettings(self): 717 '''QVideoEncoderSettings QMediaRecorder.videoSettings()''' 718 return QVideoEncoderSettings() 719 def audioSettings(self): 720 '''QAudioEncoderSettings QMediaRecorder.audioSettings()''' 721 return QAudioEncoderSettings() 722 def supportedFrameRates(self, settings = QVideoEncoderSettings(), continuous = None): 723 '''list-of-float QMediaRecorder.supportedFrameRates(QVideoEncoderSettings settings = QVideoEncoderSettings(), bool continuous)''' 724 return [float()] 725 def supportedResolutions(self, settings = QVideoEncoderSettings(), continuous = None): 726 '''list-of-QSize QMediaRecorder.supportedResolutions(QVideoEncoderSettings settings = QVideoEncoderSettings(), bool continuous)''' 727 return [QSize()] 728 def videoCodecDescription(self, codecName): 729 '''str QMediaRecorder.videoCodecDescription(str codecName)''' 730 return str() 731 def supportedVideoCodecs(self): 732 '''list-of-str QMediaRecorder.supportedVideoCodecs()''' 733 return [str()] 734 def supportedAudioSampleRates(self, settings = QAudioEncoderSettings(), continuous = None): 735 '''list-of-int QMediaRecorder.supportedAudioSampleRates(QAudioEncoderSettings settings = QAudioEncoderSettings(), bool continuous)''' 736 return [int()] 737 def audioCodecDescription(self, codecName): 738 '''str QMediaRecorder.audioCodecDescription(str codecName)''' 739 return str() 740 def supportedAudioCodecs(self): 741 '''list-of-str QMediaRecorder.supportedAudioCodecs()''' 742 return [str()] 743 def containerDescription(self, format): 744 '''str QMediaRecorder.containerDescription(str format)''' 745 return str() 746 def supportedContainers(self): 747 '''list-of-str QMediaRecorder.supportedContainers()''' 748 return [str()] 749 def volume(self): 750 '''float QMediaRecorder.volume()''' 751 return float() 752 def isMuted(self): 753 '''bool QMediaRecorder.isMuted()''' 754 return bool() 755 def duration(self): 756 '''int QMediaRecorder.duration()''' 757 return int() 758 def errorString(self): 759 '''str QMediaRecorder.errorString()''' 760 return str() 761 def error(self): 762 '''QMediaRecorder.Error QMediaRecorder.error()''' 763 return QMediaRecorder.Error() 764 error = pyqtSignal() # void error(QMediaRecorder::Error) - signal 765 def status(self): 766 '''QMediaRecorder.Status QMediaRecorder.status()''' 767 return QMediaRecorder.Status() 768 def state(self): 769 '''QMediaRecorder.State QMediaRecorder.state()''' 770 return QMediaRecorder.State() 771 def actualLocation(self): 772 '''QUrl QMediaRecorder.actualLocation()''' 773 return QUrl() 774 def setOutputLocation(self, location): 775 '''bool QMediaRecorder.setOutputLocation(QUrl location)''' 776 return bool() 777 def outputLocation(self): 778 '''QUrl QMediaRecorder.outputLocation()''' 779 return QUrl() 780 def availability(self): 781 '''QMultimedia.AvailabilityStatus QMediaRecorder.availability()''' 782 return QMultimedia.AvailabilityStatus() 783 def isAvailable(self): 784 '''bool QMediaRecorder.isAvailable()''' 785 return bool() 786 def mediaObject(self): 787 '''QMediaObject QMediaRecorder.mediaObject()''' 788 return QMediaObject() 789 790 791class QAudioRecorder(QMediaRecorder): 792 """""" 793 def __init__(self, parent = None): 794 '''void QAudioRecorder.__init__(QObject parent = None)''' 795 availableAudioInputsChanged = pyqtSignal() # void availableAudioInputsChanged() - signal 796 audioInputChanged = pyqtSignal() # void audioInputChanged(const QStringamp;) - signal 797 def setAudioInput(self, name): 798 '''void QAudioRecorder.setAudioInput(str name)''' 799 def audioInput(self): 800 '''str QAudioRecorder.audioInput()''' 801 return str() 802 def audioInputDescription(self, name): 803 '''str QAudioRecorder.audioInputDescription(str name)''' 804 return str() 805 def defaultAudioInput(self): 806 '''str QAudioRecorder.defaultAudioInput()''' 807 return str() 808 def audioInputs(self): 809 '''list-of-str QAudioRecorder.audioInputs()''' 810 return [str()] 811 812 813class QCamera(QMediaObject): 814 """""" 815 # Enum QCamera.Position 816 UnspecifiedPosition = 0 817 BackFace = 0 818 FrontFace = 0 819 820 # Enum QCamera.LockType 821 NoLock = 0 822 LockExposure = 0 823 LockWhiteBalance = 0 824 LockFocus = 0 825 826 # Enum QCamera.LockChangeReason 827 UserRequest = 0 828 LockAcquired = 0 829 LockFailed = 0 830 LockLost = 0 831 LockTemporaryLost = 0 832 833 # Enum QCamera.LockStatus 834 Unlocked = 0 835 Searching = 0 836 Locked = 0 837 838 # Enum QCamera.Error 839 NoError = 0 840 CameraError = 0 841 InvalidRequestError = 0 842 ServiceMissingError = 0 843 NotSupportedFeatureError = 0 844 845 # Enum QCamera.CaptureMode 846 CaptureViewfinder = 0 847 CaptureStillImage = 0 848 CaptureVideo = 0 849 850 # Enum QCamera.State 851 UnloadedState = 0 852 LoadedState = 0 853 ActiveState = 0 854 855 # Enum QCamera.Status 856 UnavailableStatus = 0 857 UnloadedStatus = 0 858 LoadingStatus = 0 859 UnloadingStatus = 0 860 LoadedStatus = 0 861 StandbyStatus = 0 862 StartingStatus = 0 863 StoppingStatus = 0 864 ActiveStatus = 0 865 866 def __init__(self, parent = None): 867 '''void QCamera.__init__(QObject parent = None)''' 868 def __init__(self, device, parent = None): 869 '''void QCamera.__init__(QByteArray device, QObject parent = None)''' 870 def __init__(self, cameraInfo, parent = None): 871 '''void QCamera.__init__(QCameraInfo cameraInfo, QObject parent = None)''' 872 def __init__(self, position, parent = None): 873 '''void QCamera.__init__(QCamera.Position position, QObject parent = None)''' 874 def supportedViewfinderPixelFormats(self, settings = QCameraViewfinderSettings()): 875 '''list-of-QVideoFrame.PixelFormat QCamera.supportedViewfinderPixelFormats(QCameraViewfinderSettings settings = QCameraViewfinderSettings())''' 876 return [QVideoFrame.PixelFormat()] 877 def supportedViewfinderFrameRateRanges(self, settings = QCameraViewfinderSettings()): 878 '''list-of-QCamera.FrameRateRange QCamera.supportedViewfinderFrameRateRanges(QCameraViewfinderSettings settings = QCameraViewfinderSettings())''' 879 return [QCamera.FrameRateRange()] 880 def supportedViewfinderResolutions(self, settings = QCameraViewfinderSettings()): 881 '''list-of-QSize QCamera.supportedViewfinderResolutions(QCameraViewfinderSettings settings = QCameraViewfinderSettings())''' 882 return [QSize()] 883 def supportedViewfinderSettings(self, settings = QCameraViewfinderSettings()): 884 '''list-of-QCameraViewfinderSettings QCamera.supportedViewfinderSettings(QCameraViewfinderSettings settings = QCameraViewfinderSettings())''' 885 return [QCameraViewfinderSettings()] 886 def setViewfinderSettings(self, settings): 887 '''void QCamera.setViewfinderSettings(QCameraViewfinderSettings settings)''' 888 def viewfinderSettings(self): 889 '''QCameraViewfinderSettings QCamera.viewfinderSettings()''' 890 return QCameraViewfinderSettings() 891 lockStatusChanged = pyqtSignal() # void lockStatusChanged(QCamera::LockStatus,QCamera::LockChangeReason) - signal 892 lockStatusChanged = pyqtSignal() # void lockStatusChanged(QCamera::LockType,QCamera::LockStatus,QCamera::LockChangeReason) - signal 893 lockFailed = pyqtSignal() # void lockFailed() - signal 894 locked = pyqtSignal() # void locked() - signal 895 statusChanged = pyqtSignal() # void statusChanged(QCamera::Status) - signal 896 captureModeChanged = pyqtSignal() # void captureModeChanged(QCamera::CaptureModes) - signal 897 stateChanged = pyqtSignal() # void stateChanged(QCamera::State) - signal 898 def unlock(self): 899 '''void QCamera.unlock()''' 900 def unlock(self, locks): 901 '''void QCamera.unlock(QCamera.LockTypes locks)''' 902 def searchAndLock(self): 903 '''void QCamera.searchAndLock()''' 904 def searchAndLock(self, locks): 905 '''void QCamera.searchAndLock(QCamera.LockTypes locks)''' 906 def stop(self): 907 '''void QCamera.stop()''' 908 def start(self): 909 '''void QCamera.start()''' 910 def unload(self): 911 '''void QCamera.unload()''' 912 def load(self): 913 '''void QCamera.load()''' 914 def setCaptureMode(self, mode): 915 '''void QCamera.setCaptureMode(QCamera.CaptureModes mode)''' 916 def lockStatus(self): 917 '''QCamera.LockStatus QCamera.lockStatus()''' 918 return QCamera.LockStatus() 919 def lockStatus(self, lock): 920 '''QCamera.LockStatus QCamera.lockStatus(QCamera.LockType lock)''' 921 return QCamera.LockStatus() 922 def requestedLocks(self): 923 '''QCamera.LockTypes QCamera.requestedLocks()''' 924 return QCamera.LockTypes() 925 def supportedLocks(self): 926 '''QCamera.LockTypes QCamera.supportedLocks()''' 927 return QCamera.LockTypes() 928 def errorString(self): 929 '''str QCamera.errorString()''' 930 return str() 931 def error(self): 932 '''QCamera.Error QCamera.error()''' 933 return QCamera.Error() 934 error = pyqtSignal() # void error(QCamera::Error) - signal 935 def setViewfinder(self, viewfinder): 936 '''void QCamera.setViewfinder(QVideoWidget viewfinder)''' 937 def setViewfinder(self, viewfinder): 938 '''void QCamera.setViewfinder(QGraphicsVideoItem viewfinder)''' 939 def setViewfinder(self, surface): 940 '''void QCamera.setViewfinder(QAbstractVideoSurface surface)''' 941 def imageProcessing(self): 942 '''QCameraImageProcessing QCamera.imageProcessing()''' 943 return QCameraImageProcessing() 944 def focus(self): 945 '''QCameraFocus QCamera.focus()''' 946 return QCameraFocus() 947 def exposure(self): 948 '''QCameraExposure QCamera.exposure()''' 949 return QCameraExposure() 950 def isCaptureModeSupported(self, mode): 951 '''bool QCamera.isCaptureModeSupported(QCamera.CaptureModes mode)''' 952 return bool() 953 def captureMode(self): 954 '''QCamera.CaptureModes QCamera.captureMode()''' 955 return QCamera.CaptureModes() 956 def status(self): 957 '''QCamera.Status QCamera.status()''' 958 return QCamera.Status() 959 def state(self): 960 '''QCamera.State QCamera.state()''' 961 return QCamera.State() 962 def availability(self): 963 '''QMultimedia.AvailabilityStatus QCamera.availability()''' 964 return QMultimedia.AvailabilityStatus() 965 def deviceDescription(self, device): 966 '''static str QCamera.deviceDescription(QByteArray device)''' 967 return str() 968 def availableDevices(self): 969 '''static list-of-QByteArray QCamera.availableDevices()''' 970 return [QByteArray()] 971 class FrameRateRange(): 972 """""" 973 maximumFrameRate = None # float - member 974 minimumFrameRate = None # float - member 975 def __init__(self, minimum, maximum): 976 '''void QCamera.FrameRateRange.__init__(float minimum, float maximum)''' 977 def __init__(self): 978 '''void QCamera.FrameRateRange.__init__()''' 979 def __init__(self): 980 '''QCamera.FrameRateRange QCamera.FrameRateRange.__init__()''' 981 return QCamera.FrameRateRange() 982 def __eq__(self, r2): 983 '''bool QCamera.FrameRateRange.__eq__(QCamera.FrameRateRange r2)''' 984 return bool() 985 def __ne__(self, r2): 986 '''bool QCamera.FrameRateRange.__ne__(QCamera.FrameRateRange r2)''' 987 return bool() 988 class CaptureModes(): 989 """""" 990 def __init__(self): 991 '''QCamera.CaptureModes QCamera.CaptureModes.__init__()''' 992 return QCamera.CaptureModes() 993 def __init__(self): 994 '''int QCamera.CaptureModes.__init__()''' 995 return int() 996 def __init__(self): 997 '''void QCamera.CaptureModes.__init__()''' 998 def __bool__(self): 999 '''int QCamera.CaptureModes.__bool__()''' 1000 return int() 1001 def __ne__(self, f): 1002 '''bool QCamera.CaptureModes.__ne__(QCamera.CaptureModes f)''' 1003 return bool() 1004 def __eq__(self, f): 1005 '''bool QCamera.CaptureModes.__eq__(QCamera.CaptureModes f)''' 1006 return bool() 1007 def __invert__(self): 1008 '''QCamera.CaptureModes QCamera.CaptureModes.__invert__()''' 1009 return QCamera.CaptureModes() 1010 def __and__(self, mask): 1011 '''QCamera.CaptureModes QCamera.CaptureModes.__and__(int mask)''' 1012 return QCamera.CaptureModes() 1013 def __xor__(self, f): 1014 '''QCamera.CaptureModes QCamera.CaptureModes.__xor__(QCamera.CaptureModes f)''' 1015 return QCamera.CaptureModes() 1016 def __xor__(self, f): 1017 '''QCamera.CaptureModes QCamera.CaptureModes.__xor__(int f)''' 1018 return QCamera.CaptureModes() 1019 def __or__(self, f): 1020 '''QCamera.CaptureModes QCamera.CaptureModes.__or__(QCamera.CaptureModes f)''' 1021 return QCamera.CaptureModes() 1022 def __or__(self, f): 1023 '''QCamera.CaptureModes QCamera.CaptureModes.__or__(int f)''' 1024 return QCamera.CaptureModes() 1025 def __int__(self): 1026 '''int QCamera.CaptureModes.__int__()''' 1027 return int() 1028 def __ixor__(self, f): 1029 '''QCamera.CaptureModes QCamera.CaptureModes.__ixor__(QCamera.CaptureModes f)''' 1030 return QCamera.CaptureModes() 1031 def __ior__(self, f): 1032 '''QCamera.CaptureModes QCamera.CaptureModes.__ior__(QCamera.CaptureModes f)''' 1033 return QCamera.CaptureModes() 1034 def __iand__(self, mask): 1035 '''QCamera.CaptureModes QCamera.CaptureModes.__iand__(int mask)''' 1036 return QCamera.CaptureModes() 1037 class LockTypes(): 1038 """""" 1039 def __init__(self): 1040 '''QCamera.LockTypes QCamera.LockTypes.__init__()''' 1041 return QCamera.LockTypes() 1042 def __init__(self): 1043 '''int QCamera.LockTypes.__init__()''' 1044 return int() 1045 def __init__(self): 1046 '''void QCamera.LockTypes.__init__()''' 1047 def __bool__(self): 1048 '''int QCamera.LockTypes.__bool__()''' 1049 return int() 1050 def __ne__(self, f): 1051 '''bool QCamera.LockTypes.__ne__(QCamera.LockTypes f)''' 1052 return bool() 1053 def __eq__(self, f): 1054 '''bool QCamera.LockTypes.__eq__(QCamera.LockTypes f)''' 1055 return bool() 1056 def __invert__(self): 1057 '''QCamera.LockTypes QCamera.LockTypes.__invert__()''' 1058 return QCamera.LockTypes() 1059 def __and__(self, mask): 1060 '''QCamera.LockTypes QCamera.LockTypes.__and__(int mask)''' 1061 return QCamera.LockTypes() 1062 def __xor__(self, f): 1063 '''QCamera.LockTypes QCamera.LockTypes.__xor__(QCamera.LockTypes f)''' 1064 return QCamera.LockTypes() 1065 def __xor__(self, f): 1066 '''QCamera.LockTypes QCamera.LockTypes.__xor__(int f)''' 1067 return QCamera.LockTypes() 1068 def __or__(self, f): 1069 '''QCamera.LockTypes QCamera.LockTypes.__or__(QCamera.LockTypes f)''' 1070 return QCamera.LockTypes() 1071 def __or__(self, f): 1072 '''QCamera.LockTypes QCamera.LockTypes.__or__(int f)''' 1073 return QCamera.LockTypes() 1074 def __int__(self): 1075 '''int QCamera.LockTypes.__int__()''' 1076 return int() 1077 def __ixor__(self, f): 1078 '''QCamera.LockTypes QCamera.LockTypes.__ixor__(QCamera.LockTypes f)''' 1079 return QCamera.LockTypes() 1080 def __ior__(self, f): 1081 '''QCamera.LockTypes QCamera.LockTypes.__ior__(QCamera.LockTypes f)''' 1082 return QCamera.LockTypes() 1083 def __iand__(self, mask): 1084 '''QCamera.LockTypes QCamera.LockTypes.__iand__(int mask)''' 1085 return QCamera.LockTypes() 1086 1087 1088class QCameraExposure(QObject): 1089 """""" 1090 # Enum QCameraExposure.MeteringMode 1091 MeteringMatrix = 0 1092 MeteringAverage = 0 1093 MeteringSpot = 0 1094 1095 # Enum QCameraExposure.ExposureMode 1096 ExposureAuto = 0 1097 ExposureManual = 0 1098 ExposurePortrait = 0 1099 ExposureNight = 0 1100 ExposureBacklight = 0 1101 ExposureSpotlight = 0 1102 ExposureSports = 0 1103 ExposureSnow = 0 1104 ExposureBeach = 0 1105 ExposureLargeAperture = 0 1106 ExposureSmallAperture = 0 1107 ExposureAction = 0 1108 ExposureLandscape = 0 1109 ExposureNightPortrait = 0 1110 ExposureTheatre = 0 1111 ExposureSunset = 0 1112 ExposureSteadyPhoto = 0 1113 ExposureFireworks = 0 1114 ExposureParty = 0 1115 ExposureCandlelight = 0 1116 ExposureBarcode = 0 1117 ExposureModeVendor = 0 1118 1119 # Enum QCameraExposure.FlashMode 1120 FlashAuto = 0 1121 FlashOff = 0 1122 FlashOn = 0 1123 FlashRedEyeReduction = 0 1124 FlashFill = 0 1125 FlashTorch = 0 1126 FlashVideoLight = 0 1127 FlashSlowSyncFrontCurtain = 0 1128 FlashSlowSyncRearCurtain = 0 1129 FlashManual = 0 1130 1131 exposureCompensationChanged = pyqtSignal() # void exposureCompensationChanged(qreal) - signal 1132 isoSensitivityChanged = pyqtSignal() # void isoSensitivityChanged(int) - signal 1133 shutterSpeedRangeChanged = pyqtSignal() # void shutterSpeedRangeChanged() - signal 1134 shutterSpeedChanged = pyqtSignal() # void shutterSpeedChanged(qreal) - signal 1135 apertureRangeChanged = pyqtSignal() # void apertureRangeChanged() - signal 1136 apertureChanged = pyqtSignal() # void apertureChanged(qreal) - signal 1137 flashReady = pyqtSignal() # void flashReady(bool) - signal 1138 def setAutoShutterSpeed(self): 1139 '''void QCameraExposure.setAutoShutterSpeed()''' 1140 def setManualShutterSpeed(self, seconds): 1141 '''void QCameraExposure.setManualShutterSpeed(float seconds)''' 1142 def setAutoAperture(self): 1143 '''void QCameraExposure.setAutoAperture()''' 1144 def setManualAperture(self, aperture): 1145 '''void QCameraExposure.setManualAperture(float aperture)''' 1146 def setAutoIsoSensitivity(self): 1147 '''void QCameraExposure.setAutoIsoSensitivity()''' 1148 def setManualIsoSensitivity(self, iso): 1149 '''void QCameraExposure.setManualIsoSensitivity(int iso)''' 1150 def setExposureCompensation(self, ev): 1151 '''void QCameraExposure.setExposureCompensation(float ev)''' 1152 def setMeteringMode(self, mode): 1153 '''void QCameraExposure.setMeteringMode(QCameraExposure.MeteringMode mode)''' 1154 def setExposureMode(self, mode): 1155 '''void QCameraExposure.setExposureMode(QCameraExposure.ExposureMode mode)''' 1156 def setFlashMode(self, mode): 1157 '''void QCameraExposure.setFlashMode(QCameraExposure.FlashModes mode)''' 1158 def supportedShutterSpeeds(self, continuous): 1159 '''list-of-float QCameraExposure.supportedShutterSpeeds(bool continuous)''' 1160 return [float()] 1161 def supportedApertures(self, continuous): 1162 '''list-of-float QCameraExposure.supportedApertures(bool continuous)''' 1163 return [float()] 1164 def supportedIsoSensitivities(self, continuous): 1165 '''list-of-int QCameraExposure.supportedIsoSensitivities(bool continuous)''' 1166 return [int()] 1167 def requestedShutterSpeed(self): 1168 '''float QCameraExposure.requestedShutterSpeed()''' 1169 return float() 1170 def requestedAperture(self): 1171 '''float QCameraExposure.requestedAperture()''' 1172 return float() 1173 def requestedIsoSensitivity(self): 1174 '''int QCameraExposure.requestedIsoSensitivity()''' 1175 return int() 1176 def shutterSpeed(self): 1177 '''float QCameraExposure.shutterSpeed()''' 1178 return float() 1179 def aperture(self): 1180 '''float QCameraExposure.aperture()''' 1181 return float() 1182 def isoSensitivity(self): 1183 '''int QCameraExposure.isoSensitivity()''' 1184 return int() 1185 def setSpotMeteringPoint(self, point): 1186 '''void QCameraExposure.setSpotMeteringPoint(QPointF point)''' 1187 def spotMeteringPoint(self): 1188 '''QPointF QCameraExposure.spotMeteringPoint()''' 1189 return QPointF() 1190 def isMeteringModeSupported(self, mode): 1191 '''bool QCameraExposure.isMeteringModeSupported(QCameraExposure.MeteringMode mode)''' 1192 return bool() 1193 def meteringMode(self): 1194 '''QCameraExposure.MeteringMode QCameraExposure.meteringMode()''' 1195 return QCameraExposure.MeteringMode() 1196 def exposureCompensation(self): 1197 '''float QCameraExposure.exposureCompensation()''' 1198 return float() 1199 def isExposureModeSupported(self, mode): 1200 '''bool QCameraExposure.isExposureModeSupported(QCameraExposure.ExposureMode mode)''' 1201 return bool() 1202 def exposureMode(self): 1203 '''QCameraExposure.ExposureMode QCameraExposure.exposureMode()''' 1204 return QCameraExposure.ExposureMode() 1205 def isFlashReady(self): 1206 '''bool QCameraExposure.isFlashReady()''' 1207 return bool() 1208 def isFlashModeSupported(self, mode): 1209 '''bool QCameraExposure.isFlashModeSupported(QCameraExposure.FlashModes mode)''' 1210 return bool() 1211 def flashMode(self): 1212 '''QCameraExposure.FlashModes QCameraExposure.flashMode()''' 1213 return QCameraExposure.FlashModes() 1214 def isAvailable(self): 1215 '''bool QCameraExposure.isAvailable()''' 1216 return bool() 1217 class FlashModes(): 1218 """""" 1219 def __init__(self): 1220 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__init__()''' 1221 return QCameraExposure.FlashModes() 1222 def __init__(self): 1223 '''int QCameraExposure.FlashModes.__init__()''' 1224 return int() 1225 def __init__(self): 1226 '''void QCameraExposure.FlashModes.__init__()''' 1227 def __bool__(self): 1228 '''int QCameraExposure.FlashModes.__bool__()''' 1229 return int() 1230 def __ne__(self, f): 1231 '''bool QCameraExposure.FlashModes.__ne__(QCameraExposure.FlashModes f)''' 1232 return bool() 1233 def __eq__(self, f): 1234 '''bool QCameraExposure.FlashModes.__eq__(QCameraExposure.FlashModes f)''' 1235 return bool() 1236 def __invert__(self): 1237 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__invert__()''' 1238 return QCameraExposure.FlashModes() 1239 def __and__(self, mask): 1240 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__and__(int mask)''' 1241 return QCameraExposure.FlashModes() 1242 def __xor__(self, f): 1243 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__xor__(QCameraExposure.FlashModes f)''' 1244 return QCameraExposure.FlashModes() 1245 def __xor__(self, f): 1246 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__xor__(int f)''' 1247 return QCameraExposure.FlashModes() 1248 def __or__(self, f): 1249 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__or__(QCameraExposure.FlashModes f)''' 1250 return QCameraExposure.FlashModes() 1251 def __or__(self, f): 1252 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__or__(int f)''' 1253 return QCameraExposure.FlashModes() 1254 def __int__(self): 1255 '''int QCameraExposure.FlashModes.__int__()''' 1256 return int() 1257 def __ixor__(self, f): 1258 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__ixor__(QCameraExposure.FlashModes f)''' 1259 return QCameraExposure.FlashModes() 1260 def __ior__(self, f): 1261 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__ior__(QCameraExposure.FlashModes f)''' 1262 return QCameraExposure.FlashModes() 1263 def __iand__(self, mask): 1264 '''QCameraExposure.FlashModes QCameraExposure.FlashModes.__iand__(int mask)''' 1265 return QCameraExposure.FlashModes() 1266 1267 1268class QCameraFocusZone(): 1269 """""" 1270 # Enum QCameraFocusZone.FocusZoneStatus 1271 Invalid = 0 1272 Unused = 0 1273 Selected = 0 1274 Focused = 0 1275 1276 def __init__(self, other): 1277 '''void QCameraFocusZone.__init__(QCameraFocusZone other)''' 1278 def status(self): 1279 '''QCameraFocusZone.FocusZoneStatus QCameraFocusZone.status()''' 1280 return QCameraFocusZone.FocusZoneStatus() 1281 def area(self): 1282 '''QRectF QCameraFocusZone.area()''' 1283 return QRectF() 1284 def isValid(self): 1285 '''bool QCameraFocusZone.isValid()''' 1286 return bool() 1287 def __ne__(self, other): 1288 '''bool QCameraFocusZone.__ne__(QCameraFocusZone other)''' 1289 return bool() 1290 def __eq__(self, other): 1291 '''bool QCameraFocusZone.__eq__(QCameraFocusZone other)''' 1292 return bool() 1293 1294 1295class QCameraFocus(QObject): 1296 """""" 1297 # Enum QCameraFocus.FocusPointMode 1298 FocusPointAuto = 0 1299 FocusPointCenter = 0 1300 FocusPointFaceDetection = 0 1301 FocusPointCustom = 0 1302 1303 # Enum QCameraFocus.FocusMode 1304 ManualFocus = 0 1305 HyperfocalFocus = 0 1306 InfinityFocus = 0 1307 AutoFocus = 0 1308 ContinuousFocus = 0 1309 MacroFocus = 0 1310 1311 maximumDigitalZoomChanged = pyqtSignal() # void maximumDigitalZoomChanged(qreal) - signal 1312 maximumOpticalZoomChanged = pyqtSignal() # void maximumOpticalZoomChanged(qreal) - signal 1313 focusZonesChanged = pyqtSignal() # void focusZonesChanged() - signal 1314 digitalZoomChanged = pyqtSignal() # void digitalZoomChanged(qreal) - signal 1315 opticalZoomChanged = pyqtSignal() # void opticalZoomChanged(qreal) - signal 1316 def zoomTo(self, opticalZoom, digitalZoom): 1317 '''void QCameraFocus.zoomTo(float opticalZoom, float digitalZoom)''' 1318 def digitalZoom(self): 1319 '''float QCameraFocus.digitalZoom()''' 1320 return float() 1321 def opticalZoom(self): 1322 '''float QCameraFocus.opticalZoom()''' 1323 return float() 1324 def maximumDigitalZoom(self): 1325 '''float QCameraFocus.maximumDigitalZoom()''' 1326 return float() 1327 def maximumOpticalZoom(self): 1328 '''float QCameraFocus.maximumOpticalZoom()''' 1329 return float() 1330 def focusZones(self): 1331 '''list-of-QCameraFocusZone QCameraFocus.focusZones()''' 1332 return [QCameraFocusZone()] 1333 def setCustomFocusPoint(self, point): 1334 '''void QCameraFocus.setCustomFocusPoint(QPointF point)''' 1335 def customFocusPoint(self): 1336 '''QPointF QCameraFocus.customFocusPoint()''' 1337 return QPointF() 1338 def isFocusPointModeSupported(self): 1339 '''QCameraFocus.FocusPointMode QCameraFocus.isFocusPointModeSupported()''' 1340 return QCameraFocus.FocusPointMode() 1341 def setFocusPointMode(self, mode): 1342 '''void QCameraFocus.setFocusPointMode(QCameraFocus.FocusPointMode mode)''' 1343 def focusPointMode(self): 1344 '''QCameraFocus.FocusPointMode QCameraFocus.focusPointMode()''' 1345 return QCameraFocus.FocusPointMode() 1346 def isFocusModeSupported(self, mode): 1347 '''bool QCameraFocus.isFocusModeSupported(QCameraFocus.FocusModes mode)''' 1348 return bool() 1349 def setFocusMode(self, mode): 1350 '''void QCameraFocus.setFocusMode(QCameraFocus.FocusModes mode)''' 1351 def focusMode(self): 1352 '''QCameraFocus.FocusModes QCameraFocus.focusMode()''' 1353 return QCameraFocus.FocusModes() 1354 def isAvailable(self): 1355 '''bool QCameraFocus.isAvailable()''' 1356 return bool() 1357 class FocusModes(): 1358 """""" 1359 def __init__(self): 1360 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__init__()''' 1361 return QCameraFocus.FocusModes() 1362 def __init__(self): 1363 '''int QCameraFocus.FocusModes.__init__()''' 1364 return int() 1365 def __init__(self): 1366 '''void QCameraFocus.FocusModes.__init__()''' 1367 def __bool__(self): 1368 '''int QCameraFocus.FocusModes.__bool__()''' 1369 return int() 1370 def __ne__(self, f): 1371 '''bool QCameraFocus.FocusModes.__ne__(QCameraFocus.FocusModes f)''' 1372 return bool() 1373 def __eq__(self, f): 1374 '''bool QCameraFocus.FocusModes.__eq__(QCameraFocus.FocusModes f)''' 1375 return bool() 1376 def __invert__(self): 1377 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__invert__()''' 1378 return QCameraFocus.FocusModes() 1379 def __and__(self, mask): 1380 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__and__(int mask)''' 1381 return QCameraFocus.FocusModes() 1382 def __xor__(self, f): 1383 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__xor__(QCameraFocus.FocusModes f)''' 1384 return QCameraFocus.FocusModes() 1385 def __xor__(self, f): 1386 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__xor__(int f)''' 1387 return QCameraFocus.FocusModes() 1388 def __or__(self, f): 1389 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__or__(QCameraFocus.FocusModes f)''' 1390 return QCameraFocus.FocusModes() 1391 def __or__(self, f): 1392 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__or__(int f)''' 1393 return QCameraFocus.FocusModes() 1394 def __int__(self): 1395 '''int QCameraFocus.FocusModes.__int__()''' 1396 return int() 1397 def __ixor__(self, f): 1398 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__ixor__(QCameraFocus.FocusModes f)''' 1399 return QCameraFocus.FocusModes() 1400 def __ior__(self, f): 1401 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__ior__(QCameraFocus.FocusModes f)''' 1402 return QCameraFocus.FocusModes() 1403 def __iand__(self, mask): 1404 '''QCameraFocus.FocusModes QCameraFocus.FocusModes.__iand__(int mask)''' 1405 return QCameraFocus.FocusModes() 1406 1407 1408class QCameraImageCapture(QObject, QMediaBindableInterface): 1409 """""" 1410 # Enum QCameraImageCapture.CaptureDestination 1411 CaptureToFile = 0 1412 CaptureToBuffer = 0 1413 1414 # Enum QCameraImageCapture.DriveMode 1415 SingleImageCapture = 0 1416 1417 # Enum QCameraImageCapture.Error 1418 NoError = 0 1419 NotReadyError = 0 1420 ResourceError = 0 1421 OutOfSpaceError = 0 1422 NotSupportedFeatureError = 0 1423 FormatError = 0 1424 1425 def __init__(self, mediaObject, parent = None): 1426 '''void QCameraImageCapture.__init__(QMediaObject mediaObject, QObject parent = None)''' 1427 def setMediaObject(self): 1428 '''QMediaObject QCameraImageCapture.setMediaObject()''' 1429 return QMediaObject() 1430 imageSaved = pyqtSignal() # void imageSaved(int,const QStringamp;) - signal 1431 imageAvailable = pyqtSignal() # void imageAvailable(int,const QVideoFrameamp;) - signal 1432 imageMetadataAvailable = pyqtSignal() # void imageMetadataAvailable(int,const QStringamp;,const QVariantamp;) - signal 1433 imageCaptured = pyqtSignal() # void imageCaptured(int,const QImageamp;) - signal 1434 imageExposed = pyqtSignal() # void imageExposed(int) - signal 1435 captureDestinationChanged = pyqtSignal() # void captureDestinationChanged(QCameraImageCapture::CaptureDestinations) - signal 1436 bufferFormatChanged = pyqtSignal() # void bufferFormatChanged(QVideoFrame::PixelFormat) - signal 1437 readyForCaptureChanged = pyqtSignal() # void readyForCaptureChanged(bool) - signal 1438 def cancelCapture(self): 1439 '''void QCameraImageCapture.cancelCapture()''' 1440 def capture(self, file = str()): 1441 '''int QCameraImageCapture.capture(str file = str())''' 1442 return int() 1443 def setCaptureDestination(self, destination): 1444 '''void QCameraImageCapture.setCaptureDestination(QCameraImageCapture.CaptureDestinations destination)''' 1445 def captureDestination(self): 1446 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.captureDestination()''' 1447 return QCameraImageCapture.CaptureDestinations() 1448 def isCaptureDestinationSupported(self, destination): 1449 '''bool QCameraImageCapture.isCaptureDestinationSupported(QCameraImageCapture.CaptureDestinations destination)''' 1450 return bool() 1451 def setBufferFormat(self, format): 1452 '''void QCameraImageCapture.setBufferFormat(QVideoFrame.PixelFormat format)''' 1453 def bufferFormat(self): 1454 '''QVideoFrame.PixelFormat QCameraImageCapture.bufferFormat()''' 1455 return QVideoFrame.PixelFormat() 1456 def supportedBufferFormats(self): 1457 '''list-of-QVideoFrame.PixelFormat QCameraImageCapture.supportedBufferFormats()''' 1458 return [QVideoFrame.PixelFormat()] 1459 def setEncodingSettings(self, settings): 1460 '''void QCameraImageCapture.setEncodingSettings(QImageEncoderSettings settings)''' 1461 def encodingSettings(self): 1462 '''QImageEncoderSettings QCameraImageCapture.encodingSettings()''' 1463 return QImageEncoderSettings() 1464 def supportedResolutions(self, settings = QImageEncoderSettings(), continuous = None): 1465 '''list-of-QSize QCameraImageCapture.supportedResolutions(QImageEncoderSettings settings = QImageEncoderSettings(), bool continuous)''' 1466 return [QSize()] 1467 def imageCodecDescription(self, codecName): 1468 '''str QCameraImageCapture.imageCodecDescription(str codecName)''' 1469 return str() 1470 def supportedImageCodecs(self): 1471 '''list-of-str QCameraImageCapture.supportedImageCodecs()''' 1472 return [str()] 1473 def isReadyForCapture(self): 1474 '''bool QCameraImageCapture.isReadyForCapture()''' 1475 return bool() 1476 def errorString(self): 1477 '''str QCameraImageCapture.errorString()''' 1478 return str() 1479 def error(self): 1480 '''QCameraImageCapture.Error QCameraImageCapture.error()''' 1481 return QCameraImageCapture.Error() 1482 error = pyqtSignal() # void error(int,QCameraImageCapture::Error,const QStringamp;) - signal 1483 def mediaObject(self): 1484 '''QMediaObject QCameraImageCapture.mediaObject()''' 1485 return QMediaObject() 1486 def availability(self): 1487 '''QMultimedia.AvailabilityStatus QCameraImageCapture.availability()''' 1488 return QMultimedia.AvailabilityStatus() 1489 def isAvailable(self): 1490 '''bool QCameraImageCapture.isAvailable()''' 1491 return bool() 1492 class CaptureDestinations(): 1493 """""" 1494 def __init__(self): 1495 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__init__()''' 1496 return QCameraImageCapture.CaptureDestinations() 1497 def __init__(self): 1498 '''int QCameraImageCapture.CaptureDestinations.__init__()''' 1499 return int() 1500 def __init__(self): 1501 '''void QCameraImageCapture.CaptureDestinations.__init__()''' 1502 def __bool__(self): 1503 '''int QCameraImageCapture.CaptureDestinations.__bool__()''' 1504 return int() 1505 def __ne__(self, f): 1506 '''bool QCameraImageCapture.CaptureDestinations.__ne__(QCameraImageCapture.CaptureDestinations f)''' 1507 return bool() 1508 def __eq__(self, f): 1509 '''bool QCameraImageCapture.CaptureDestinations.__eq__(QCameraImageCapture.CaptureDestinations f)''' 1510 return bool() 1511 def __invert__(self): 1512 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__invert__()''' 1513 return QCameraImageCapture.CaptureDestinations() 1514 def __and__(self, mask): 1515 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__and__(int mask)''' 1516 return QCameraImageCapture.CaptureDestinations() 1517 def __xor__(self, f): 1518 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__xor__(QCameraImageCapture.CaptureDestinations f)''' 1519 return QCameraImageCapture.CaptureDestinations() 1520 def __xor__(self, f): 1521 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__xor__(int f)''' 1522 return QCameraImageCapture.CaptureDestinations() 1523 def __or__(self, f): 1524 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__or__(QCameraImageCapture.CaptureDestinations f)''' 1525 return QCameraImageCapture.CaptureDestinations() 1526 def __or__(self, f): 1527 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__or__(int f)''' 1528 return QCameraImageCapture.CaptureDestinations() 1529 def __int__(self): 1530 '''int QCameraImageCapture.CaptureDestinations.__int__()''' 1531 return int() 1532 def __ixor__(self, f): 1533 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__ixor__(QCameraImageCapture.CaptureDestinations f)''' 1534 return QCameraImageCapture.CaptureDestinations() 1535 def __ior__(self, f): 1536 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__ior__(QCameraImageCapture.CaptureDestinations f)''' 1537 return QCameraImageCapture.CaptureDestinations() 1538 def __iand__(self, mask): 1539 '''QCameraImageCapture.CaptureDestinations QCameraImageCapture.CaptureDestinations.__iand__(int mask)''' 1540 return QCameraImageCapture.CaptureDestinations() 1541 1542 1543class QCameraImageProcessing(QObject): 1544 """""" 1545 # Enum QCameraImageProcessing.ColorFilter 1546 ColorFilterNone = 0 1547 ColorFilterGrayscale = 0 1548 ColorFilterNegative = 0 1549 ColorFilterSolarize = 0 1550 ColorFilterSepia = 0 1551 ColorFilterPosterize = 0 1552 ColorFilterWhiteboard = 0 1553 ColorFilterBlackboard = 0 1554 ColorFilterAqua = 0 1555 ColorFilterVendor = 0 1556 1557 # Enum QCameraImageProcessing.WhiteBalanceMode 1558 WhiteBalanceAuto = 0 1559 WhiteBalanceManual = 0 1560 WhiteBalanceSunlight = 0 1561 WhiteBalanceCloudy = 0 1562 WhiteBalanceShade = 0 1563 WhiteBalanceTungsten = 0 1564 WhiteBalanceFluorescent = 0 1565 WhiteBalanceFlash = 0 1566 WhiteBalanceSunset = 0 1567 WhiteBalanceVendor = 0 1568 1569 def isColorFilterSupported(self, filter): 1570 '''bool QCameraImageProcessing.isColorFilterSupported(QCameraImageProcessing.ColorFilter filter)''' 1571 return bool() 1572 def setColorFilter(self, filter): 1573 '''void QCameraImageProcessing.setColorFilter(QCameraImageProcessing.ColorFilter filter)''' 1574 def colorFilter(self): 1575 '''QCameraImageProcessing.ColorFilter QCameraImageProcessing.colorFilter()''' 1576 return QCameraImageProcessing.ColorFilter() 1577 def setDenoisingLevel(self, value): 1578 '''void QCameraImageProcessing.setDenoisingLevel(float value)''' 1579 def denoisingLevel(self): 1580 '''float QCameraImageProcessing.denoisingLevel()''' 1581 return float() 1582 def setSharpeningLevel(self, value): 1583 '''void QCameraImageProcessing.setSharpeningLevel(float value)''' 1584 def sharpeningLevel(self): 1585 '''float QCameraImageProcessing.sharpeningLevel()''' 1586 return float() 1587 def setSaturation(self, value): 1588 '''void QCameraImageProcessing.setSaturation(float value)''' 1589 def saturation(self): 1590 '''float QCameraImageProcessing.saturation()''' 1591 return float() 1592 def setContrast(self, value): 1593 '''void QCameraImageProcessing.setContrast(float value)''' 1594 def contrast(self): 1595 '''float QCameraImageProcessing.contrast()''' 1596 return float() 1597 def setManualWhiteBalance(self, colorTemperature): 1598 '''void QCameraImageProcessing.setManualWhiteBalance(float colorTemperature)''' 1599 def manualWhiteBalance(self): 1600 '''float QCameraImageProcessing.manualWhiteBalance()''' 1601 return float() 1602 def isWhiteBalanceModeSupported(self, mode): 1603 '''bool QCameraImageProcessing.isWhiteBalanceModeSupported(QCameraImageProcessing.WhiteBalanceMode mode)''' 1604 return bool() 1605 def setWhiteBalanceMode(self, mode): 1606 '''void QCameraImageProcessing.setWhiteBalanceMode(QCameraImageProcessing.WhiteBalanceMode mode)''' 1607 def whiteBalanceMode(self): 1608 '''QCameraImageProcessing.WhiteBalanceMode QCameraImageProcessing.whiteBalanceMode()''' 1609 return QCameraImageProcessing.WhiteBalanceMode() 1610 def isAvailable(self): 1611 '''bool QCameraImageProcessing.isAvailable()''' 1612 return bool() 1613 1614 1615class QCameraInfo(): 1616 """""" 1617 def __init__(self, name = QByteArray()): 1618 '''void QCameraInfo.__init__(QByteArray name = QByteArray())''' 1619 def __init__(self, camera): 1620 '''void QCameraInfo.__init__(QCamera camera)''' 1621 def __init__(self, other): 1622 '''void QCameraInfo.__init__(QCameraInfo other)''' 1623 def __ne__(self, other): 1624 '''bool QCameraInfo.__ne__(QCameraInfo other)''' 1625 return bool() 1626 def __eq__(self, other): 1627 '''bool QCameraInfo.__eq__(QCameraInfo other)''' 1628 return bool() 1629 def availableCameras(self, position = None): 1630 '''static list-of-QCameraInfo QCameraInfo.availableCameras(QCamera.Position position = QCamera.UnspecifiedPosition)''' 1631 return [QCameraInfo()] 1632 def defaultCamera(self): 1633 '''static QCameraInfo QCameraInfo.defaultCamera()''' 1634 return QCameraInfo() 1635 def orientation(self): 1636 '''int QCameraInfo.orientation()''' 1637 return int() 1638 def position(self): 1639 '''QCamera.Position QCameraInfo.position()''' 1640 return QCamera.Position() 1641 def description(self): 1642 '''str QCameraInfo.description()''' 1643 return str() 1644 def deviceName(self): 1645 '''str QCameraInfo.deviceName()''' 1646 return str() 1647 def isNull(self): 1648 '''bool QCameraInfo.isNull()''' 1649 return bool() 1650 1651 1652class QCameraViewfinderSettings(): 1653 """""" 1654 def __init__(self): 1655 '''void QCameraViewfinderSettings.__init__()''' 1656 def __init__(self, other): 1657 '''void QCameraViewfinderSettings.__init__(QCameraViewfinderSettings other)''' 1658 def __eq__(self, rhs): 1659 '''bool QCameraViewfinderSettings.__eq__(QCameraViewfinderSettings rhs)''' 1660 return bool() 1661 def __ne__(self, rhs): 1662 '''bool QCameraViewfinderSettings.__ne__(QCameraViewfinderSettings rhs)''' 1663 return bool() 1664 def setPixelAspectRatio(self, ratio): 1665 '''void QCameraViewfinderSettings.setPixelAspectRatio(QSize ratio)''' 1666 def setPixelAspectRatio(self, horizontal, vertical): 1667 '''void QCameraViewfinderSettings.setPixelAspectRatio(int horizontal, int vertical)''' 1668 def pixelAspectRatio(self): 1669 '''QSize QCameraViewfinderSettings.pixelAspectRatio()''' 1670 return QSize() 1671 def setPixelFormat(self, format): 1672 '''void QCameraViewfinderSettings.setPixelFormat(QVideoFrame.PixelFormat format)''' 1673 def pixelFormat(self): 1674 '''QVideoFrame.PixelFormat QCameraViewfinderSettings.pixelFormat()''' 1675 return QVideoFrame.PixelFormat() 1676 def setMaximumFrameRate(self, rate): 1677 '''void QCameraViewfinderSettings.setMaximumFrameRate(float rate)''' 1678 def maximumFrameRate(self): 1679 '''float QCameraViewfinderSettings.maximumFrameRate()''' 1680 return float() 1681 def setMinimumFrameRate(self, rate): 1682 '''void QCameraViewfinderSettings.setMinimumFrameRate(float rate)''' 1683 def minimumFrameRate(self): 1684 '''float QCameraViewfinderSettings.minimumFrameRate()''' 1685 return float() 1686 def setResolution(self): 1687 '''QSize QCameraViewfinderSettings.setResolution()''' 1688 return QSize() 1689 def setResolution(self, width, height): 1690 '''void QCameraViewfinderSettings.setResolution(int width, int height)''' 1691 def resolution(self): 1692 '''QSize QCameraViewfinderSettings.resolution()''' 1693 return QSize() 1694 def isNull(self): 1695 '''bool QCameraViewfinderSettings.isNull()''' 1696 return bool() 1697 def swap(self, other): 1698 '''void QCameraViewfinderSettings.swap(QCameraViewfinderSettings other)''' 1699 1700 1701class QMediaContent(): 1702 """""" 1703 def __init__(self): 1704 '''void QMediaContent.__init__()''' 1705 def __init__(self, contentUrl): 1706 '''void QMediaContent.__init__(QUrl contentUrl)''' 1707 def __init__(self, contentRequest): 1708 '''void QMediaContent.__init__(QNetworkRequest contentRequest)''' 1709 def __init__(self, contentResource): 1710 '''void QMediaContent.__init__(QMediaResource contentResource)''' 1711 def __init__(self, resources): 1712 '''void QMediaContent.__init__(list-of-QMediaResource resources)''' 1713 def __init__(self, other): 1714 '''void QMediaContent.__init__(QMediaContent other)''' 1715 def __init__(self, playlist, contentUrl = QUrl()): 1716 '''void QMediaContent.__init__(QMediaPlaylist playlist, QUrl contentUrl = QUrl())''' 1717 def playlist(self): 1718 '''QMediaPlaylist QMediaContent.playlist()''' 1719 return QMediaPlaylist() 1720 def resources(self): 1721 '''list-of-QMediaResource QMediaContent.resources()''' 1722 return [QMediaResource()] 1723 def canonicalResource(self): 1724 '''QMediaResource QMediaContent.canonicalResource()''' 1725 return QMediaResource() 1726 def canonicalRequest(self): 1727 '''QNetworkRequest QMediaContent.canonicalRequest()''' 1728 return QNetworkRequest() 1729 def canonicalUrl(self): 1730 '''QUrl QMediaContent.canonicalUrl()''' 1731 return QUrl() 1732 def isNull(self): 1733 '''bool QMediaContent.isNull()''' 1734 return bool() 1735 def __ne__(self, other): 1736 '''bool QMediaContent.__ne__(QMediaContent other)''' 1737 return bool() 1738 def __eq__(self, other): 1739 '''bool QMediaContent.__eq__(QMediaContent other)''' 1740 return bool() 1741 1742 1743class QMediaControl(QObject): 1744 """""" 1745 def __init__(self, parent = None): 1746 '''void QMediaControl.__init__(QObject parent = None)''' 1747 1748 1749class QAudioEncoderSettings(): 1750 """""" 1751 def __init__(self): 1752 '''void QAudioEncoderSettings.__init__()''' 1753 def __init__(self, other): 1754 '''void QAudioEncoderSettings.__init__(QAudioEncoderSettings other)''' 1755 def setEncodingOptions(self, options): 1756 '''void QAudioEncoderSettings.setEncodingOptions(dict-of-str-object options)''' 1757 def setEncodingOption(self, option, value): 1758 '''void QAudioEncoderSettings.setEncodingOption(str option, QVariant value)''' 1759 def encodingOptions(self): 1760 '''dict-of-str-object QAudioEncoderSettings.encodingOptions()''' 1761 return {str():object()} 1762 def encodingOption(self, option): 1763 '''QVariant QAudioEncoderSettings.encodingOption(str option)''' 1764 return QVariant() 1765 def setQuality(self, quality): 1766 '''void QAudioEncoderSettings.setQuality(QMultimedia.EncodingQuality quality)''' 1767 def quality(self): 1768 '''QMultimedia.EncodingQuality QAudioEncoderSettings.quality()''' 1769 return QMultimedia.EncodingQuality() 1770 def setSampleRate(self, rate): 1771 '''void QAudioEncoderSettings.setSampleRate(int rate)''' 1772 def sampleRate(self): 1773 '''int QAudioEncoderSettings.sampleRate()''' 1774 return int() 1775 def setChannelCount(self, channels): 1776 '''void QAudioEncoderSettings.setChannelCount(int channels)''' 1777 def channelCount(self): 1778 '''int QAudioEncoderSettings.channelCount()''' 1779 return int() 1780 def setBitRate(self, bitrate): 1781 '''void QAudioEncoderSettings.setBitRate(int bitrate)''' 1782 def bitRate(self): 1783 '''int QAudioEncoderSettings.bitRate()''' 1784 return int() 1785 def setCodec(self, codec): 1786 '''void QAudioEncoderSettings.setCodec(str codec)''' 1787 def codec(self): 1788 '''str QAudioEncoderSettings.codec()''' 1789 return str() 1790 def setEncodingMode(self): 1791 '''QMultimedia.EncodingMode QAudioEncoderSettings.setEncodingMode()''' 1792 return QMultimedia.EncodingMode() 1793 def encodingMode(self): 1794 '''QMultimedia.EncodingMode QAudioEncoderSettings.encodingMode()''' 1795 return QMultimedia.EncodingMode() 1796 def isNull(self): 1797 '''bool QAudioEncoderSettings.isNull()''' 1798 return bool() 1799 def __ne__(self, other): 1800 '''bool QAudioEncoderSettings.__ne__(QAudioEncoderSettings other)''' 1801 return bool() 1802 def __eq__(self, other): 1803 '''bool QAudioEncoderSettings.__eq__(QAudioEncoderSettings other)''' 1804 return bool() 1805 1806 1807class QVideoEncoderSettings(): 1808 """""" 1809 def __init__(self): 1810 '''void QVideoEncoderSettings.__init__()''' 1811 def __init__(self, other): 1812 '''void QVideoEncoderSettings.__init__(QVideoEncoderSettings other)''' 1813 def setEncodingOptions(self, options): 1814 '''void QVideoEncoderSettings.setEncodingOptions(dict-of-str-object options)''' 1815 def setEncodingOption(self, option, value): 1816 '''void QVideoEncoderSettings.setEncodingOption(str option, QVariant value)''' 1817 def encodingOptions(self): 1818 '''dict-of-str-object QVideoEncoderSettings.encodingOptions()''' 1819 return {str():object()} 1820 def encodingOption(self, option): 1821 '''QVariant QVideoEncoderSettings.encodingOption(str option)''' 1822 return QVariant() 1823 def setQuality(self, quality): 1824 '''void QVideoEncoderSettings.setQuality(QMultimedia.EncodingQuality quality)''' 1825 def quality(self): 1826 '''QMultimedia.EncodingQuality QVideoEncoderSettings.quality()''' 1827 return QMultimedia.EncodingQuality() 1828 def setBitRate(self, bitrate): 1829 '''void QVideoEncoderSettings.setBitRate(int bitrate)''' 1830 def bitRate(self): 1831 '''int QVideoEncoderSettings.bitRate()''' 1832 return int() 1833 def setFrameRate(self, rate): 1834 '''void QVideoEncoderSettings.setFrameRate(float rate)''' 1835 def frameRate(self): 1836 '''float QVideoEncoderSettings.frameRate()''' 1837 return float() 1838 def setResolution(self): 1839 '''QSize QVideoEncoderSettings.setResolution()''' 1840 return QSize() 1841 def setResolution(self, width, height): 1842 '''void QVideoEncoderSettings.setResolution(int width, int height)''' 1843 def resolution(self): 1844 '''QSize QVideoEncoderSettings.resolution()''' 1845 return QSize() 1846 def setCodec(self): 1847 '''str QVideoEncoderSettings.setCodec()''' 1848 return str() 1849 def codec(self): 1850 '''str QVideoEncoderSettings.codec()''' 1851 return str() 1852 def setEncodingMode(self): 1853 '''QMultimedia.EncodingMode QVideoEncoderSettings.setEncodingMode()''' 1854 return QMultimedia.EncodingMode() 1855 def encodingMode(self): 1856 '''QMultimedia.EncodingMode QVideoEncoderSettings.encodingMode()''' 1857 return QMultimedia.EncodingMode() 1858 def isNull(self): 1859 '''bool QVideoEncoderSettings.isNull()''' 1860 return bool() 1861 def __ne__(self, other): 1862 '''bool QVideoEncoderSettings.__ne__(QVideoEncoderSettings other)''' 1863 return bool() 1864 def __eq__(self, other): 1865 '''bool QVideoEncoderSettings.__eq__(QVideoEncoderSettings other)''' 1866 return bool() 1867 1868 1869class QImageEncoderSettings(): 1870 """""" 1871 def __init__(self): 1872 '''void QImageEncoderSettings.__init__()''' 1873 def __init__(self, other): 1874 '''void QImageEncoderSettings.__init__(QImageEncoderSettings other)''' 1875 def setEncodingOptions(self, options): 1876 '''void QImageEncoderSettings.setEncodingOptions(dict-of-str-object options)''' 1877 def setEncodingOption(self, option, value): 1878 '''void QImageEncoderSettings.setEncodingOption(str option, QVariant value)''' 1879 def encodingOptions(self): 1880 '''dict-of-str-object QImageEncoderSettings.encodingOptions()''' 1881 return {str():object()} 1882 def encodingOption(self, option): 1883 '''QVariant QImageEncoderSettings.encodingOption(str option)''' 1884 return QVariant() 1885 def setQuality(self, quality): 1886 '''void QImageEncoderSettings.setQuality(QMultimedia.EncodingQuality quality)''' 1887 def quality(self): 1888 '''QMultimedia.EncodingQuality QImageEncoderSettings.quality()''' 1889 return QMultimedia.EncodingQuality() 1890 def setResolution(self): 1891 '''QSize QImageEncoderSettings.setResolution()''' 1892 return QSize() 1893 def setResolution(self, width, height): 1894 '''void QImageEncoderSettings.setResolution(int width, int height)''' 1895 def resolution(self): 1896 '''QSize QImageEncoderSettings.resolution()''' 1897 return QSize() 1898 def setCodec(self): 1899 '''str QImageEncoderSettings.setCodec()''' 1900 return str() 1901 def codec(self): 1902 '''str QImageEncoderSettings.codec()''' 1903 return str() 1904 def isNull(self): 1905 '''bool QImageEncoderSettings.isNull()''' 1906 return bool() 1907 def __ne__(self, other): 1908 '''bool QImageEncoderSettings.__ne__(QImageEncoderSettings other)''' 1909 return bool() 1910 def __eq__(self, other): 1911 '''bool QImageEncoderSettings.__eq__(QImageEncoderSettings other)''' 1912 return bool() 1913 1914 1915class QMediaMetaData(): 1916 """""" 1917 AlbumArtist = None # str - member 1918 AlbumTitle = None # str - member 1919 AudioBitRate = None # str - member 1920 AudioCodec = None # str - member 1921 Author = None # str - member 1922 AverageLevel = None # str - member 1923 CameraManufacturer = None # str - member 1924 CameraModel = None # str - member 1925 Category = None # str - member 1926 ChannelCount = None # str - member 1927 ChapterNumber = None # str - member 1928 Comment = None # str - member 1929 Composer = None # str - member 1930 Conductor = None # str - member 1931 Contrast = None # str - member 1932 ContributingArtist = None # str - member 1933 Copyright = None # str - member 1934 CoverArtImage = None # str - member 1935 CoverArtUrlLarge = None # str - member 1936 CoverArtUrlSmall = None # str - member 1937 Date = None # str - member 1938 DateTimeDigitized = None # str - member 1939 DateTimeOriginal = None # str - member 1940 Description = None # str - member 1941 DeviceSettingDescription = None # str - member 1942 DigitalZoomRatio = None # str - member 1943 Director = None # str - member 1944 Duration = None # str - member 1945 Event = None # str - member 1946 ExposureBiasValue = None # str - member 1947 ExposureMode = None # str - member 1948 ExposureProgram = None # str - member 1949 ExposureTime = None # str - member 1950 FNumber = None # str - member 1951 Flash = None # str - member 1952 FocalLength = None # str - member 1953 FocalLengthIn35mmFilm = None # str - member 1954 GPSAltitude = None # str - member 1955 GPSAreaInformation = None # str - member 1956 GPSDOP = None # str - member 1957 GPSImgDirection = None # str - member 1958 GPSImgDirectionRef = None # str - member 1959 GPSLatitude = None # str - member 1960 GPSLongitude = None # str - member 1961 GPSMapDatum = None # str - member 1962 GPSProcessingMethod = None # str - member 1963 GPSSatellites = None # str - member 1964 GPSSpeed = None # str - member 1965 GPSStatus = None # str - member 1966 GPSTimeStamp = None # str - member 1967 GPSTrack = None # str - member 1968 GPSTrackRef = None # str - member 1969 GainControl = None # str - member 1970 Genre = None # str - member 1971 ISOSpeedRatings = None # str - member 1972 Keywords = None # str - member 1973 Language = None # str - member 1974 LeadPerformer = None # str - member 1975 LightSource = None # str - member 1976 Lyrics = None # str - member 1977 MediaType = None # str - member 1978 MeteringMode = None # str - member 1979 Mood = None # str - member 1980 Orientation = None # str - member 1981 ParentalRating = None # str - member 1982 PeakValue = None # str - member 1983 PixelAspectRatio = None # str - member 1984 PosterImage = None # str - member 1985 PosterUrl = None # str - member 1986 Publisher = None # str - member 1987 RatingOrganization = None # str - member 1988 Resolution = None # str - member 1989 SampleRate = None # str - member 1990 Saturation = None # str - member 1991 SceneCaptureType = None # str - member 1992 Sharpness = None # str - member 1993 Size = None # str - member 1994 SubTitle = None # str - member 1995 Subject = None # str - member 1996 SubjectDistance = None # str - member 1997 ThumbnailImage = None # str - member 1998 Title = None # str - member 1999 TrackCount = None # str - member 2000 TrackNumber = None # str - member 2001 UserRating = None # str - member 2002 VideoBitRate = None # str - member 2003 VideoCodec = None # str - member 2004 VideoFrameRate = None # str - member 2005 WhiteBalance = None # str - member 2006 Writer = None # str - member 2007 Year = None # str - member 2008 2009 2010class QMediaPlayer(QMediaObject): 2011 """""" 2012 # Enum QMediaPlayer.Error 2013 NoError = 0 2014 ResourceError = 0 2015 FormatError = 0 2016 NetworkError = 0 2017 AccessDeniedError = 0 2018 ServiceMissingError = 0 2019 2020 # Enum QMediaPlayer.Flag 2021 LowLatency = 0 2022 StreamPlayback = 0 2023 VideoSurface = 0 2024 2025 # Enum QMediaPlayer.MediaStatus 2026 UnknownMediaStatus = 0 2027 NoMedia = 0 2028 LoadingMedia = 0 2029 LoadedMedia = 0 2030 StalledMedia = 0 2031 BufferingMedia = 0 2032 BufferedMedia = 0 2033 EndOfMedia = 0 2034 InvalidMedia = 0 2035 2036 # Enum QMediaPlayer.State 2037 StoppedState = 0 2038 PlayingState = 0 2039 PausedState = 0 2040 2041 def __init__(self, parent = None, flags = 0): 2042 '''void QMediaPlayer.__init__(QObject parent = None, QMediaPlayer.Flags flags = 0)''' 2043 def unbind(self): 2044 '''QObject QMediaPlayer.unbind()''' 2045 return QObject() 2046 def bind(self): 2047 '''QObject QMediaPlayer.bind()''' 2048 return QObject() 2049 networkConfigurationChanged = pyqtSignal() # void networkConfigurationChanged(const QNetworkConfigurationamp;) - signal 2050 playbackRateChanged = pyqtSignal() # void playbackRateChanged(qreal) - signal 2051 seekableChanged = pyqtSignal() # void seekableChanged(bool) - signal 2052 bufferStatusChanged = pyqtSignal() # void bufferStatusChanged(int) - signal 2053 videoAvailableChanged = pyqtSignal() # void videoAvailableChanged(bool) - signal 2054 audioAvailableChanged = pyqtSignal() # void audioAvailableChanged(bool) - signal 2055 mutedChanged = pyqtSignal() # void mutedChanged(bool) - signal 2056 volumeChanged = pyqtSignal() # void volumeChanged(int) - signal 2057 positionChanged = pyqtSignal() # void positionChanged(qint64) - signal 2058 durationChanged = pyqtSignal() # void durationChanged(qint64) - signal 2059 mediaStatusChanged = pyqtSignal() # void mediaStatusChanged(QMediaPlayer::MediaStatus) - signal 2060 stateChanged = pyqtSignal() # void stateChanged(QMediaPlayer::State) - signal 2061 currentMediaChanged = pyqtSignal() # void currentMediaChanged(const QMediaContentamp;) - signal 2062 mediaChanged = pyqtSignal() # void mediaChanged(const QMediaContentamp;) - signal 2063 def setNetworkConfigurations(self, configurations): 2064 '''void QMediaPlayer.setNetworkConfigurations(list-of-QNetworkConfiguration configurations)''' 2065 def setPlaylist(self, playlist): 2066 '''void QMediaPlayer.setPlaylist(QMediaPlaylist playlist)''' 2067 def setMedia(self, media, stream = None): 2068 '''void QMediaPlayer.setMedia(QMediaContent media, QIODevice stream = None)''' 2069 def setPlaybackRate(self, rate): 2070 '''void QMediaPlayer.setPlaybackRate(float rate)''' 2071 def setMuted(self, muted): 2072 '''void QMediaPlayer.setMuted(bool muted)''' 2073 def setVolume(self, volume): 2074 '''void QMediaPlayer.setVolume(int volume)''' 2075 def setPosition(self, position): 2076 '''void QMediaPlayer.setPosition(int position)''' 2077 def stop(self): 2078 '''void QMediaPlayer.stop()''' 2079 def pause(self): 2080 '''void QMediaPlayer.pause()''' 2081 def play(self): 2082 '''void QMediaPlayer.play()''' 2083 def availability(self): 2084 '''QMultimedia.AvailabilityStatus QMediaPlayer.availability()''' 2085 return QMultimedia.AvailabilityStatus() 2086 def currentNetworkConfiguration(self): 2087 '''QNetworkConfiguration QMediaPlayer.currentNetworkConfiguration()''' 2088 return QNetworkConfiguration() 2089 def errorString(self): 2090 '''str QMediaPlayer.errorString()''' 2091 return str() 2092 def error(self): 2093 '''QMediaPlayer.Error QMediaPlayer.error()''' 2094 return QMediaPlayer.Error() 2095 error = pyqtSignal() # void error(QMediaPlayer::Error) - signal 2096 def playbackRate(self): 2097 '''float QMediaPlayer.playbackRate()''' 2098 return float() 2099 def isSeekable(self): 2100 '''bool QMediaPlayer.isSeekable()''' 2101 return bool() 2102 def bufferStatus(self): 2103 '''int QMediaPlayer.bufferStatus()''' 2104 return int() 2105 def isVideoAvailable(self): 2106 '''bool QMediaPlayer.isVideoAvailable()''' 2107 return bool() 2108 def isAudioAvailable(self): 2109 '''bool QMediaPlayer.isAudioAvailable()''' 2110 return bool() 2111 def isMuted(self): 2112 '''bool QMediaPlayer.isMuted()''' 2113 return bool() 2114 def volume(self): 2115 '''int QMediaPlayer.volume()''' 2116 return int() 2117 def position(self): 2118 '''int QMediaPlayer.position()''' 2119 return int() 2120 def duration(self): 2121 '''int QMediaPlayer.duration()''' 2122 return int() 2123 def mediaStatus(self): 2124 '''QMediaPlayer.MediaStatus QMediaPlayer.mediaStatus()''' 2125 return QMediaPlayer.MediaStatus() 2126 def state(self): 2127 '''QMediaPlayer.State QMediaPlayer.state()''' 2128 return QMediaPlayer.State() 2129 def currentMedia(self): 2130 '''QMediaContent QMediaPlayer.currentMedia()''' 2131 return QMediaContent() 2132 def playlist(self): 2133 '''QMediaPlaylist QMediaPlayer.playlist()''' 2134 return QMediaPlaylist() 2135 def mediaStream(self): 2136 '''QIODevice QMediaPlayer.mediaStream()''' 2137 return QIODevice() 2138 def media(self): 2139 '''QMediaContent QMediaPlayer.media()''' 2140 return QMediaContent() 2141 def setVideoOutput(self): 2142 '''QVideoWidget QMediaPlayer.setVideoOutput()''' 2143 return QVideoWidget() 2144 def setVideoOutput(self): 2145 '''QGraphicsVideoItem QMediaPlayer.setVideoOutput()''' 2146 return QGraphicsVideoItem() 2147 def setVideoOutput(self, surface): 2148 '''void QMediaPlayer.setVideoOutput(QAbstractVideoSurface surface)''' 2149 def supportedMimeTypes(self, flags = 0): 2150 '''static list-of-str QMediaPlayer.supportedMimeTypes(QMediaPlayer.Flags flags = 0)''' 2151 return [str()] 2152 def hasSupport(self, mimeType, codecs = strList(), flags = 0): 2153 '''static QMultimedia.SupportEstimate QMediaPlayer.hasSupport(str mimeType, list-of-str codecs = strList(), QMediaPlayer.Flags flags = 0)''' 2154 return QMultimedia.SupportEstimate() 2155 class Flags(): 2156 """""" 2157 def __init__(self): 2158 '''QMediaPlayer.Flags QMediaPlayer.Flags.__init__()''' 2159 return QMediaPlayer.Flags() 2160 def __init__(self): 2161 '''int QMediaPlayer.Flags.__init__()''' 2162 return int() 2163 def __init__(self): 2164 '''void QMediaPlayer.Flags.__init__()''' 2165 def __bool__(self): 2166 '''int QMediaPlayer.Flags.__bool__()''' 2167 return int() 2168 def __ne__(self, f): 2169 '''bool QMediaPlayer.Flags.__ne__(QMediaPlayer.Flags f)''' 2170 return bool() 2171 def __eq__(self, f): 2172 '''bool QMediaPlayer.Flags.__eq__(QMediaPlayer.Flags f)''' 2173 return bool() 2174 def __invert__(self): 2175 '''QMediaPlayer.Flags QMediaPlayer.Flags.__invert__()''' 2176 return QMediaPlayer.Flags() 2177 def __and__(self, mask): 2178 '''QMediaPlayer.Flags QMediaPlayer.Flags.__and__(int mask)''' 2179 return QMediaPlayer.Flags() 2180 def __xor__(self, f): 2181 '''QMediaPlayer.Flags QMediaPlayer.Flags.__xor__(QMediaPlayer.Flags f)''' 2182 return QMediaPlayer.Flags() 2183 def __xor__(self, f): 2184 '''QMediaPlayer.Flags QMediaPlayer.Flags.__xor__(int f)''' 2185 return QMediaPlayer.Flags() 2186 def __or__(self, f): 2187 '''QMediaPlayer.Flags QMediaPlayer.Flags.__or__(QMediaPlayer.Flags f)''' 2188 return QMediaPlayer.Flags() 2189 def __or__(self, f): 2190 '''QMediaPlayer.Flags QMediaPlayer.Flags.__or__(int f)''' 2191 return QMediaPlayer.Flags() 2192 def __int__(self): 2193 '''int QMediaPlayer.Flags.__int__()''' 2194 return int() 2195 def __ixor__(self, f): 2196 '''QMediaPlayer.Flags QMediaPlayer.Flags.__ixor__(QMediaPlayer.Flags f)''' 2197 return QMediaPlayer.Flags() 2198 def __ior__(self, f): 2199 '''QMediaPlayer.Flags QMediaPlayer.Flags.__ior__(QMediaPlayer.Flags f)''' 2200 return QMediaPlayer.Flags() 2201 def __iand__(self, mask): 2202 '''QMediaPlayer.Flags QMediaPlayer.Flags.__iand__(int mask)''' 2203 return QMediaPlayer.Flags() 2204 2205 2206class QMediaPlaylist(QObject, QMediaBindableInterface): 2207 """""" 2208 # Enum QMediaPlaylist.Error 2209 NoError = 0 2210 FormatError = 0 2211 FormatNotSupportedError = 0 2212 NetworkError = 0 2213 AccessDeniedError = 0 2214 2215 # Enum QMediaPlaylist.PlaybackMode 2216 CurrentItemOnce = 0 2217 CurrentItemInLoop = 0 2218 Sequential = 0 2219 Loop = 0 2220 Random = 0 2221 2222 def __init__(self, parent = None): 2223 '''void QMediaPlaylist.__init__(QObject parent = None)''' 2224 def setMediaObject(self, object): 2225 '''bool QMediaPlaylist.setMediaObject(QMediaObject object)''' 2226 return bool() 2227 loadFailed = pyqtSignal() # void loadFailed() - signal 2228 loaded = pyqtSignal() # void loaded() - signal 2229 mediaChanged = pyqtSignal() # void mediaChanged(int,int) - signal 2230 mediaRemoved = pyqtSignal() # void mediaRemoved(int,int) - signal 2231 mediaAboutToBeRemoved = pyqtSignal() # void mediaAboutToBeRemoved(int,int) - signal 2232 mediaInserted = pyqtSignal() # void mediaInserted(int,int) - signal 2233 mediaAboutToBeInserted = pyqtSignal() # void mediaAboutToBeInserted(int,int) - signal 2234 currentMediaChanged = pyqtSignal() # void currentMediaChanged(const QMediaContentamp;) - signal 2235 playbackModeChanged = pyqtSignal() # void playbackModeChanged(QMediaPlaylist::PlaybackMode) - signal 2236 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 2237 def setCurrentIndex(self, index): 2238 '''void QMediaPlaylist.setCurrentIndex(int index)''' 2239 def previous(self): 2240 '''void QMediaPlaylist.previous()''' 2241 def next(self): 2242 '''void QMediaPlaylist.next()''' 2243 def shuffle(self): 2244 '''void QMediaPlaylist.shuffle()''' 2245 def errorString(self): 2246 '''str QMediaPlaylist.errorString()''' 2247 return str() 2248 def error(self): 2249 '''QMediaPlaylist.Error QMediaPlaylist.error()''' 2250 return QMediaPlaylist.Error() 2251 def save(self, location, format = None): 2252 '''bool QMediaPlaylist.save(QUrl location, str format = None)''' 2253 return bool() 2254 def save(self, device, format): 2255 '''bool QMediaPlaylist.save(QIODevice device, str format)''' 2256 return bool() 2257 def load(self, request, format = None): 2258 '''void QMediaPlaylist.load(QNetworkRequest request, str format = None)''' 2259 def load(self, location, format = None): 2260 '''void QMediaPlaylist.load(QUrl location, str format = None)''' 2261 def load(self, device, format = None): 2262 '''void QMediaPlaylist.load(QIODevice device, str format = None)''' 2263 def clear(self): 2264 '''bool QMediaPlaylist.clear()''' 2265 return bool() 2266 def removeMedia(self, pos): 2267 '''bool QMediaPlaylist.removeMedia(int pos)''' 2268 return bool() 2269 def removeMedia(self, start, end): 2270 '''bool QMediaPlaylist.removeMedia(int start, int end)''' 2271 return bool() 2272 def insertMedia(self, index, content): 2273 '''bool QMediaPlaylist.insertMedia(int index, QMediaContent content)''' 2274 return bool() 2275 def insertMedia(self, index, items): 2276 '''bool QMediaPlaylist.insertMedia(int index, list-of-QMediaContent items)''' 2277 return bool() 2278 def addMedia(self, content): 2279 '''bool QMediaPlaylist.addMedia(QMediaContent content)''' 2280 return bool() 2281 def addMedia(self, items): 2282 '''bool QMediaPlaylist.addMedia(list-of-QMediaContent items)''' 2283 return bool() 2284 def isReadOnly(self): 2285 '''bool QMediaPlaylist.isReadOnly()''' 2286 return bool() 2287 def isEmpty(self): 2288 '''bool QMediaPlaylist.isEmpty()''' 2289 return bool() 2290 def mediaCount(self): 2291 '''int QMediaPlaylist.mediaCount()''' 2292 return int() 2293 def media(self, index): 2294 '''QMediaContent QMediaPlaylist.media(int index)''' 2295 return QMediaContent() 2296 def previousIndex(self, steps = 1): 2297 '''int QMediaPlaylist.previousIndex(int steps = 1)''' 2298 return int() 2299 def nextIndex(self, steps = 1): 2300 '''int QMediaPlaylist.nextIndex(int steps = 1)''' 2301 return int() 2302 def currentMedia(self): 2303 '''QMediaContent QMediaPlaylist.currentMedia()''' 2304 return QMediaContent() 2305 def currentIndex(self): 2306 '''int QMediaPlaylist.currentIndex()''' 2307 return int() 2308 def setPlaybackMode(self, mode): 2309 '''void QMediaPlaylist.setPlaybackMode(QMediaPlaylist.PlaybackMode mode)''' 2310 def playbackMode(self): 2311 '''QMediaPlaylist.PlaybackMode QMediaPlaylist.playbackMode()''' 2312 return QMediaPlaylist.PlaybackMode() 2313 def mediaObject(self): 2314 '''QMediaObject QMediaPlaylist.mediaObject()''' 2315 return QMediaObject() 2316 2317 2318class QMediaResource(): 2319 """""" 2320 def __init__(self): 2321 '''void QMediaResource.__init__()''' 2322 def __init__(self, url, mimeType = str()): 2323 '''void QMediaResource.__init__(QUrl url, str mimeType = str())''' 2324 def __init__(self, request, mimeType = str()): 2325 '''void QMediaResource.__init__(QNetworkRequest request, str mimeType = str())''' 2326 def __init__(self, other): 2327 '''void QMediaResource.__init__(QMediaResource other)''' 2328 def setResolution(self, resolution): 2329 '''void QMediaResource.setResolution(QSize resolution)''' 2330 def setResolution(self, width, height): 2331 '''void QMediaResource.setResolution(int width, int height)''' 2332 def resolution(self): 2333 '''QSize QMediaResource.resolution()''' 2334 return QSize() 2335 def setVideoBitRate(self, rate): 2336 '''void QMediaResource.setVideoBitRate(int rate)''' 2337 def videoBitRate(self): 2338 '''int QMediaResource.videoBitRate()''' 2339 return int() 2340 def setChannelCount(self, channels): 2341 '''void QMediaResource.setChannelCount(int channels)''' 2342 def channelCount(self): 2343 '''int QMediaResource.channelCount()''' 2344 return int() 2345 def setSampleRate(self, frequency): 2346 '''void QMediaResource.setSampleRate(int frequency)''' 2347 def sampleRate(self): 2348 '''int QMediaResource.sampleRate()''' 2349 return int() 2350 def setAudioBitRate(self, rate): 2351 '''void QMediaResource.setAudioBitRate(int rate)''' 2352 def audioBitRate(self): 2353 '''int QMediaResource.audioBitRate()''' 2354 return int() 2355 def setDataSize(self, size): 2356 '''void QMediaResource.setDataSize(int size)''' 2357 def dataSize(self): 2358 '''int QMediaResource.dataSize()''' 2359 return int() 2360 def setVideoCodec(self, codec): 2361 '''void QMediaResource.setVideoCodec(str codec)''' 2362 def videoCodec(self): 2363 '''str QMediaResource.videoCodec()''' 2364 return str() 2365 def setAudioCodec(self, codec): 2366 '''void QMediaResource.setAudioCodec(str codec)''' 2367 def audioCodec(self): 2368 '''str QMediaResource.audioCodec()''' 2369 return str() 2370 def setLanguage(self, language): 2371 '''void QMediaResource.setLanguage(str language)''' 2372 def language(self): 2373 '''str QMediaResource.language()''' 2374 return str() 2375 def mimeType(self): 2376 '''str QMediaResource.mimeType()''' 2377 return str() 2378 def request(self): 2379 '''QNetworkRequest QMediaResource.request()''' 2380 return QNetworkRequest() 2381 def url(self): 2382 '''QUrl QMediaResource.url()''' 2383 return QUrl() 2384 def __ne__(self, other): 2385 '''bool QMediaResource.__ne__(QMediaResource other)''' 2386 return bool() 2387 def __eq__(self, other): 2388 '''bool QMediaResource.__eq__(QMediaResource other)''' 2389 return bool() 2390 def isNull(self): 2391 '''bool QMediaResource.isNull()''' 2392 return bool() 2393 2394 2395class QMediaService(QObject): 2396 """""" 2397 def __init__(self, parent): 2398 '''void QMediaService.__init__(QObject parent)''' 2399 def releaseControl(self, control): 2400 '''abstract void QMediaService.releaseControl(QMediaControl control)''' 2401 def requestControl(self, name): 2402 '''abstract QMediaControl QMediaService.requestControl(str name)''' 2403 return QMediaControl() 2404 2405 2406class QMediaTimeInterval(): 2407 """""" 2408 def __init__(self): 2409 '''void QMediaTimeInterval.__init__()''' 2410 def __init__(self, start, end): 2411 '''void QMediaTimeInterval.__init__(int start, int end)''' 2412 def __init__(self): 2413 '''QMediaTimeInterval QMediaTimeInterval.__init__()''' 2414 return QMediaTimeInterval() 2415 def __eq__(self): 2416 '''QMediaTimeInterval QMediaTimeInterval.__eq__()''' 2417 return QMediaTimeInterval() 2418 def __ne__(self): 2419 '''QMediaTimeInterval QMediaTimeInterval.__ne__()''' 2420 return QMediaTimeInterval() 2421 def translated(self, offset): 2422 '''QMediaTimeInterval QMediaTimeInterval.translated(int offset)''' 2423 return QMediaTimeInterval() 2424 def normalized(self): 2425 '''QMediaTimeInterval QMediaTimeInterval.normalized()''' 2426 return QMediaTimeInterval() 2427 def isNormal(self): 2428 '''bool QMediaTimeInterval.isNormal()''' 2429 return bool() 2430 def contains(self, time): 2431 '''bool QMediaTimeInterval.contains(int time)''' 2432 return bool() 2433 def end(self): 2434 '''int QMediaTimeInterval.end()''' 2435 return int() 2436 def start(self): 2437 '''int QMediaTimeInterval.start()''' 2438 return int() 2439 2440 2441class QMediaTimeRange(): 2442 """""" 2443 def __init__(self): 2444 '''void QMediaTimeRange.__init__()''' 2445 def __init__(self, start, end): 2446 '''void QMediaTimeRange.__init__(int start, int end)''' 2447 def __init__(self): 2448 '''QMediaTimeInterval QMediaTimeRange.__init__()''' 2449 return QMediaTimeInterval() 2450 def __init__(self, range): 2451 '''void QMediaTimeRange.__init__(QMediaTimeRange range)''' 2452 def __eq__(self): 2453 '''QMediaTimeRange QMediaTimeRange.__eq__()''' 2454 return QMediaTimeRange() 2455 def __ne__(self): 2456 '''QMediaTimeRange QMediaTimeRange.__ne__()''' 2457 return QMediaTimeRange() 2458 def __add__(self): 2459 '''QMediaTimeRange QMediaTimeRange.__add__()''' 2460 return QMediaTimeRange() 2461 def __sub__(self): 2462 '''QMediaTimeRange QMediaTimeRange.__sub__()''' 2463 return QMediaTimeRange() 2464 def clear(self): 2465 '''void QMediaTimeRange.clear()''' 2466 def __isub__(self): 2467 '''QMediaTimeRange QMediaTimeRange.__isub__()''' 2468 return QMediaTimeRange() 2469 def __isub__(self): 2470 '''QMediaTimeInterval QMediaTimeRange.__isub__()''' 2471 return QMediaTimeInterval() 2472 def __iadd__(self): 2473 '''QMediaTimeRange QMediaTimeRange.__iadd__()''' 2474 return QMediaTimeRange() 2475 def __iadd__(self): 2476 '''QMediaTimeInterval QMediaTimeRange.__iadd__()''' 2477 return QMediaTimeInterval() 2478 def removeTimeRange(self): 2479 '''QMediaTimeRange QMediaTimeRange.removeTimeRange()''' 2480 return QMediaTimeRange() 2481 def removeInterval(self, start, end): 2482 '''void QMediaTimeRange.removeInterval(int start, int end)''' 2483 def removeInterval(self, interval): 2484 '''void QMediaTimeRange.removeInterval(QMediaTimeInterval interval)''' 2485 def addTimeRange(self): 2486 '''QMediaTimeRange QMediaTimeRange.addTimeRange()''' 2487 return QMediaTimeRange() 2488 def addInterval(self, start, end): 2489 '''void QMediaTimeRange.addInterval(int start, int end)''' 2490 def addInterval(self, interval): 2491 '''void QMediaTimeRange.addInterval(QMediaTimeInterval interval)''' 2492 def contains(self, time): 2493 '''bool QMediaTimeRange.contains(int time)''' 2494 return bool() 2495 def isContinuous(self): 2496 '''bool QMediaTimeRange.isContinuous()''' 2497 return bool() 2498 def isEmpty(self): 2499 '''bool QMediaTimeRange.isEmpty()''' 2500 return bool() 2501 def intervals(self): 2502 '''list-of-QMediaTimeInterval QMediaTimeRange.intervals()''' 2503 return [QMediaTimeInterval()] 2504 def latestTime(self): 2505 '''int QMediaTimeRange.latestTime()''' 2506 return int() 2507 def earliestTime(self): 2508 '''int QMediaTimeRange.earliestTime()''' 2509 return int() 2510 2511 2512class QMultimedia(): 2513 """""" 2514 # Enum QMultimedia.AvailabilityStatus 2515 Available = 0 2516 ServiceMissing = 0 2517 Busy = 0 2518 ResourceError = 0 2519 2520 # Enum QMultimedia.EncodingMode 2521 ConstantQualityEncoding = 0 2522 ConstantBitRateEncoding = 0 2523 AverageBitRateEncoding = 0 2524 TwoPassEncoding = 0 2525 2526 # Enum QMultimedia.EncodingQuality 2527 VeryLowQuality = 0 2528 LowQuality = 0 2529 NormalQuality = 0 2530 HighQuality = 0 2531 VeryHighQuality = 0 2532 2533 # Enum QMultimedia.SupportEstimate 2534 NotSupported = 0 2535 MaybeSupported = 0 2536 ProbablySupported = 0 2537 PreferredService = 0 2538 2539 2540 2541class QRadioData(QObject, QMediaBindableInterface): 2542 """""" 2543 # Enum QRadioData.ProgramType 2544 Undefined = 0 2545 News = 0 2546 CurrentAffairs = 0 2547 Information = 0 2548 Sport = 0 2549 Education = 0 2550 Drama = 0 2551 Culture = 0 2552 Science = 0 2553 Varied = 0 2554 PopMusic = 0 2555 RockMusic = 0 2556 EasyListening = 0 2557 LightClassical = 0 2558 SeriousClassical = 0 2559 OtherMusic = 0 2560 Weather = 0 2561 Finance = 0 2562 ChildrensProgrammes = 0 2563 SocialAffairs = 0 2564 Religion = 0 2565 PhoneIn = 0 2566 Travel = 0 2567 Leisure = 0 2568 JazzMusic = 0 2569 CountryMusic = 0 2570 NationalMusic = 0 2571 OldiesMusic = 0 2572 FolkMusic = 0 2573 Documentary = 0 2574 AlarmTest = 0 2575 Alarm = 0 2576 Talk = 0 2577 ClassicRock = 0 2578 AdultHits = 0 2579 SoftRock = 0 2580 Top40 = 0 2581 Soft = 0 2582 Nostalgia = 0 2583 Classical = 0 2584 RhythmAndBlues = 0 2585 SoftRhythmAndBlues = 0 2586 Language = 0 2587 ReligiousMusic = 0 2588 ReligiousTalk = 0 2589 Personality = 0 2590 Public = 0 2591 College = 0 2592 2593 # Enum QRadioData.Error 2594 NoError = 0 2595 ResourceError = 0 2596 OpenError = 0 2597 OutOfRangeError = 0 2598 2599 def __init__(self, mediaObject, parent = None): 2600 '''void QRadioData.__init__(QMediaObject mediaObject, QObject parent = None)''' 2601 def setMediaObject(self): 2602 '''QMediaObject QRadioData.setMediaObject()''' 2603 return QMediaObject() 2604 alternativeFrequenciesEnabledChanged = pyqtSignal() # void alternativeFrequenciesEnabledChanged(bool) - signal 2605 radioTextChanged = pyqtSignal() # void radioTextChanged(QString) - signal 2606 stationNameChanged = pyqtSignal() # void stationNameChanged(QString) - signal 2607 programTypeNameChanged = pyqtSignal() # void programTypeNameChanged(QString) - signal 2608 programTypeChanged = pyqtSignal() # void programTypeChanged(QRadioData::ProgramType) - signal 2609 stationIdChanged = pyqtSignal() # void stationIdChanged(QString) - signal 2610 def setAlternativeFrequenciesEnabled(self, enabled): 2611 '''void QRadioData.setAlternativeFrequenciesEnabled(bool enabled)''' 2612 def errorString(self): 2613 '''str QRadioData.errorString()''' 2614 return str() 2615 def error(self): 2616 '''QRadioData.Error QRadioData.error()''' 2617 return QRadioData.Error() 2618 error = pyqtSignal() # void error(QRadioData::Error) - signal 2619 def isAlternativeFrequenciesEnabled(self): 2620 '''bool QRadioData.isAlternativeFrequenciesEnabled()''' 2621 return bool() 2622 def radioText(self): 2623 '''str QRadioData.radioText()''' 2624 return str() 2625 def stationName(self): 2626 '''str QRadioData.stationName()''' 2627 return str() 2628 def programTypeName(self): 2629 '''str QRadioData.programTypeName()''' 2630 return str() 2631 def programType(self): 2632 '''QRadioData.ProgramType QRadioData.programType()''' 2633 return QRadioData.ProgramType() 2634 def stationId(self): 2635 '''str QRadioData.stationId()''' 2636 return str() 2637 def availability(self): 2638 '''QMultimedia.AvailabilityStatus QRadioData.availability()''' 2639 return QMultimedia.AvailabilityStatus() 2640 def mediaObject(self): 2641 '''QMediaObject QRadioData.mediaObject()''' 2642 return QMediaObject() 2643 2644 2645class QRadioTuner(QMediaObject): 2646 """""" 2647 # Enum QRadioTuner.SearchMode 2648 SearchFast = 0 2649 SearchGetStationId = 0 2650 2651 # Enum QRadioTuner.StereoMode 2652 ForceStereo = 0 2653 ForceMono = 0 2654 Auto = 0 2655 2656 # Enum QRadioTuner.Error 2657 NoError = 0 2658 ResourceError = 0 2659 OpenError = 0 2660 OutOfRangeError = 0 2661 2662 # Enum QRadioTuner.Band 2663 AM = 0 2664 FM = 0 2665 SW = 0 2666 LW = 0 2667 FM2 = 0 2668 2669 # Enum QRadioTuner.State 2670 ActiveState = 0 2671 StoppedState = 0 2672 2673 def __init__(self, parent = None): 2674 '''void QRadioTuner.__init__(QObject parent = None)''' 2675 antennaConnectedChanged = pyqtSignal() # void antennaConnectedChanged(bool) - signal 2676 stationFound = pyqtSignal() # void stationFound(int,QString) - signal 2677 mutedChanged = pyqtSignal() # void mutedChanged(bool) - signal 2678 volumeChanged = pyqtSignal() # void volumeChanged(int) - signal 2679 signalStrengthChanged = pyqtSignal() # void signalStrengthChanged(int) - signal 2680 searchingChanged = pyqtSignal() # void searchingChanged(bool) - signal 2681 stereoStatusChanged = pyqtSignal() # void stereoStatusChanged(bool) - signal 2682 frequencyChanged = pyqtSignal() # void frequencyChanged(int) - signal 2683 bandChanged = pyqtSignal() # void bandChanged(QRadioTuner::Band) - signal 2684 stateChanged = pyqtSignal() # void stateChanged(QRadioTuner::State) - signal 2685 def stop(self): 2686 '''void QRadioTuner.stop()''' 2687 def start(self): 2688 '''void QRadioTuner.start()''' 2689 def setMuted(self, muted): 2690 '''void QRadioTuner.setMuted(bool muted)''' 2691 def setVolume(self, volume): 2692 '''void QRadioTuner.setVolume(int volume)''' 2693 def setFrequency(self, frequency): 2694 '''void QRadioTuner.setFrequency(int frequency)''' 2695 def setBand(self, band): 2696 '''void QRadioTuner.setBand(QRadioTuner.Band band)''' 2697 def cancelSearch(self): 2698 '''void QRadioTuner.cancelSearch()''' 2699 def searchAllStations(self, searchMode = None): 2700 '''void QRadioTuner.searchAllStations(QRadioTuner.SearchMode searchMode = QRadioTuner.SearchFast)''' 2701 def searchBackward(self): 2702 '''void QRadioTuner.searchBackward()''' 2703 def searchForward(self): 2704 '''void QRadioTuner.searchForward()''' 2705 def radioData(self): 2706 '''QRadioData QRadioTuner.radioData()''' 2707 return QRadioData() 2708 def errorString(self): 2709 '''str QRadioTuner.errorString()''' 2710 return str() 2711 def error(self): 2712 '''QRadioTuner.Error QRadioTuner.error()''' 2713 return QRadioTuner.Error() 2714 error = pyqtSignal() # void error(QRadioTuner::Error) - signal 2715 def isAntennaConnected(self): 2716 '''bool QRadioTuner.isAntennaConnected()''' 2717 return bool() 2718 def isSearching(self): 2719 '''bool QRadioTuner.isSearching()''' 2720 return bool() 2721 def isMuted(self): 2722 '''bool QRadioTuner.isMuted()''' 2723 return bool() 2724 def volume(self): 2725 '''int QRadioTuner.volume()''' 2726 return int() 2727 def signalStrength(self): 2728 '''int QRadioTuner.signalStrength()''' 2729 return int() 2730 def stereoMode(self): 2731 '''QRadioTuner.StereoMode QRadioTuner.stereoMode()''' 2732 return QRadioTuner.StereoMode() 2733 def setStereoMode(self, mode): 2734 '''void QRadioTuner.setStereoMode(QRadioTuner.StereoMode mode)''' 2735 def isStereo(self): 2736 '''bool QRadioTuner.isStereo()''' 2737 return bool() 2738 def frequencyRange(self, band): 2739 '''tuple-of-int-int QRadioTuner.frequencyRange(QRadioTuner.Band band)''' 2740 return tuple-of-int-int() 2741 def frequencyStep(self, band): 2742 '''int QRadioTuner.frequencyStep(QRadioTuner.Band band)''' 2743 return int() 2744 def frequency(self): 2745 '''int QRadioTuner.frequency()''' 2746 return int() 2747 def isBandSupported(self, b): 2748 '''bool QRadioTuner.isBandSupported(QRadioTuner.Band b)''' 2749 return bool() 2750 def band(self): 2751 '''QRadioTuner.Band QRadioTuner.band()''' 2752 return QRadioTuner.Band() 2753 def state(self): 2754 '''QRadioTuner.State QRadioTuner.state()''' 2755 return QRadioTuner.State() 2756 def availability(self): 2757 '''QMultimedia.AvailabilityStatus QRadioTuner.availability()''' 2758 return QMultimedia.AvailabilityStatus() 2759 2760 2761class QSound(QObject): 2762 """""" 2763 # Enum QSound.Loop 2764 Infinite = 0 2765 2766 def __init__(self, filename, parent = None): 2767 '''void QSound.__init__(str filename, QObject parent = None)''' 2768 def stop(self): 2769 '''void QSound.stop()''' 2770 def isFinished(self): 2771 '''bool QSound.isFinished()''' 2772 return bool() 2773 def fileName(self): 2774 '''str QSound.fileName()''' 2775 return str() 2776 def setLoops(self): 2777 '''int QSound.setLoops()''' 2778 return int() 2779 def loopsRemaining(self): 2780 '''int QSound.loopsRemaining()''' 2781 return int() 2782 def loops(self): 2783 '''int QSound.loops()''' 2784 return int() 2785 def play(self, filename): 2786 '''static void QSound.play(str filename)''' 2787 def play(self): 2788 '''void QSound.play()''' 2789 2790 2791class QSoundEffect(QObject): 2792 """""" 2793 # Enum QSoundEffect.Status 2794 Null = 0 2795 Loading = 0 2796 Ready = 0 2797 Error = 0 2798 2799 # Enum QSoundEffect.Loop 2800 Infinite = 0 2801 2802 def __init__(self, parent = None): 2803 '''void QSoundEffect.__init__(QObject parent = None)''' 2804 def stop(self): 2805 '''void QSoundEffect.stop()''' 2806 def play(self): 2807 '''void QSoundEffect.play()''' 2808 categoryChanged = pyqtSignal() # void categoryChanged() - signal 2809 statusChanged = pyqtSignal() # void statusChanged() - signal 2810 playingChanged = pyqtSignal() # void playingChanged() - signal 2811 loadedChanged = pyqtSignal() # void loadedChanged() - signal 2812 mutedChanged = pyqtSignal() # void mutedChanged() - signal 2813 volumeChanged = pyqtSignal() # void volumeChanged() - signal 2814 loopsRemainingChanged = pyqtSignal() # void loopsRemainingChanged() - signal 2815 loopCountChanged = pyqtSignal() # void loopCountChanged() - signal 2816 sourceChanged = pyqtSignal() # void sourceChanged() - signal 2817 def setCategory(self, category): 2818 '''void QSoundEffect.setCategory(str category)''' 2819 def category(self): 2820 '''str QSoundEffect.category()''' 2821 return str() 2822 def status(self): 2823 '''QSoundEffect.Status QSoundEffect.status()''' 2824 return QSoundEffect.Status() 2825 def isPlaying(self): 2826 '''bool QSoundEffect.isPlaying()''' 2827 return bool() 2828 def isLoaded(self): 2829 '''bool QSoundEffect.isLoaded()''' 2830 return bool() 2831 def setMuted(self, muted): 2832 '''void QSoundEffect.setMuted(bool muted)''' 2833 def isMuted(self): 2834 '''bool QSoundEffect.isMuted()''' 2835 return bool() 2836 def setVolume(self, volume): 2837 '''void QSoundEffect.setVolume(float volume)''' 2838 def volume(self): 2839 '''float QSoundEffect.volume()''' 2840 return float() 2841 def setLoopCount(self, loopCount): 2842 '''void QSoundEffect.setLoopCount(int loopCount)''' 2843 def loopsRemaining(self): 2844 '''int QSoundEffect.loopsRemaining()''' 2845 return int() 2846 def loopCount(self): 2847 '''int QSoundEffect.loopCount()''' 2848 return int() 2849 def setSource(self, url): 2850 '''void QSoundEffect.setSource(QUrl url)''' 2851 def source(self): 2852 '''QUrl QSoundEffect.source()''' 2853 return QUrl() 2854 def supportedMimeTypes(self): 2855 '''static list-of-str QSoundEffect.supportedMimeTypes()''' 2856 return [str()] 2857 2858 2859class QVideoFrame(): 2860 """""" 2861 # Enum QVideoFrame.PixelFormat 2862 Format_Invalid = 0 2863 Format_ARGB32 = 0 2864 Format_ARGB32_Premultiplied = 0 2865 Format_RGB32 = 0 2866 Format_RGB24 = 0 2867 Format_RGB565 = 0 2868 Format_RGB555 = 0 2869 Format_ARGB8565_Premultiplied = 0 2870 Format_BGRA32 = 0 2871 Format_BGRA32_Premultiplied = 0 2872 Format_BGR32 = 0 2873 Format_BGR24 = 0 2874 Format_BGR565 = 0 2875 Format_BGR555 = 0 2876 Format_BGRA5658_Premultiplied = 0 2877 Format_AYUV444 = 0 2878 Format_AYUV444_Premultiplied = 0 2879 Format_YUV444 = 0 2880 Format_YUV420P = 0 2881 Format_YV12 = 0 2882 Format_UYVY = 0 2883 Format_YUYV = 0 2884 Format_NV12 = 0 2885 Format_NV21 = 0 2886 Format_IMC1 = 0 2887 Format_IMC2 = 0 2888 Format_IMC3 = 0 2889 Format_IMC4 = 0 2890 Format_Y8 = 0 2891 Format_Y16 = 0 2892 Format_Jpeg = 0 2893 Format_CameraRaw = 0 2894 Format_AdobeDng = 0 2895 Format_User = 0 2896 2897 # Enum QVideoFrame.FieldType 2898 ProgressiveFrame = 0 2899 TopField = 0 2900 BottomField = 0 2901 InterlacedFrame = 0 2902 2903 def __init__(self): 2904 '''void QVideoFrame.__init__()''' 2905 def __init__(self, buffer, size, format): 2906 '''void QVideoFrame.__init__(QAbstractVideoBuffer buffer, QSize size, QVideoFrame.PixelFormat format)''' 2907 def __init__(self, bytes, size, bytesPerLine, format): 2908 '''void QVideoFrame.__init__(int bytes, QSize size, int bytesPerLine, QVideoFrame.PixelFormat format)''' 2909 def __init__(self, image): 2910 '''void QVideoFrame.__init__(QImage image)''' 2911 def __init__(self, other): 2912 '''void QVideoFrame.__init__(QVideoFrame other)''' 2913 def __ne__(self, other): 2914 '''bool QVideoFrame.__ne__(QVideoFrame other)''' 2915 return bool() 2916 def __eq__(self, other): 2917 '''bool QVideoFrame.__eq__(QVideoFrame other)''' 2918 return bool() 2919 def planeCount(self): 2920 '''int QVideoFrame.planeCount()''' 2921 return int() 2922 def setMetaData(self, key, value): 2923 '''void QVideoFrame.setMetaData(str key, QVariant value)''' 2924 def metaData(self, key): 2925 '''QVariant QVideoFrame.metaData(str key)''' 2926 return QVariant() 2927 def availableMetaData(self): 2928 '''dict-of-str-object QVideoFrame.availableMetaData()''' 2929 return {str():object()} 2930 def imageFormatFromPixelFormat(self, format): 2931 '''static QImage.Format QVideoFrame.imageFormatFromPixelFormat(QVideoFrame.PixelFormat format)''' 2932 return QImage.Format() 2933 def pixelFormatFromImageFormat(self, format): 2934 '''static QVideoFrame.PixelFormat QVideoFrame.pixelFormatFromImageFormat(QImage.Format format)''' 2935 return QVideoFrame.PixelFormat() 2936 def setEndTime(self, time): 2937 '''void QVideoFrame.setEndTime(int time)''' 2938 def endTime(self): 2939 '''int QVideoFrame.endTime()''' 2940 return int() 2941 def setStartTime(self, time): 2942 '''void QVideoFrame.setStartTime(int time)''' 2943 def startTime(self): 2944 '''int QVideoFrame.startTime()''' 2945 return int() 2946 def handle(self): 2947 '''QVariant QVideoFrame.handle()''' 2948 return QVariant() 2949 def mappedBytes(self): 2950 '''int QVideoFrame.mappedBytes()''' 2951 return int() 2952 def bits(self): 2953 '''sip.voidptr QVideoFrame.bits()''' 2954 return sip.voidptr() 2955 def bits(self, plane): 2956 '''sip.voidptr QVideoFrame.bits(int plane)''' 2957 return sip.voidptr() 2958 def bytesPerLine(self): 2959 '''int QVideoFrame.bytesPerLine()''' 2960 return int() 2961 def bytesPerLine(self, plane): 2962 '''int QVideoFrame.bytesPerLine(int plane)''' 2963 return int() 2964 def unmap(self): 2965 '''void QVideoFrame.unmap()''' 2966 def map(self, mode): 2967 '''bool QVideoFrame.map(QAbstractVideoBuffer.MapMode mode)''' 2968 return bool() 2969 def mapMode(self): 2970 '''QAbstractVideoBuffer.MapMode QVideoFrame.mapMode()''' 2971 return QAbstractVideoBuffer.MapMode() 2972 def isWritable(self): 2973 '''bool QVideoFrame.isWritable()''' 2974 return bool() 2975 def isReadable(self): 2976 '''bool QVideoFrame.isReadable()''' 2977 return bool() 2978 def isMapped(self): 2979 '''bool QVideoFrame.isMapped()''' 2980 return bool() 2981 def setFieldType(self): 2982 '''QVideoFrame.FieldType QVideoFrame.setFieldType()''' 2983 return QVideoFrame.FieldType() 2984 def fieldType(self): 2985 '''QVideoFrame.FieldType QVideoFrame.fieldType()''' 2986 return QVideoFrame.FieldType() 2987 def height(self): 2988 '''int QVideoFrame.height()''' 2989 return int() 2990 def width(self): 2991 '''int QVideoFrame.width()''' 2992 return int() 2993 def size(self): 2994 '''QSize QVideoFrame.size()''' 2995 return QSize() 2996 def handleType(self): 2997 '''QAbstractVideoBuffer.HandleType QVideoFrame.handleType()''' 2998 return QAbstractVideoBuffer.HandleType() 2999 def pixelFormat(self): 3000 '''QVideoFrame.PixelFormat QVideoFrame.pixelFormat()''' 3001 return QVideoFrame.PixelFormat() 3002 def isValid(self): 3003 '''bool QVideoFrame.isValid()''' 3004 return bool() 3005 3006 3007class QVideoProbe(QObject): 3008 """""" 3009 def __init__(self, parent = None): 3010 '''void QVideoProbe.__init__(QObject parent = None)''' 3011 flush = pyqtSignal() # void flush() - signal 3012 videoFrameProbed = pyqtSignal() # void videoFrameProbed(const QVideoFrameamp;) - signal 3013 def isActive(self): 3014 '''bool QVideoProbe.isActive()''' 3015 return bool() 3016 def setSource(self, source): 3017 '''bool QVideoProbe.setSource(QMediaObject source)''' 3018 return bool() 3019 def setSource(self, source): 3020 '''bool QVideoProbe.setSource(QMediaRecorder source)''' 3021 return bool() 3022 3023 3024class QVideoSurfaceFormat(): 3025 """""" 3026 # Enum QVideoSurfaceFormat.YCbCrColorSpace 3027 YCbCr_Undefined = 0 3028 YCbCr_BT601 = 0 3029 YCbCr_BT709 = 0 3030 YCbCr_xvYCC601 = 0 3031 YCbCr_xvYCC709 = 0 3032 YCbCr_JPEG = 0 3033 3034 # Enum QVideoSurfaceFormat.Direction 3035 TopToBottom = 0 3036 BottomToTop = 0 3037 3038 def __init__(self): 3039 '''void QVideoSurfaceFormat.__init__()''' 3040 def __init__(self, size, format, type = None): 3041 '''void QVideoSurfaceFormat.__init__(QSize size, QVideoFrame.PixelFormat format, QAbstractVideoBuffer.HandleType type = QAbstractVideoBuffer.NoHandle)''' 3042 def __init__(self, format): 3043 '''void QVideoSurfaceFormat.__init__(QVideoSurfaceFormat format)''' 3044 def setProperty(self, name, value): 3045 '''void QVideoSurfaceFormat.setProperty(str name, QVariant value)''' 3046 def property(self, name): 3047 '''QVariant QVideoSurfaceFormat.property(str name)''' 3048 return QVariant() 3049 def propertyNames(self): 3050 '''list-of-QByteArray QVideoSurfaceFormat.propertyNames()''' 3051 return [QByteArray()] 3052 def sizeHint(self): 3053 '''QSize QVideoSurfaceFormat.sizeHint()''' 3054 return QSize() 3055 def setYCbCrColorSpace(self, colorSpace): 3056 '''void QVideoSurfaceFormat.setYCbCrColorSpace(QVideoSurfaceFormat.YCbCrColorSpace colorSpace)''' 3057 def yCbCrColorSpace(self): 3058 '''QVideoSurfaceFormat.YCbCrColorSpace QVideoSurfaceFormat.yCbCrColorSpace()''' 3059 return QVideoSurfaceFormat.YCbCrColorSpace() 3060 def setPixelAspectRatio(self, ratio): 3061 '''void QVideoSurfaceFormat.setPixelAspectRatio(QSize ratio)''' 3062 def setPixelAspectRatio(self, width, height): 3063 '''void QVideoSurfaceFormat.setPixelAspectRatio(int width, int height)''' 3064 def pixelAspectRatio(self): 3065 '''QSize QVideoSurfaceFormat.pixelAspectRatio()''' 3066 return QSize() 3067 def setFrameRate(self, rate): 3068 '''void QVideoSurfaceFormat.setFrameRate(float rate)''' 3069 def frameRate(self): 3070 '''float QVideoSurfaceFormat.frameRate()''' 3071 return float() 3072 def setScanLineDirection(self, direction): 3073 '''void QVideoSurfaceFormat.setScanLineDirection(QVideoSurfaceFormat.Direction direction)''' 3074 def scanLineDirection(self): 3075 '''QVideoSurfaceFormat.Direction QVideoSurfaceFormat.scanLineDirection()''' 3076 return QVideoSurfaceFormat.Direction() 3077 def setViewport(self, viewport): 3078 '''void QVideoSurfaceFormat.setViewport(QRect viewport)''' 3079 def viewport(self): 3080 '''QRect QVideoSurfaceFormat.viewport()''' 3081 return QRect() 3082 def frameHeight(self): 3083 '''int QVideoSurfaceFormat.frameHeight()''' 3084 return int() 3085 def frameWidth(self): 3086 '''int QVideoSurfaceFormat.frameWidth()''' 3087 return int() 3088 def setFrameSize(self, size): 3089 '''void QVideoSurfaceFormat.setFrameSize(QSize size)''' 3090 def setFrameSize(self, width, height): 3091 '''void QVideoSurfaceFormat.setFrameSize(int width, int height)''' 3092 def frameSize(self): 3093 '''QSize QVideoSurfaceFormat.frameSize()''' 3094 return QSize() 3095 def handleType(self): 3096 '''QAbstractVideoBuffer.HandleType QVideoSurfaceFormat.handleType()''' 3097 return QAbstractVideoBuffer.HandleType() 3098 def pixelFormat(self): 3099 '''QVideoFrame.PixelFormat QVideoSurfaceFormat.pixelFormat()''' 3100 return QVideoFrame.PixelFormat() 3101 def isValid(self): 3102 '''bool QVideoSurfaceFormat.isValid()''' 3103 return bool() 3104 def __ne__(self, format): 3105 '''bool QVideoSurfaceFormat.__ne__(QVideoSurfaceFormat format)''' 3106 return bool() 3107 def __eq__(self, format): 3108 '''bool QVideoSurfaceFormat.__eq__(QVideoSurfaceFormat format)''' 3109 return bool() 3110 3111 3112