![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| QString | croppedText () const |
| bool | isCropped () const |
| bool | isFocusOut () const |
| LabelGraphicsItem (QGraphicsItem *parent, int width=30, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignTop) | |
| void | setAlignment (Qt::Alignment alignment) |
| void | setCrop (int width) |
| void | setHtml (const QString &str) |
| void | setNoFocusOut () |
| void | setText (const QString &) |
| QString | text () const |
| int | usedTextWidth () const |
| Public Member Functions inherited from inviwo::LabelGraphicsItemObservable | |
| void | notifyObserversChanged (LabelGraphicsItem *) |
| void | notifyObserversEdited (LabelGraphicsItem *) |
| Public Member Functions inherited from inviwo::Observable< LabelGraphicsItemObserver > | |
| void | addObserver (LabelGraphicsItemObserver *observer) |
| bool | isObservedBy (LabelGraphicsItemObserver *observer) const |
| Observable< LabelGraphicsItemObserver > & | operator= (const Observable< LabelGraphicsItemObserver > &other) |
| void | removeObserver (LabelGraphicsItemObserver *observer) |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
Protected Member Functions | |
| virtual void | focusInEvent (QFocusEvent *event) override |
| virtual void | focusOutEvent (QFocusEvent *event) override |
| virtual void | keyPressEvent (QKeyEvent *keyEvent) 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) |
| virtual void | addObserver (Observer *observer)=0 |
| void | removeObservationHelper (Observer *observer) |
| virtual void | removeObserver (Observer *observer)=0 |