digiKam
Loading...
Searching...
No Matches
Digikam::ThumbnailLoadThread::Private Class Reference

#include <thumbnailloadthread_p.h>

Public Member Functions

bool checkDescription (const LoadingDescription &description)
 
LoadingDescription createLoadingDescription (const ThumbnailIdentifier &identifier, int size, bool setLastDescription=true)
 
LoadingDescription createLoadingDescription (const ThumbnailIdentifier &identifier, int size, const QRect &detailRect, bool setLastDescription=true)
 
bool hasHighlightingBorder () const
 
QList< LoadingDescriptionmakeDescriptions (const QList< QPair< ThumbnailIdentifier, QRect > > &idsAndRects, int size)
 
QList< LoadingDescriptionmakeDescriptions (const QList< ThumbnailIdentifier > &identifiers, int size)
 
int pixmapSizeForThumbnailSize (int thumbnailSize) const
 
 Private ()=default
 
int thumbnailSizeForPixmapSize (int pixmapSize) const
 

Public Attributes

QHash< QString, ThumbnailResultcollectedResults
 
ThumbnailCreatorcreator = nullptr
 
bool highlight = true
 
QList< LoadingDescriptionlastDescriptions
 
bool notifiedForResults = false
 
QMutex resultsMutex
 
bool sendSurrogate = true
 
int size = ThumbnailSize::maxThumbsSize()
 
bool wantPixmap = true
 

Constructor & Destructor Documentation

◆ Private()

Digikam::ThumbnailLoadThread::Private::Private ( )
default

Member Function Documentation

◆ checkDescription()

bool Digikam::ThumbnailLoadThread::Private::checkDescription ( const LoadingDescription description)

◆ createLoadingDescription() [1/2]

◆ createLoadingDescription() [2/2]

◆ hasHighlightingBorder()

bool Digikam::ThumbnailLoadThread::Private::hasHighlightingBorder ( ) const

References highlight, and size.

◆ makeDescriptions() [1/2]

◆ makeDescriptions() [2/2]

◆ pixmapSizeForThumbnailSize()

int Digikam::ThumbnailLoadThread::Private::pixmapSizeForThumbnailSize ( int  thumbnailSize) const

◆ thumbnailSizeForPixmapSize()

int Digikam::ThumbnailLoadThread::Private::thumbnailSizeForPixmapSize ( int  pixmapSize) const

Member Data Documentation

◆ collectedResults

QHash<QString, ThumbnailResult> Digikam::ThumbnailLoadThread::Private::collectedResults

◆ creator

◆ highlight

bool Digikam::ThumbnailLoadThread::Private::highlight = true

◆ lastDescriptions

QList<LoadingDescription> Digikam::ThumbnailLoadThread::Private::lastDescriptions

◆ notifiedForResults

bool Digikam::ThumbnailLoadThread::Private::notifiedForResults = false

◆ resultsMutex

QMutex Digikam::ThumbnailLoadThread::Private::resultsMutex

◆ sendSurrogate

bool Digikam::ThumbnailLoadThread::Private::sendSurrogate = true

◆ size

◆ wantPixmap

bool Digikam::ThumbnailLoadThread::Private::wantPixmap = true

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