digiKam
DigikamGenericMjpegStreamPlugin::MjpegFrameOsd Class Reference

Public Member Functions

void insertMessageOsdToFrame (QImage &frame, const QSize &JPEGsize, const QString &mess)
 
void insertOsdToFrame (QImage &frame, const QUrl &url, const MjpegStreamSettings &settings)
 
 MjpegFrameOsd ()
 
void PopulateOSD (QImage &frame, const QUrl &url, const MjpegStreamSettings &settings)
 
void printComments (const QString &comments)
 
void printTags (QStringList &tags)
 
 ~MjpegFrameOsd ()
 

Public Attributes

QString m_desc
 
Qt::Alignment m_descAlign
 
QColor m_descBg
 
QFont m_descFnt
 
QPoint m_descPos
 

Constructor & Destructor Documentation

◆ MjpegFrameOsd()

DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::MjpegFrameOsd ( )
explicit

References m_descFnt.

◆ ~MjpegFrameOsd()

DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::~MjpegFrameOsd ( )

Member Function Documentation

◆ insertMessageOsdToFrame()

void DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::insertMessageOsdToFrame ( QImage &  frame,
const QSize &  JPEGsize,
const QString &  mess 
)

Insert message OSD on broken frame or end frame

◆ insertOsdToFrame()

void DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::insertOsdToFrame ( QImage &  frame,
const QUrl &  url,
const MjpegStreamSettings settings 
)

Insert OSD on frame.

References m_desc, m_descAlign, m_descBg, m_descFnt, m_descPos, and PopulateOSD().

◆ PopulateOSD()

void DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::PopulateOSD ( QImage &  frame,
const QUrl &  url,
const MjpegStreamSettings settings 
)

◆ printComments()

void DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::printComments ( const QString &  comments)

print comments

References m_desc.

Referenced by PopulateOSD().

◆ printTags()

void DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::printTags ( QStringList &  tags)

print tags

References m_desc.

Referenced by PopulateOSD().

Member Data Documentation

◆ m_desc

QString DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::m_desc

◆ m_descAlign

Qt::Alignment DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::m_descAlign

Referenced by insertOsdToFrame().

◆ m_descBg

QColor DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::m_descBg

Referenced by insertOsdToFrame().

◆ m_descFnt

QFont DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::m_descFnt

◆ m_descPos

QPoint DigikamGenericMjpegStreamPlugin::MjpegFrameOsd::m_descPos

Referenced by insertOsdToFrame().


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