MythTV  master
Public Member Functions | Private Member Functions | List of all members
FormattedTextSubtitleSRT Class Reference

#include <subtitlescreen.h>

Inheritance diagram for FormattedTextSubtitleSRT:
Inheritance graph
Collaboration diagram for FormattedTextSubtitleSRT:
Collaboration graph

Public Member Functions

 FormattedTextSubtitleSRT (const QString &base, const QRect &safearea, uint64_t start, uint64_t duration, SubtitleScreen *p, const QStringList &subs)
void WrapLongLines (void) override
- Public Member Functions inherited from FormattedTextSubtitle
virtual ~FormattedTextSubtitle ()=default
virtual void Layout (void)
virtual void PreRender (void)
virtual void Draw (void)
virtual int CacheNum (void) const
QStringList ToSRT (void) const

Private Member Functions

void Init (const QStringList &subs)

Additional Inherited Members

- Protected Member Functions inherited from FormattedTextSubtitle
 FormattedTextSubtitle (QString base, const QRect &safearea, uint64_t start, uint64_t duration, SubtitleScreen *p)
 FormattedTextSubtitle (void)=default
- Protected Attributes inherited from FormattedTextSubtitle
QString m_base
QVector< FormattedTextLinem_lines
const QRect m_safeArea
uint64_t m_start {0}
uint64_t m_duration {0}
SubtitleScreenm_subScreen {nullptr}
int m_xAnchorPoint {0}
int m_yAnchorPoint {0}
int m_xAnchor {0}
int m_yAnchor {0}
QRect m_bounds

Detailed Description

Definition at line 109 of file subtitlescreen.h.

Constructor & Destructor Documentation

◆ FormattedTextSubtitleSRT()

FormattedTextSubtitleSRT::FormattedTextSubtitleSRT ( const QString &  base,
const QRect &  safearea,
uint64_t  start,
uint64_t  duration,
SubtitleScreen p,
const QStringList &  subs 

Definition at line 112 of file subtitlescreen.h.

Member Function Documentation

◆ WrapLongLines()

void FormattedTextSubtitleSRT::WrapLongLines ( void  )

Reimplemented from FormattedTextSubtitle.

Definition at line 1077 of file subtitlescreen.cpp.

◆ Init()

void FormattedTextSubtitleSRT::Init ( const QStringList &  subs)

Definition at line 972 of file subtitlescreen.cpp.

Referenced by FormattedTextSubtitleSRT().

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