SilentEye 0.4.1
Public Member Functions | Protected Attributes

SilentEyeFramework::Image Class Reference

Generic representation of image which can load and hide specific data according to it's format. More...

#include <image.h>

Inheritance diagram for SilentEyeFramework::Image:
SilentEyeFramework::Media SEFormatBMP::ImageBMP SEFormatJPEG::ImageJPEG SEFormatJPEG::ImageJPEG

List of all members.

Public Member Functions

 Image ()
 ~Image ()
 Image (const QString &filepath)
 Image (const QPixmap &pixmap, QString filePath="Pixmap")
 Image (const Image &img)
 Image (Image *img)
int imgWidth () const
int imgHeight () const
int quality () const

Protected Attributes

int m_width
 Image width.
int m_height
 Image height.
int m_quality
 Quality (in pourcent)

Detailed Description

Generic representation of image which can load and hide specific data according to it's format.

Definition at line 30 of file image.h.


Constructor & Destructor Documentation

SilentEyeFramework::Image::Image ( )
SilentEyeFramework::Image::~Image ( )

Definition at line 64 of file image.cpp.

SilentEyeFramework::Image::Image ( const QString &  filepath)

Definition at line 28 of file image.cpp.

References SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().

SilentEyeFramework::Image::Image ( const QPixmap &  pixmap,
QString  filePath = "Pixmap" 
)

Definition at line 37 of file image.cpp.

References SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().

SilentEyeFramework::Image::Image ( const Image img)
SilentEyeFramework::Image::Image ( Image img)

Member Function Documentation

int SilentEyeFramework::Image::imgHeight ( ) const
int SilentEyeFramework::Image::imgWidth ( ) const
int SilentEyeFramework::Image::quality ( ) const

Definition at line 79 of file image.cpp.

References m_quality.

Referenced by SilentEye::PropertyDialog::setMedia().


Member Data Documentation

Image height.

Definition at line 36 of file image.h.

Referenced by imgHeight().

Quality (in pourcent)

Reimplemented in SEFormatJPEG::ImageJPEG.

Definition at line 38 of file image.h.

Referenced by quality().

Image width.

Definition at line 34 of file image.h.

Referenced by imgWidth().


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