MythTV  master
Classes | Typedefs | Enumerations
galleryviews.h File Reference

Provides view datastores for Gallery screens. More...

#include <utility>
#include "libmythmetadata/imagemanager.h"
Include dependency graph for galleryviews.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MarkedFiles
 A container of images/dirs that have been marked. More...
 
class  MenuSubjects
 A snapshot of current selection, markings & dir info when menu is invoked. More...
 
class  FileCacheEntry
 Records info of displayed image files to enable clean-up of the UI image cache. More...
 
class  FlatView
 A datastore of images for display by a screen. More...
 
class  DirCacheEntry
 Records dir info for every displayed dir. More...
 
class  DirectoryView
 A datastore of images for display by a screen. Provides an ordered list of dirs & images from a single directory, as required by a Thumbnail view. Permits marking of items and populates dir thumbnails from their subtree. More...
 
class  TreeView
 A datastore of images for display by a screen. Provides an ordered list of images (no dirs) from a directory subtree. Default ordering is a depth-first traversal of the tree. More...
 

Typedefs

using WeightList = QVector< double >
 Seasonal weightings for images in a view. More...
 

Enumerations

enum  SlideOrderType : std::uint8_t { kOrdered = 0, kShuffle = 1, kRandom = 2, kSeasonal = 3 }
 Order of images in slideshow. More...
 

Detailed Description

Provides view datastores for Gallery screens.

Manages lists of images and directories that constitute the items displayed by Thumbnail & Slideshow screens. A view populates itself from the database, manages its own ordering, selections and marked items, and provides iterators for navigation. Also provides the image details overlay.

Definition in file galleryviews.h.

Typedef Documentation

◆ WeightList

using WeightList = QVector<double>

Seasonal weightings for images in a view.

Definition at line 30 of file galleryviews.h.

Enumeration Type Documentation

◆ SlideOrderType

enum SlideOrderType : std::uint8_t

Order of images in slideshow.

Enumerator
kOrdered 

Ordered as per user setting GallerySortOrder.

kShuffle 

Each image appears exactly once, but in random order.

kRandom 

Random selection from view. An image may be absent or appear multiple times.

kSeasonal 

Biased random selection so that images are more likely to appear on anniversaries.

Definition at line 21 of file galleryviews.h.