Interval#

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtMultimedia.QMediaTimeRange.Interval#

PySide6.QtMultimedia.QMediaTimeRange.Interval(start, end)

Parameters:
  • start – int

  • end – int

PySide6.QtMultimedia.QMediaTimeRange.Interval.contains(time)#
Parameters:

time – int

Return type:

bool

PySide6.QtMultimedia.QMediaTimeRange.Interval.end()#
Return type:

int

PySide6.QtMultimedia.QMediaTimeRange.Interval.isNormal()#
Return type:

bool

PySide6.QtMultimedia.QMediaTimeRange.Interval.normalized()#
Return type:

PySide6.QtMultimedia.QMediaTimeRange.Interval

PySide6.QtMultimedia.QMediaTimeRange.Interval.__ne__(rhs)#
Parameters:

rhsPySide6.QtMultimedia.QMediaTimeRange.Interval

Return type:

bool

PySide6.QtMultimedia.QMediaTimeRange.Interval.__eq__(rhs)#
Parameters:

rhsPySide6.QtMultimedia.QMediaTimeRange.Interval

Return type:

bool

PySide6.QtMultimedia.QMediaTimeRange.Interval.start()#
Return type:

int

PySide6.QtMultimedia.QMediaTimeRange.Interval.translated(offset)#
Parameters:

offset – int

Return type:

PySide6.QtMultimedia.QMediaTimeRange.Interval