Krita Source Code Documentation
Loading...
Searching...
No Matches
CommentBox 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

 CommentBox ()
 
 CommentBox (const CommentBox &other)
 
 ~CommentBox ()
 

Public Attributes

QVariant content
 the text content of the Comment
 
QVariant scrollValue
 the value of the scroll bar of the comment scrollbar
 

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.

This model manages the comment data of StoryboardModel. It enables addition, deletion and modification of comments in the Comments menu of the storyboard docker.

Definition at line 43 of file StoryboardItem.h.

Constructor & Destructor Documentation

◆ CommentBox() [1/2]

CommentBox::CommentBox ( )
inline

Definition at line 46 of file StoryboardItem.h.

47 : content("")
48 , scrollValue(0)
49 {}
QVariant scrollValue
the value of the scroll bar of the comment scrollbar
QVariant content
the text content of the Comment

◆ CommentBox() [2/2]

CommentBox::CommentBox ( const CommentBox & other)
inline

Definition at line 50 of file StoryboardItem.h.

51 : content(other.content)
53 {}

◆ ~CommentBox()

CommentBox::~CommentBox ( )
inline

Definition at line 54 of file StoryboardItem.h.

55 {}

Member Data Documentation

◆ content

QVariant CommentBox::content

the text content of the Comment

Definition at line 60 of file StoryboardItem.h.

◆ scrollValue

QVariant CommentBox::scrollValue

the value of the scroll bar of the comment scrollbar

Definition at line 64 of file StoryboardItem.h.


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