Krita Source Code Documentation
Loading...
Searching...
No Matches
ThumbnailData Class Reference

This class is a simple combination of two QVariants. It can be converted to and from QVariant type and is used in StoryboardModel. More...

#include <StoryboardItem.h>

Public Member Functions

 ThumbnailData ()
 
 ThumbnailData (const ThumbnailData &other)
 
 ~ThumbnailData ()
 

Public Attributes

QVariant frameNum
 the frame number corresponding to this item in the timeline docker
 
QVariant pixmap
 a scaled down thumbnail version of the frame
 

Detailed Description

This class is a simple combination of two QVariants. It can be converted to and from QVariant type and is used in StoryboardModel.

Definition at line 74 of file StoryboardItem.h.

Constructor & Destructor Documentation

◆ ThumbnailData() [1/2]

ThumbnailData::ThumbnailData ( )
inline

Definition at line 77 of file StoryboardItem.h.

78 : frameNum("")
79 , pixmap(QPixmap())
80 {}
QVariant frameNum
the frame number corresponding to this item in the timeline docker
QVariant pixmap
a scaled down thumbnail version of the frame

◆ ThumbnailData() [2/2]

ThumbnailData::ThumbnailData ( const ThumbnailData & other)
inline

Definition at line 81 of file StoryboardItem.h.

82 : frameNum(other.frameNum)
83 , pixmap(other.pixmap)
84 {}

◆ ~ThumbnailData()

ThumbnailData::~ThumbnailData ( )
inline

Definition at line 85 of file StoryboardItem.h.

86 {}

Member Data Documentation

◆ frameNum

QVariant ThumbnailData::frameNum

the frame number corresponding to this item in the timeline docker

Definition at line 92 of file StoryboardItem.h.

◆ pixmap

QVariant ThumbnailData::pixmap

a scaled down thumbnail version of the frame

Definition at line 97 of file StoryboardItem.h.


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