digiKam
DigikamGenericHtmlGalleryPlugin::GalleryGenerator Class Reference
+ Inheritance diagram for DigikamGenericHtmlGalleryPlugin::GalleryGenerator:

Signals

void logWarningRequested (const QString &)
 

Public Member Functions

 GalleryGenerator (GalleryInfo *const)
 
bool run ()
 
void setProgressWidgets (DHistoryView *const, DProgressWdg *const)
 
bool warnings () const
 
 ~GalleryGenerator () override
 

Static Public Member Functions

static QString webifyFileName (const QString &)
 

Friends

class GalleryElementFunctor
 
class Private
 

Detailed Description

This class is responsible for generating the HTML and scaling the images according to the settings specified by the user.

Constructor & Destructor Documentation

◆ GalleryGenerator()

DigikamGenericHtmlGalleryPlugin::GalleryGenerator::GalleryGenerator ( GalleryInfo * const  info)
explicit

References logWarningRequested().

◆ ~GalleryGenerator()

DigikamGenericHtmlGalleryPlugin::GalleryGenerator::~GalleryGenerator ( )
override

Member Function Documentation

◆ logWarningRequested

void DigikamGenericHtmlGalleryPlugin::GalleryGenerator::logWarningRequested ( const QString &  )
signal

This signal is emitted from GalleryElementFunctor. It uses a QueuedConnection to switch between the GalleryElementFunctor thread and the gui thread.

Referenced by GalleryGenerator(), and DigikamGenericHtmlGalleryPlugin::GalleryElementFunctor::operator()().

◆ run()

bool DigikamGenericHtmlGalleryPlugin::GalleryGenerator::run ( )

◆ setProgressWidgets()

void DigikamGenericHtmlGalleryPlugin::GalleryGenerator::setProgressWidgets ( DHistoryView * const  pView,
DProgressWdg * const  pBar 
)

◆ warnings()

bool DigikamGenericHtmlGalleryPlugin::GalleryGenerator::warnings ( ) const

◆ webifyFileName()

QString DigikamGenericHtmlGalleryPlugin::GalleryGenerator::webifyFileName ( const QString &  fname)
static

Produce a web-friendly file name

Referenced by DigikamGenericHtmlGalleryPlugin::GalleryElementFunctor::operator()().

Friends And Related Function Documentation

◆ GalleryElementFunctor

friend class GalleryElementFunctor
friend

◆ Private

friend class Private
friend

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