digiKam
Digikam::ThumbnailSize Class Reference

Public Types

enum  Size {
  Step = 8 , Tiny = 32 , VerySmall = 64 , MediumSmall = 80 ,
  Small = 100 , Medium = 142 , Large = 160 , Huge = 256 ,
  HD = 512 , MAX = 1024
}
 

Public Member Functions

bool operator!= (const ThumbnailSize &thumbsize) const
 
ThumbnailSizeoperator= (const ThumbnailSize &thumbsize)
 
bool operator== (const ThumbnailSize &thumbsize) const
 
int size () const
 
 ThumbnailSize ()
 
 ThumbnailSize (const ThumbnailSize &thumbsize)
 
 ThumbnailSize (int size)
 
 ~ThumbnailSize ()
 

Static Public Member Functions

static bool getUseLargeThumbs ()
 
static int maxThumbsSize ()
 
static void readSettings (const KConfigGroup &group)
 
static void saveSettings (KConfigGroup &group, bool val)
 
static void setUseLargeThumbs (bool val)
 

Member Enumeration Documentation

◆ Size

Enumerator
Step 
Tiny 
VerySmall 
MediumSmall 
Small 

Most usable small size of thumbnails to prevent overloaded overlays show under thumbs (as Pick label and Group indicator) See bugs #321337 and #275381 for details.

Medium 
Large 
Huge 
HD 
MAX 

Constructor & Destructor Documentation

◆ ThumbnailSize() [1/3]

Digikam::ThumbnailSize::ThumbnailSize ( )

References Medium.

◆ ThumbnailSize() [2/3]

Digikam::ThumbnailSize::ThumbnailSize ( int  size)
explicit

References size().

◆ ThumbnailSize() [3/3]

Digikam::ThumbnailSize::ThumbnailSize ( const ThumbnailSize thumbsize)

◆ ~ThumbnailSize()

Digikam::ThumbnailSize::~ThumbnailSize ( )

Member Function Documentation

◆ getUseLargeThumbs()

bool Digikam::ThumbnailSize::getUseLargeThumbs ( )
static

◆ maxThumbsSize()

◆ operator!=()

bool Digikam::ThumbnailSize::operator!= ( const ThumbnailSize thumbsize) const

◆ operator=()

ThumbnailSize & Digikam::ThumbnailSize::operator= ( const ThumbnailSize thumbsize)

◆ operator==()

bool Digikam::ThumbnailSize::operator== ( const ThumbnailSize thumbsize) const

◆ readSettings()

void Digikam::ThumbnailSize::readSettings ( const KConfigGroup &  group)
static

References setUseLargeThumbs().

◆ saveSettings()

void Digikam::ThumbnailSize::saveSettings ( KConfigGroup &  group,
bool  val 
)
static

◆ setUseLargeThumbs()

void Digikam::ThumbnailSize::setUseLargeThumbs ( bool  val)
static

Referenced by readSettings().

◆ size()


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