MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
OneSubtitle Class Reference

Represents one subtitle record. More...

#include <mythccextractorplayer.h>

Collaboration diagram for OneSubtitle:
Collaboration graph
[legend]

Public Member Functions

 OneSubtitle ()=default
 

Public Attributes

int64_t m_startTime { 0 }
 Time we have to start showing subtitle, msec. More...
 
int m_length { -1 }
 Time we have to show subtitle, msec. More...
 
bool m_isText { true }
 Is this a text subtitle. More...
 
QStringList m_text
 Lines of text of subtitles. More...
 
QImage m_img
 Image of subtitle. More...
 
QPoint m_imgShift { 0,0 }
 Shift of image on the screen. More...
 

Static Public Attributes

static const int kDefaultLength = 750
 

Detailed Description

Represents one subtitle record.

Definition at line 29 of file mythccextractorplayer.h.

Constructor & Destructor Documentation

◆ OneSubtitle()

OneSubtitle::OneSubtitle ( )
default

Member Data Documentation

◆ m_startTime

int64_t OneSubtitle::m_startTime { 0 }

◆ m_length

int OneSubtitle::m_length { -1 }

◆ m_isText

bool OneSubtitle::m_isText { true }

Is this a text subtitle.

Definition at line 37 of file mythccextractorplayer.h.

◆ m_text

QStringList OneSubtitle::m_text

Lines of text of subtitles.

Definition at line 39 of file mythccextractorplayer.h.

Referenced by SRTWriter::AddSubtitle(), and MythCCExtractorPlayer::IngestSubtitle().

◆ m_img

QImage OneSubtitle::m_img

◆ m_imgShift

QPoint OneSubtitle::m_imgShift { 0,0 }

Shift of image on the screen.

Definition at line 43 of file mythccextractorplayer.h.

Referenced by MythCCExtractorPlayer::IngestDVBSubtitles().

◆ kDefaultLength

const int OneSubtitle::kDefaultLength = 750
static

The documentation for this class was generated from the following files: