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

Public Member Functions

 LabelGraphicsItem (QGraphicsItem *parent, int width=30, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignTop)
 
QString text () const
 
void setText (const QString &)
 
void setHtml (const QString &str)
 
QString croppedText () const
 
void setCrop (int width)
 
bool isCropped () const
 
int usedTextWidth () const
 
void setNoFocusOut ()
 
bool isFocusOut () const
 
void setAlignment (Qt::Alignment alignment)
 
- Public Member Functions inherited from inviwo::LabelGraphicsItemObservable
void notifyObserversChanged (LabelGraphicsItem *)
 
void notifyObserversEdited (LabelGraphicsItem *)
 
- Public Member Functions inherited from inviwo::Observable< LabelGraphicsItemObserver >
 Observable (const Observable< LabelGraphicsItemObserver > &other)
 
 Observable (Observable< LabelGraphicsItemObserver > &&other) noexcept
 
Observable< LabelGraphicsItemObserver > & operator= (const Observable< LabelGraphicsItemObserver > &other)
 
Observable< LabelGraphicsItemObserver > & operator= (Observable< LabelGraphicsItemObserver > &&other) noexcept
 
void addObserver (LabelGraphicsItemObserver *observer)
 
void removeObserver (LabelGraphicsItemObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 
- Public Member Functions inherited from inviwo::ObservableInterface

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *keyEvent) override
 
virtual void focusInEvent (QFocusEvent *event) override
 
virtual void focusOutEvent (QFocusEvent *event) override
 
void updatePosition ()
 
- Protected Member Functions inherited from inviwo::Observable< LabelGraphicsItemObserver >
void forEachObserver (C callback)
 
- Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 

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