digiKam
Digikam::HotPixelProps Class Reference

Public Member Functions

bool fromString (const QString &str)
 
int height () const
 
bool operator== (const HotPixelProps &p) const
 
QString toString () const
 
int width () const
 
int x () const
 
int y () const
 

Static Public Member Functions

static QList< HotPixelPropsfromStringList (const QStringList &hplst)
 
static QStringList toStringList (const QList< HotPixelProps > &lst)
 

Public Attributes

int luminosity
 
QRect rect
 

Member Function Documentation

◆ fromString()

bool Digikam::HotPixelProps::fromString ( const QString &  str)

◆ fromStringList()

QList< HotPixelProps > Digikam::HotPixelProps::fromStringList ( const QStringList &  hplst)
static

◆ height()

int Digikam::HotPixelProps::height ( ) const

References rect.

Referenced by operator==().

◆ operator==()

bool Digikam::HotPixelProps::operator== ( const HotPixelProps p) const

NOTE:we can say they're same hotpixel spot if they touch (next to) each other horizontally or vertically, not diagonal corners

References height(), rect, width(), x(), and y().

◆ toString()

QString Digikam::HotPixelProps::toString ( ) const

◆ toStringList()

QStringList Digikam::HotPixelProps::toStringList ( const QList< HotPixelProps > &  lst)
static

◆ width()

int Digikam::HotPixelProps::width ( ) const

References rect.

Referenced by operator==().

◆ x()

int Digikam::HotPixelProps::x ( ) const

References rect.

Referenced by operator==().

◆ y()

int Digikam::HotPixelProps::y ( ) const

References rect.

Referenced by operator==().

Member Data Documentation

◆ luminosity

int Digikam::HotPixelProps::luminosity

Referenced by fromString(), and toString().

◆ rect

QRect Digikam::HotPixelProps::rect

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