Inheritance diagram for Scenario::CommentBlockView:

Public Member Functions

 CommentBlockView (CommentBlockPresenter &presenter, QGraphicsItem *parent)
 
int type () const final override
 
const CommentBlockPresenterpresenter () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
QRectF boundingRect () const override
 
void setHtmlContent (QString htmlText)
 
void setSelected (bool)
 

Static Public Attributes

static constexpr const int Type = ItemType::Comment
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *evt) override
 

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