Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorErrorItem Class Reference
+ Inheritance diagram for inviwo::ProcessorErrorItem:

Public Types

enum  { Type = static_cast<int>(UserType) + static_cast<int>(ProcessorErrorItemType) }
 

Public Member Functions

 ProcessorErrorItem (QGraphicsItem *parent)
 
virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
void setText (std::string_view error)
 
void clear ()
 
void setActive (bool active)
 
QString text () const
 
void mousePressEvent (QGraphicsSceneMouseEvent *e) override
 
virtual int type () const override
 

Static Public Attributes

static constexpr QPointF offset {3.0f, -3.0f}
 

Protected Member Functions

virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 

Protected Attributes

QGraphicsSimpleTextItem * text_
 
QGraphicsLineItem * line_
 
bool hasError_
 
bool active_
 
bool pressing_
 

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