digiKam
DigikamGenericPrintCreatorPlugin::AdvPrintPhoto Class Reference

Public Member Functions

 AdvPrintPhoto (const AdvPrintPhoto &other)
 
 AdvPrintPhoto (int thumbnailSize, DInfoInterface *const iface)
 
int height ()
 
DImg loadPhoto ()
 
double scaleHeight (double unitToInches)
 
double scaleWidth (double unitToInches)
 
QSize & size ()
 
DImgthumbnail ()
 
QTransform updateCropRegion (int woutlay, int houtlay, bool autoRotate)
 
int width ()
 
 ~AdvPrintPhoto ()
 

Public Attributes

int m_copies
 Number of copies while printing stage. More...
 
QRect m_cropRegion
 Region to crop while print from original image. More...
 
bool m_first
 To get first copy quickly. More...
 
DInfoInterfacem_iface
 
AdvPrintAdditionalInfom_pAddInfo
 
AdvPrintCaptionInfom_pAdvPrintCaptionInfo
 
int m_rotation
 Rotation angle in degrees. More...
 
int m_thumbnailSize
 Thumbnail size in pixels. More...
 
QUrl m_url
 Url of original image file. More...
 

Constructor & Destructor Documentation

◆ AdvPrintPhoto() [1/2]

DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::AdvPrintPhoto ( int  thumbnailSize,
DInfoInterface *const  iface 
)
explicit

◆ AdvPrintPhoto() [2/2]

DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::AdvPrintPhoto ( const AdvPrintPhoto other)

◆ ~AdvPrintPhoto()

DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::~AdvPrintPhoto ( )

Member Function Documentation

◆ height()

int DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::height ( )

References size().

Referenced by updateCropRegion().

◆ loadPhoto()

DImg DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::loadPhoto ( )

References m_url.

◆ scaleHeight()

double DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::scaleHeight ( double  unitToInches)

◆ scaleWidth()

double DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::scaleWidth ( double  unitToInches)

◆ size()

QSize & DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::size ( )

Referenced by height(), updateCropRegion(), and width().

◆ thumbnail()

DImg & DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::thumbnail ( )

Referenced by updateCropRegion().

◆ updateCropRegion()

QTransform DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::updateCropRegion ( int  woutlay,
int  houtlay,
bool  autoRotate 
)

◆ width()

int DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::width ( )

References size().

Referenced by updateCropRegion().

Member Data Documentation

◆ m_copies

int DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_copies

Number of copies while printing stage.

◆ m_cropRegion

QRect DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_cropRegion

Region to crop while print from original image.

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintWizard::previewPhotos(), and updateCropRegion().

◆ m_first

bool DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_first

To get first copy quickly.

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintWizard::setItemsList().

◆ m_iface

DInfoInterface* DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_iface

◆ m_pAddInfo

AdvPrintAdditionalInfo* DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_pAddInfo

Referenced by AdvPrintPhoto(), and ~AdvPrintPhoto().

◆ m_pAdvPrintCaptionInfo

◆ m_rotation

int DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_rotation

◆ m_thumbnailSize

int DigikamGenericPrintCreatorPlugin::AdvPrintPhoto::m_thumbnailSize

Thumbnail size in pixels.

◆ m_url


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